Monday, September 08, 2003
after much messing around, I belive these are the best step for getting the admin account going when migrating from an NT 4 to a Samba PDC domain.
1) dump the accounts database from the NT PDC using pwdump2.exe.
2) put the contents of the dump into /etc/samba/smbpasswd
3) open smbpasswd, remove the adminstrator entry (which might be listed as Adminstrator, creating case problems too)
4) add a domain admin with this command
smbadduser root:administrator
5) open /etc/samba/smbusers
make sure the entry for root doesn't have any aliases for administrator"
root = adminstrator
6) check smb.conf to make sure the user add script parameter is pointed to the correct useradd command on your system. A lot of the current samba documentation assume a Redhat machine where useradd is in /usr/bin. But it's in /usr/sbin on 7.3.
1) dump the accounts database from the NT PDC using pwdump2.exe.
2) put the contents of the dump into /etc/samba/smbpasswd
3) open smbpasswd, remove the adminstrator entry (which might be listed as Adminstrator, creating case problems too)
4) add a domain admin with this command
smbadduser root:administrator
5) open /etc/samba/smbusers
make sure the entry for root doesn't have any aliases for administrator"
root = adminstrator
6) check smb.conf to make sure the user add script parameter is pointed to the correct useradd command on your system. A lot of the current samba documentation assume a Redhat machine where useradd is in /usr/bin. But it's in /usr/sbin on 7.3.