Rogério Carlos
2002-Feb-27 11:21 UTC
[Samba] transfer users and password form win NTto linux fileserver
Hi people! I?m a fireman from S?o Paulo Fire Dapartment (Brasil) and I?m encharged to give support to the Computer System of the headquarter. We have for about 500 users connected in a fileserver running Red Hat 7.2, but we are authenticating the users using another machine running win NT. I would like to turn off the win NT but I don?t known how getting the users and passwords from the win NT and transfer them to the smbpasswd. Could you give me some help to transfer the users and passwords to the fileserver running Samba to retire the win NT password checker? I will be very happy for any help. Rog?rio
Mac
2002-Feb-28 08:06 UTC
[Samba] transfer users and password form win NTto linux fileserver
Hi,>From: =?iso-8859-1?Q?Rog=E9rio_Carlos?= <rogerioc@polmil.sp.gov.br> >To: <samba@lists.samba.org> >Subject: [Samba] transfer users and password form win NTto linux fileserver >Date: Wed, 27 Feb 2030 16:17:56 -0300 > >Hi people! >I?m a fireman from S?o Paulo Fire Dapartment (Brasil) and I?m encharged to >give support to the Computer System of the headquarter. >We have for about 500 users connected in a fileserver running Red Hat 7.2, >but we are authenticating the users using another machine running win NT. I >would like to turn off the win NT but I don?t known how getting the users >and passwords from the win NT and transfer them to the smbpasswd. >Could you give me some help to transfer the users and passwords to the >fileserver running Samba to retire the win NT password checker? >I will be very happy for any help.You need pwdump. It's not part of Samba's source (I think), but you can get it from:- ftp://ftp.samba.org/pub/samba/pwdump/ and it'll do exactly what you're after. Take all the passwords from your NT box and make a 'smbpasswd' file from them. Mac Assistant Systems Adminstrator @nibsc.ac.uk dmccann@nibsc.ac.uk Work: +44 1707 654753 x285 Everything else: +44 7956 237670 (anytime)
Rogério Carlos
2002-Feb-28 09:34 UTC
[Samba] transfer users and password form win NTto linux fileserver
Hi again people!!! About the pwdump.exe, I?ve downloaded it from Samba FTP before asking for help of the list, using as the instructions of the site.During the tests, running the command "pwdump > smbpasswd" , I received some error messages: -as the user administrador (administrator in portuguese, because our Win NT is in portuguese language) I receive the following message: you must be logged as the administrator to do this -as the user administrator (created and inserted in administration group), I receive the following message: ("get_sid: LookupAccountName for size on name Administrator failed. Error was: couldn?t make the mapping of the accounts and the security passwords"). No way to make it works!! I don?t know how to solve the problem. I?ve put the pwdump.exe in the same directory of the SAM file in Win NT. Any help will be very welcome. Thank you!! (Sorry about the errors. I don?t speak english very well becouse here we speak portuguese) Rog?rio ---- Original Message ----- From: "Matthews, John" <JMatthews@LIO.AACISD.com> To: "'Rog?rio Carlos'" <rogerioc@polmil.sp.gov.br> Sent: Wednesday, February 27, 2002 5:59 PM Subject: RE: [Samba] transfer users and password form win NTto linux fileserver> I only know a little about this, but I read about a program that was > available from the samba web site that is an executable to run underwindows> nt. It was supposed to be able to grab all the passwords and make a > smbpasswd file for use in linux. Sorry I can't remember the name.