[Samba] LDAP master-slave and BDC ?

Mark Sarria mes4294 at lausd.k12.ca.us
Fri May 20 16:54:26 GMT 2005

The BDC pretty much gets the same treatment as the PDC. Meaning I would have
to set-it up like an LDAP server?

Can I just copy my smb.conf from my LDAP server, and make a few adjustments?
What would those changes or what should I look for to change in my BDC
smb.conf configuration?


-----Original Message-----
From: samba-bounces+mes4294=lausd.k12.ca.us at lists.samba.org
[mailto:samba-bounces+mes4294=lausd.k12.ca.us at lists.samba.org] On Behalf Of
John H Terpstra
Sent: Thursday, May 19, 2005 8:10 PM
To: samba at lists.samba.org; Msdigital
Subject: Re: [Samba] LDAP master-slave and BDC ?

On Thursday 19 May 2005 20:04, Msdigital wrote:
> I am a bit confused, about the LDAP master-slave and BDC. I have an
> Samba-LDAP server that serves as my PDC. All my users authenticate to this
> server. I would like to set up a BDC for failover. What is the difference
> between a BDC and a LDAP Slave server?

A BDC is a NT4 domain controller that handles network logon authentication.
A Samba BDC will relay all network account updates to a PDC. Only the PDC
write to the passdb backend. A BDC will read authentication data from the 
passdb backend it is configured to use.

A Slave LDAP server is a read-only mirror of an LDAP Master server. A PDC 
would normally be directed at a Master LDAP server, but can work with a
LDAP server. If a PDC is configured to use a Slave LDAP server all write 
requests to the directory will be handled via a referral to the Master LDAP 
server. In other words, all write requests are handled by the Master LDAP 

It does not matter whether a BDC uses a Master or a Slave LDAP server - it 
only ever reads directory information from it.

What do you mean by fail-over? A BDC can handle network logon requests, but
can never replace a PDC. In other words, the PDC is still the weakest link. 
If a PDC is off the air for a prolonged outage the network will eventually 

> Second part.
> Does anyone on this list have this type of configuration, PDC-BDC or
> Master/Slave and can help do the same?

Please refer to the book: "Samba-3 by Example" Chapters 5 and 6. You can 
obtain a copy from:



- John T.
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list