Bug 13165 - ldb* and samba-tool: automatic round robin between servers
Summary: ldb* and samba-tool: automatic round robin between servers
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.5.12
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
Depends on:
Reported: 2017-11-23 14:50 UTC by Marco Gaiarin
Modified: 2017-11-23 14:56 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Marco Gaiarin 2017-11-23 14:50:02 UTC
In a DM it is needed to set explicitly the '-H' options, in ldb* tools and in samba-tool to a valid DC.
[This can be extended considering, in DC, the ability to point the -H option against the SAM database directly...]

But a domain can have many DC, and some of that can be currently not available (in maintenance, ...), and so script based on that tools can fail, while the domain effectively continue to works as expected.

Would be useful to have in that tool some sort of ''round robin'' or ''fallback'' against DC: eg, that tools determine the list of DCs (a simple DNS query), and choose the ''best and available'' one.

I hope i was clear. Thanks.