[Samba] migration of PDC tdbsam backend to BDC - failed to fetch domain database

Gaiseric Vandal gaiseric.vandal at gmail.com
Fri Jun 25 07:39:04 MDT 2010


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 
situation.

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
>
>
> in /var/log/messages on PDC i have receive :
>
> "Jun 25 15:16:33 localhost smbd[8657]: [2010/06/25 15:16:33, 0]
> rpc_server/srv_netlog_nt.c:_net_auth_2(478)
> Jun 25 15:16:33 localhost smbd[8657]:   _net_auth2: creds_server_check
> failed. Rejecting auth request from client SERWER2 machine account
> SERWER2$
> Jun 25 15:16:33 localhost smbd[8657]: [2010/06/25 15:16:33, 0]
> rpc_server/srv_netlog_nt.c:_net_auth_2(478)
> Jun 25 15:16:33 localhost smbd[8657]:   _net_auth2: creds_server_check
> failed. Rejecting auth request from client SERWER2 machine account
> SERWER2$
> "
>
> What am I doing wrong ???
>
> PLEASE HELP!!
>
>
>    



More information about the samba mailing list