Transfering passwords from Unix to NT

Bjart Kvarme bjart.kvarme at
Tue Jan 27 08:43:49 GMT 1998

At 11:16 27.01.98 +1100, Paul Warren wrote: 
>From: "SI-Gaetan Boudreau" <boudreg at IRCM.UMontreal.CA>
>Message-Id: <980126162714.ZM11846 at si04.IRCM.UMontreal.CA>
>Date: Mon, 26 Jan 1998 16:27:13 -0400
>To: samba at
>Subject: Transfering passwords from Unix to NT

>What is the best way to transfer the password file from Unix to NT.
>Let's say we have Samba running with security=server and encrypted=yes 
>and the encrypted passwords are in the smbpasswd file. The 
>authentication server is a Unix machine.
>If we want to add an NT server (PDC) on the network and make it 
>authenticate with "password server = NTmachine", is there a way to 
>transfer all the users passwords from smbpasswd on the Unix machine to 
>the SAM on the NT machine.

Correct me if I'm wrong (as I have not actually tested the program as
but won't "pwload" write the encrypted username and password from the
file straight into the registry?

Anyone like to comment further on this suggestion?

You have to apply a cut/awk command on smbpasswd first to select the
correct fields. 


Anyone got a compiled copy of this utility I can test...?  :) 


You can pick up a compiled copy with source code from:


- Bjart

More information about the samba mailing list