[Samba] how do i tell winbind to use PAM

M Azer azermina at gmail.com
Thu Jan 4 22:20:24 GMT 2007


quick question how do i tell winbind to use PAM to authenticate user against
03 AD?


vi /etc/pam.d/samba
#%PAM-1.0
auth       required     pam_nologin.so
auth       required     pam_stack.so service=system-auth
auth       required     pam_winbind.so
account    required     pam_winbind.so
account    required     pam_stack.so service=system-auth
session    required     pam_mkhomedir.so skel=/etc/samba/skel umask=0022
session    required     pam_stack.so service=system-auth
password   required     pam_stack.so service=system-auth

smb.conf
[global]
        workgroup = CAD
        netbios name = itbox
        security = DOMAIN
        encrypt passwords = yes
        winbind separator = +
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        winbind enum users = yes
        winbind enum groups = yes
        winbind use default domain = yes
[homes]
        comment = Home Directories
        valid users = %S
        read only = No
        browseable = No


More information about the samba mailing list