[Samba] How does Samba find a domain controller?

simo idra at samba.org
Fri May 5 19:34:55 GMT 2006

On Fri, 2006-05-05 at 09:54 +0100, Gautier, B (Bob) wrote:
> During some recent testing of winbindd (3.0.22) in a multi-domain,
> multi-DC AD context, the AD expert I was working with was very
> interested in winbindd's choice of domain controller (it apparently was
> not choosing the one(s) AD-expert expected).

Samba is not (yet) Site-aware, that's way samba's way of discovering DCs
may not be what you expect.

> I understand that Windows domain members have an algorithm based on DNS
> SRV records and IP address comparison, and I've seen some code posted in
> the last few days that suggests this is only 'under development' for
> Samba.

Windows uses DNS SRV records as well CLDAP queries, samba does not yet
correlate all data.


Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org

More information about the samba mailing list