[Samba] Samba LDAP Tools and mkntpwd

Andrew Bartlett abartlet at samba.org
Fri Dec 2 22:10:12 GMT 2005


On Fri, 2005-12-02 at 13:53 -0700, Craig White wrote:
> On Fri, 2005-12-02 at 15:43 -0500, Collins, Kevin wrote:
> > I'm in the middle of Samba 3.0.9 ==> 3.0.14a migration testing.  Because I'm using newer tools, I am also using a newer verions of the Samba LDAP Tools.
> > 
> > My older version, 0.8.4, used the 'mkntpwd' utility to generate NT passwords.  The new version, 0.9.1 defaults to using (what looks like) a Perl module called Crypt::SmbHash.
> > 
> > My questions: Do I need to continue to use mkntpwd?  Will I need to reset all the passwords for my users if I move to Crypt::SmbHash?  Or will it "just work" if I leave the defaults alone?
> ----
> I think that an smb hashed password is going to be an smb hashed
> password regardless of the tool used to create it. Otherwise, how could
> the Windows user log in?

Yes.  One is a perl port of the C routines, while the older mkntwpd is
just that particular C file compiled standalone.

If the perl code does the unicode translation right, it might even be
more accurate for non-ASCII.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20051203/b9201089/attachment.bin


More information about the samba mailing list