[Samba] Samba LDAP Tools and mkntpwd

Craig White craigwhite at azapple.com
Fri Dec 2 22:17:43 GMT 2005


On Sat, 2005-12-03 at 09:10 +1100, Andrew Bartlett wrote:
> 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.
----
my experiences with perl is that this is never a given.

;-)

Craig



More information about the samba mailing list