[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: changing samba and ldap password at the same time

On Wednesday, 2 December 2009 11:09:55 Marc Mertes wrote:
> Hi everybody,
> I have a small question.
> I have here a samba domain authenticating with ldap.
> If I now change the password for the regular LDAP user, it would be fine
> if the samba password would be changed at the same time. Can I do that
> with ldappasswd as well, and if yes, which parameters I need?
> Or do I still need smbpasswd to change it?
> It would be great to do that 2in1 like..

If you enable the smbk5pwd overlay, and you change passwords using the LDAP 
password mod extended operation (ldappasswd does this, pam _ldap can be 
configured to do so), the slapd will change the samba password for you.