Hi fellow Samba Admin. 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. Is it easier to migrate from clear text password ? Because we are still in that mode for now. Which brings another question. Is there a way, other than having each user set is encrypted password with the command "smbpasswd", to switch from clear password to encrypted mode ? Is storing the passwords in smbpasswd mean that the user can have a different password for Unix and SMB ? Thank you for your time. -- ===================================================Gaetan Boudreau, ing/P.Eng. Administrateur de reseau/Network Administrator IRCM (Institut de recherches cliniques de Montreal/ Clinical Research Institute of Montreal) tel: 514-987-5563 fax: 514-987-5644 Internet E-Mail: Gaetan_Boudreau@IRCM.UMontreal.CA Internet Web Site: http://www.ircm.umontreal.ca
At 11:16 27.01.98 +1100, Paul Warren wrote:>>>> >From: "SI-Gaetan Boudreau" <boudreg@IRCM.UMontreal.CA> >Message-Id: <980126162714.ZM11846@si04.IRCM.UMontreal.CA> >Date: Mon, 26 Jan 1998 16:27:13 -0400 >To: samba@samba.anu.edu.au >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 yet...!), but won't "pwload" write the encrypted username and password from the smbpasswd 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: ftp://sunsite.uio.no/pub/win-nt/sam/pwload.zip>>>>- Bjart