On 12/06/14 13:55, Benjamin Rocton wrote:
> I have two LDAP:
> One that contains all users and facts for the information system. Not
> only information for DC. _It is not____specified____or
> controlled____by me_, I only need to use the information it contains
> to create the right users in my domain.
> Another for samba3, with samba3 scheme. it will disappear when samba4
> will be in production. Currently it is synchronized with the first
> LDAP through LDAP scripts homemade.I would like to reproduce this
> behavior with samba4.
>
>
OK, you are extracting users and their associated info from one LDAP and
using this to create users on another LDAP, which works for you.
You are now trying to upgrade to samba4 AD and having problems
extracting clear text passwords from your first LDAP machine, I think
that the only way that this is going to work is by actually 'cracking'
the user passwords!!!
I think that in this instance, you need to forget using samba4 in AD
mode and just set it up as your original S3 machine was.
I do not know how the passwords are stored on the LDAP you are trying to
extract them from, it could be SSHA or similar, but AD stores them as
unicode encrypted and they are, I believe, stored in 'write-only'
attributes.
Rowland