[Samba] password sync issues

Rowland Penny rpenny at samba.org
Mon Oct 24 13:33:25 UTC 2016


On Mon, 24 Oct 2016 18:31:09 +0530 (IST)
Arun Gupta via samba <samba at lists.samba.org> wrote:

> 
> Hi,
> 
> I have configured 2 ldap tree, one for unix account (ou=User) (below
> is sample ldif)
> 
> 
> dn: uid=2011150,ou=User,dc=acer,dc=in
> empID: 2011150
> username: test1
> cn: test1
> centre: PN
> objectClass: inetOrgPerson
> objectClass: posixAccount
> objectClass: top
> objectClass: shadowAccount
> oldempid: 1150
> mail: test1 at acer.in
> givenName: test1
> uid: 2011150
> shadowLastChange: 15590
> loginShell: /bin/bash
> uidNumber: 11150
> gidNumber: 11150
> homeDirectory: /mbox4.2/test1
> userPassword: {SHA}1SrgdEGUPa/U6KM43Kq9xTgnI7A=
> 
> 
> and another for samba tree (ou=samba) - (below is sample tree)
> 
> dn: uid=test1,ou=samba,dc=acer,dc=in
> uid: test1
> sambaSID: S-1-5-21-4079184197-2446238136-3299756537-1005
> displayName: test1
> sambaAcctFlags: [UX         ]
> objectClass: sambaSamAccount
> objectClass: account
> sambaLMPassword: C2F63206FC9CF08A1AA818381E4E281B
> sambaNTPassword: 0242A7FEC5CD294F916925766089E573
> 
> and I am able to authenticate with samba configuration. But I am not
> able to find out how the password will sync means if user change his
> password then how NT password will reflect (here two different tree).
> Is it possible to sync, if yes please please help me out.
> 
> 
> 

They will not sync, you can get Samba to sync an ldap user with a user
in /etc/passwd, but I am fairly sure what you are trying to do, will
not work.

Is this a new set up ?

Rowland



More information about the samba mailing list