8237528c4a
use start/stop samba-control to start/stop them all You can enable syncing samba passwords when using passwd as well now. However you still have to add a user to the samba user database once using smbpasswd -a username. svn path=/nixos/branches/modular-nixos/; revision=15218
13 lines
626 B
Text
13 lines
626 B
Text
@isLDAPEnabled@ auth sufficient @pam_ldap@/lib/security/pam_ldap.so
|
|
auth sufficient @pam_unix2@/lib/security/pam_unix2.so
|
|
auth required pam_deny.so
|
|
|
|
@isLDAPEnabled@ account optional @pam_ldap@/lib/security/pam_ldap.so
|
|
account required @pam_unix2@/lib/security/pam_unix2.so
|
|
|
|
@isLDAPEnabled@ password sufficient @pam_ldap@/lib/security/pam_ldap.so
|
|
password requisite @pam_unix2@/lib/security/pam_unix2.so nullok
|
|
@syncSambaPasswords@
|
|
|
|
@isLDAPEnabled@ session optional @pam_ldap@/lib/security/pam_ldap.so
|
|
session required @pam_unix2@/lib/security/pam_unix2.so
|