Re: [Samba] Samba LDAP Tools and mkntpwd

2005-12-02 Thread Craig White
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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba LDAP Tools and mkntpwd

2005-12-02 Thread Andrew Bartlett
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 Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Samba LDAP Tools and mkntpwd

2005-12-02 Thread Craig White
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?

Craig

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba