[Samba] migration of PDC tdbsam backend to BDC - failed to fetch domain database
hubert.ch at wp.pl
Mon Jun 28 01:37:16 MDT 2010
Samba PDC Version 3.0.28a-1.fc7
Samba on BDC 3.0.33-3.28.el5
What means an error ?
Fetching DOMAIN database
FAILED to fetch domain database: NT code 0x1c010002
I thought that if samba is NT4 domain "emulator" tools of migration are
the same .
So what are the methods of tdbsam migration ?
Am I only copy smb.conf and all .tdb files from /var/lib/samba/private
or whole /var/lib/samba/ ??
I don't want to re-adding again windows clients to domain.
If I copy .tdb files (passdb.tdb, schannel_store.tdb, secrets.tdb
smbpasswd)from /var/lib/samba/private domain sid will not change ?
In official how-to there is no information how to migrate samba from samba
serwer to new samba serwer, (only nt4 domain to samba).
Where can I find information about it ??
Gaiseric Vandal <gaiseric.vandal <at> gmail.com> writes:
> What version of samba?
> The "vampire" command can be used to pull account info from an NT4
> server into a Samba 3.x domain. I am not sure if it can be used against
> a Samba 3.x server. I could be wrong. Samba 4 would be a different
> You may be able to copy the samba private and samba locks directories
> over from PDC to BDC instead.
> On 06/25/2010 09:19 AM, Hubert Choma wrote:
> > Hello
> > According to NT4 Migration Using tdbsam Backend
> > http://samba.org/samba/docs/man/Samba-Guide/ntmigration.html#id2604610 I
> > would like to transfer PDC settings (users,groups sids) to BDC and later
> > make from BDC PDC machine.
> > I have Fedora Core 7 PDC(hostname serwer) and Centos 5.4 BDC (hostname
> > serwer2) both on tdbsam backends.
> > I have copied smb.conf, passwd,group,shadow,secrets.tdb files from FC7
> > to centos 5.4
> > I have changed smb.conf on Centos BDC :
> > -domain master =no
> > -netbios name = serwer2
> > all rest settings are the same like on smb.conf from PDC.
> > From BDC I'm executing commands: (PDC IP 10.10.10.1)
> > net rpc join -I 10.10.10.1 -W geodezja -U root
> > Joined domain GEODEZJA
> > but when I would like to vampire accounts
> > net rpc vampire -I 10.10.10.1 -U root
> > I have receive error:
> > Fetching DOMAIN database
> > FAILED to fetch domain database: NT code 0x1c010002
More information about the samba