Joining BDC (Samba) to PDC (Samba)
Chris Tooley
ctooley at amoa.org
Fri Nov 30 17:54:03 GMT 2001
I use Checkservice (you can find it on Freshmeat) to do port checking
for Samba availability. You'd want to add some more logic to wait 2
minutes and try again as I've had instances of the thing failing to
connect and paging me, the trying again and connecting just fine.
It has some other nice features, like a sms_client tyin an the ability
to launch a command on failure that would be useful for knowing that
your BDC was taking over.
Chris Tooley
Chris Tooley
On Fri, 2001-11-30 at 16:15, Jeremy Allison wrote:
> On Fri, Nov 30, 2001 at 07:03:24PM -0300, Ariel Mella wrote:
> > Jerry:
> > > Yes, but not using "security = domain". Both Samba PDC & BDC are
> > > configured as as PDC with "security = user". The difference
> > > is that the BDC has "domain master= no". Then synchronize
> > > the UNIX uids, smbpasswd, [netlogon], & secrets.tdb files.
> > > PS: use rsync over ssh for the file sync.
> > you solution looks very well. i think that only needs some kind of port
> > sentry to look for the 137-139 ports running in the PDC machine.. and when
> > this ports goes down automatically change "domain master = no" for "domain
> > master = yes" in smb.conf..
> > if this is right, maybe a script or official doc could be included to
> > dissapear the *ghost* of no BDC support under samba.
>
> That's a good idea. Any sample scripts out there we
> can include ?
>
> Jeremy.
>
> --
> 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