Password sychronize between Samba & Linux
As Samba & LDAP are using difference password storing scheme, their password value cannot be share even store on the LDAP. There are several ways to synchronize them, as following only point out one of the possible ways.
- In smb.conf,
ldap passwd sync = yes
When samba change password of the user, it will update the LDAP password, too.
- In cn=config of the LDAP,
olcPasswordCryptSaltFormat: %.2s
This made LDAP store userPassword in {CRYPT} forward instead of {SSHA}, since most application in Slackware use {CRYPT}.
- Use smbldap-passwd in smbldap package to update user password