[Samba] whats the diffrence between sambaNTPassword and
steuwer at univention.de
Wed May 30 10:59:37 GMT 2007
Am Mittwoch, 30. Mai 2007 08:25 schrieb ml at bortal.de:
> Hello List,
> whats the diffrence of sambaNTPassword and userPassword?
I assume you are using LDAP as backend?
sambaLMPassword and sambaNTPassword are the Hashes samba uses (for its LM and
NT Hash), userPassword is used for ldapbind or nss_ldap and can contain for
example SHA, MD5 or CRYPT hashes.
> I guess they have a diffrent hash, but why?
Samba needs NT/LM hashes for communication with windows while not every POSIX
client may use them as userpassword.
Same is true for values like password or account expirience dates.
> And do they both get updated if the user changes his password?
Depends on your setup, you may use PAM and samba scripts as described in
common Samba/LDAP-Howtos. There are example-Scripts in the samba-distribution
which may help, too.
> Thanks, Mario
Ingo Steuwer Projektmanagement steuwer at univention.de
Univention GmbH Linux for your Business fon: +49 421 22 232-43
Mary-Somerville-Str.1 28359 Bremen fax: +49 421 22 232-99
More information about the samba