s3: libsmb/namequery: fallback to returning all dcs, when none is available in the...
authorStefan Metzmacher <metze@samba.org>
Mon, 27 Oct 2008 08:40:25 +0000 (09:40 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 16 Dec 2008 15:16:24 +0000 (16:16 +0100)
commitfd440795cadf41fc148efa2a71eaf22fca7156ad
tree6b4d6ea55ab812929530b14752d5a7fd2040f4d2
parent68488c6656ce612d808b7fe8ed18885945f57d40
s3: libsmb/namequery: fallback to returning all dcs, when none is available in the requested site

It could happen that all dcs in a site are unavailable
(some sites have only one dc) and then we need to fallback
to get all dcs.

metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit c127367b1dd622eeceb1f47de0a047c297dda222)
(cherry picked from commit 0c43f96330f2935805ba4f0f8f858a027a90bc4c)
(cherry picked from commit caaf59383ceabdc555f7db098dae0455dea65023)
source/libsmb/namequery.c