No subject


Mon Dec 1 12:27:21 GMT 2003


auth       required     /lib/security/pam_securetty.so
auth       required     /lib/security/pam_stack.so service=system-auth
auth       required     /lib/security/pam_nologin.so
account    required     /lib/security/pam_stack.so service=system-auth
password   required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_stack.so service=system-auth
session    optional     /lib/security/pam_console.so


/etc/pam.d/system-auth

#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth        required      /lib/security/pam_env.so
auth        sufficient    /lib/security/pam_unix.so likeauth nullok
auth        required      /lib/security/pam_deny.so

account     required      /lib/security/pam_unix.so

password    required      /lib/security/pam_cracklib.so retry=3
password    sufficient    /lib/security/pam_unix.so nullok use_authtok
md5 shadow

password    required      /lib/security/pam_deny.so

session     required      /lib/security/pam_limits.so
session     required      /lib/security/pam_unix.so


/etc/pam.d/samba
#%PAM-1.0
auth       required     pam_nologin.so
auth       required     pam_stack.so service=system-auth
account    required     pam_stack.so service=system-auth
session    required     pam_stack.so service=system-auth
password   required     pam_stack.so service=system-auth


/etc/samba/smb.conf

# Samba config file created using SWAT
# Global parameters
[global]
        workgroup = GPREP
        netbios name = leonardo
        server string = leonardo the lionhearted
        interfaces = 172.16.0.2/16
        winbind uid=10000-20000
        winbind gid=10000-20000
        winbind cache time = 15
        winbind enum users = yes
        winbind enum groups = no
        winbind separator= +
# from server to domain
        security = domain
        password server = GOETHE
        log level = 3
        log file = /var/log/samba/log.%e
        max log size = 50
        socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096
SO_RCVBUF=4096
        
	os level = 33
        local master = No
        wins proxy = Yes
        wins server = 172.16.0.4
        getwd cache = yes
        follow symlinks = no
        wide links = no
#       template homedir = /home/%U
        obey pam restrictions = yes
        encrypt passwords = yes
#        smb passwd file=/etc/smbpasswd


[homes]
        comment = Home Directories
        read only = No
        create mask = 0700
        directory mask = 0700
        browseable = No





Thanks
Jon Church





More information about the samba mailing list