[Samba] Sync unixUserPassword from AD Password

Andrew Martin amartin at xes-inc.com
Tue Sep 16 15:25:42 MDT 2014

----- Original Message -----
> From: "Rowland Penny" <rowlandpenny at googlemail.com>
> To: samba at lists.samba.org
> Sent: Tuesday, September 16, 2014 2:01:21 PM
> Subject: Re: [Samba] Sync unixUserPassword from AD Password
> On 16/09/14 19:35, Andrew Martin wrote:
> > The method I have to use is option 2 on that page (Kerberos + LDAP). For
> > this
> > server, winbind is not an option. This blog post describes how Microsoft AD
> > handles populating this attribute, with this "Password Sync" component:
> > http://blogs.technet.com/b/sfu/archive/2010/01/08/using-unixuserpassword-attribute-properly.aspx
> >
> > How can I populate this field with Samba4?
> You are going to have to write your own script around an ldif and use
> ldbmodify to add it to your users.


I can do that, but I don't know what the contents of the unixUserPassword field
should be. Does anyone know which encryption algorithm is used to generate the
contents of this field?



More information about the samba mailing list