[Samba] password sync issues

Arun Gupta arung at cdac.in
Mon Oct 24 13:01:09 UTC 2016


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.



-- 

Thanks & Regards,

Arun Kumar Gupta

-------------------------------------------------------------------------------------------------------------------------------
[ C-DAC is on Social-Media too. Kindly follow us at:
Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------




More information about the samba mailing list