11.5. Migrating to a Samba Primary Domain Controller from an NT4 PDC
Problem
Microsoft's support for Windows NT4 ended December 31, 2004. You have an NT4 domain controller or controllers, and are wondering what to do next—keep them? Upgrade to Windows 2003 with Active Directory, which is expensive, has a learning curve, and probably means buying new computers as well? Find something else entirely?
Solution
Find something else entirely—a nice Linux system running Samba 3 makes a dandy drop-in NT4 PDC replacement. Your users will never know the difference, except perhaps in better performance.
Follow these steps:
Do some housecleaning first—get rid of unused and duplicate accounts on the NT4 PDC.
Make a Backup Domain Controller (BDC) account for Samba using NT Server Manager.
Configure Samba.
Join the Samba BDC to your NT4 domain.
Migrate user and machine accounts.
Shut down the NT4 domain controller.
Promote Samba to a PDC.
This is a simple /etc/samba/smb.conf
designed just for migration from NT4. The workgroup name is the existing domain
name—do not change it! The netbios
name can be anything you want, and you must use the real IP of your
WINS server:
[global] workgroup = reddomain netbios name = samba11 passdb backend = tdbsam security = user domain master = No domain logons = Yes os level = 33 add user script = /usr/sbin/useradd -m '%u' delete user script = /usr/sbin/userdel -r '%u' add group script = /usr/sbin/groupadd '%g' delete group script = /usr/sbin/groupdel '%g' add user to group ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access