libsmb/namequery: fallback to returning all dcs, when none is available in the reques...
authorStefan Metzmacher <metze@samba.org>
Mon, 27 Oct 2008 08:40:25 +0000 (09:40 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 30 Oct 2008 13:52:26 +0000 (14:52 +0100)
commitc127367b1dd622eeceb1f47de0a047c297dda222
tree21d51be3a2c6331211e8ff8961452951a6b2d9fe
parentd2f7f81f4d61bae9c4be65cbc1bf962b6c24a31f
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>
source/libsmb/namequery.c