Am Mittwoch, 30. Mai 2007 08:25 schrieb [EMAIL PROTECTED]:
> 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

Regards
Ingo Steuwer

-- 
Ingo Steuwer           Projektmanagement        [EMAIL PROTECTED]
Univention GmbH        Linux for your Business  fon: +49 421 22 232-43
Mary-Somerville-Str.1  28359 Bremen             fax: +49 421 22 232-99
                       http://www.univention.de
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to