[Samba] Migrate NT domain 4 to samba

Ivan Ordonez iordonez at nature.berkeley.edu
Wed Mar 22 19:54:53 GMT 2006

I have been following the Chapter 9 on Samba -3 by example book on "How to 
Migrate NT 4 domain to samba 3" and not having any luck at all.  Somehow 
the vampire command will not work and give me an error:

Fetching DOMAIN database
Failed to fetch domain database: NT_STATUS_ACCESS_DENIED

What I want to accomplish is to remove Windows NT 4.0 server as PDC and 
make Samba our Primary Domain Controller.

Also, I'm not sure if I have tdbsam setup correctly.  How do you set it up 
correctly?  is there a command I should run or should I just edit smb.conf 
file and add tdbsam?  please see below for my smb.conf configuration.

# Global parameters
         workgroup = MyDomain
         netbios name = rock
         server string = rock (Samba %v)
         security = domain
         interfaces =  eth0
         encrypt passwords = yes
         passdb backend = tdbsam:/var/lib/samba/private/passdb.tdb
         passdb expand explicit = no
         log file = /usr/local/var/log/log.smb
         max log size = 50
         dns proxy = No
         wins server =
         name resolve order = wins host lmhosts
         ldap ssl = no
         log level = 5 passdb:5 auth:10 winbind:2
         syslog = 3
         domain master = no
         domain logons = no

I send an email to this list yesterday abd I thought I should email back to 
remind everyone.  I am a total newbie and would like much help is 
possible.  Thank you in advance.

FYI:  As it stand, I have samba as our member server only and using it to 
host filesharing.  Our users login to the domain using domain accounts.

More information about the samba mailing list