SOLVED! [Samba] PDC and BDC with LDAP and Samba 2.2.4

Yannick Tousignant ytousignant at oka-info.com
Wed Jun 5 13:14:02 GMT 2002


No it didn't work simply by copying the secrets.tdb file
because this file contain also the name of the current
server (that shouldn't be the same on the bdc).

And yes, both servers are running on the same subnet
and the bdc takes over immediatly if i unplug the network
cable of the pdc...


Yannick



> -----Original Message-----
> From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
> Behalf Of Gerald Carter
> Sent: Wednesday, June 05, 2002 4:05 PM
> To: Yannick Tousignant
> Cc: samba at samba.org
> Subject: RE: SOLVED! [Samba] PDC and BDC with LDAP and Samba 2.2.4
> 
> 
> On Wed, 5 Jun 2002, Yannick Tousignant wrote:
> 
> > 
> > It's me again, with the solution to my problems.
> > 
> > To get a working BDC, you have to kill samba, delete your
> > secrets.tdb, create a MACHINE.SID and then restart samba. You
> > will have to do this on the PDC and the BDC to have the same
> > SID the the secrets.tdb file. Then machine account are valid
> > even if you move your PDC, or you add a 2nd BDC, as long as you
> > create the MACHINE.SID file before the first startup of samba.
> > Don't forget, the MACHINE.SID file have to be the same on all
> > domain controlers or machine account will be invalid.
> > 
> > And ho, backup your MACHINE.SID file, samba deletes it when
> > it convert the file to secrets.tdb!
> 
> So this did not work by simply copying secrets.tdb from 
> the PDC to the BDC?
> 
> 
> 
> 
> 
> 
> 
> cheers, jerry
>  ---------------------------------------------------------------------
>  Hewlett-Packard                                     http://www.hp.com
>  SAMBA Team                                       http://www.samba.org
>  --                                            http://www.plainjoe.org
>  "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
>  --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 




More information about the samba mailing list