From: Gaiseric Vandal on
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!!
>
>
>

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Hubert Choma on
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 ??

Please help

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


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba