[PATCH] Set password from nt-hash .Useful to sync password from OpenLdap.

Arvid Requate requate at univention.de
Thu Oct 8 15:50:22 UTC 2015


Hello,

Thursday, 08/0/2015, 12:17:55 Alberto Maria Fiaschi wrote:
> Il 08/10/2015 01:51, Jeremy Allison ha scritto:
> > I'm not 100% convinced of the utility of updating
> > directly the NT-hash. What exactly is your use-case
> > here ?
> 
> My company need to keep openldap as the main usersrepository (historical
> and closed proprietary software reasons) .
> I have to keep passwords synchronized between openldap and samba4
>   Alberto

We are doing this as well in our product Univention Corporate Server.
Stefan Metzmacher helped us in 2010 to achieve this by implementing a 
dedicated LDAP control. See attached script for an example.

Cheers,
Arvid

-- 
Arvid Requate
Open Source Software Engineer

Univention GmbH
be open.
Mary-Somerville-Str.1
28359 Bremen
Tel. : +49 421 22232-52
Fax : +49 421 22232-99

requate at univention.de
http://www.univention.de

Geschäftsführer: Peter H. Ganten
HRB 20755 Amtsgericht Bremen
Steuer-Nr.: 71-597-02876
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldb_modify_unicodePwd.py
Type: text/x-python
Size: 1384 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20151008/ca8347f8/ldb_modify_unicodePwd.py>


More information about the samba-technical mailing list