ldap password sync with samba and unix user account
Hello
I setup openldap and samba on 9.10. The ubuntu desktop client gets authenticated successfully with the server. But when I do a passwd on the client, only the ldap passwd is getting changed but not in the samba and the unix user account. My smb.conf Code:
passdb backend = ldapsam:ldap://192.168.3.100 Enter login(LDAP) password: New password: Re-enter new password: LDAP password information changed for username passwd: password updated successfully But only the ldap password is getting changed and not in the samba and unix user account. I tried unix password sync = yes but same result. Am I missing something? Thanks |
can some one pls help me out on this?
|
This is pretty logical as you are only changing the ldap password with passwd. Passwd doesn't read the samba configuration.
Try to use smbpasswd, that will probably work. |
Tried with smbpasswd and unix passwd sync yes (in smb.conf) still the same result. But when I type smbpasswd from the terminal (on server) the password is getting changed for both samba and unix account. Do I need to change the passwd chat script in smb.conf?
Where I can see the logs for these password changes? /var/log/samba/log* does not seem to have logged any password changes. Any ideas? |
I think you have too many references in your config and I am not sure if they can overrule each other.
|
All times are GMT -5. The time now is 05:41 AM. |