ml@bortal.de
2007-May-30 06:47 UTC
[Samba] whats the diffrence between sambaNTPassword and userPassword
Hello List, whats the diffrence of sambaNTPassword and userPassword? I guess they have a diffrent hash, but why? And do they both get updated if the user changes his password? Thanks, Mario
Adam Tauno Williams
2007-May-30 10:46 UTC
[Samba] whats the diffrence between sambaNTPassword and userPassword
> whats the diffrence of sambaNTPassword and userPassword?One is the CIFS NT hash the other is the traditional UNIX hash.> I guess they have a diffrent hash, but why?History> And do they both get updated if the user changes his password?Depends on how you configure the server. This issue is extremely well documented. -- Adam Tauno Williams, Network & Systems Administrator Consultant - http://www.whitemiceconsulting.com Developer - http://www.opengroupware.org
Ingo Steuwer
2007-May-30 11:00 UTC
[Samba] whats the diffrence between sambaNTPassword and userPassword
Am Mittwoch, 30. Mai 2007 08:25 schrieb ml@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, MarioRegards Ingo Steuwer -- Ingo Steuwer Projektmanagement steuwer@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 http://www.univention.de