samba4 pasword change from external app

Michael Ströder michael at
Tue Aug 11 06:41:21 MDT 2009

Tine Mezgec wrote:
> I was wondering what's the proper way for an external service to change a
> password that is stored in an openldap backend for s4.
> Can I just compute the hash (how?) for unicodePwd and put it in s4s
> openldap or is there a better way to do it?

If you access the LDAP port served by smbd you should be able to do the same
LDAP operations like described in this MSDN knowledge base article:

If not, then it's a bug in Samba4.

Ciao, Michael.

Michael Ströder
E-Mail: michael at

More information about the samba-technical mailing list