s3: correctly detect if the current dc is the closest one
authorStefan Metzmacher <metze@samba.org>
Wed, 22 Oct 2008 08:36:21 +0000 (10:36 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 12 Jan 2009 09:11:56 +0000 (10:11 +0100)
commitbd7b1af4347bc2fbd2d25a2d932d08885fff200c
tree717d66f8258a425932f1499dec5adbfdfb9d1f36
parente5a0e7963c7526ba76f83f07f9bb9652e707e4bf
s3: correctly detect if the current dc is the closest one

ads->config.tried_closest_dc was never set.

metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit dfe5b00db35e1e7c7bb3ba36729fc3f97eb48db3)
source/include/ads.h
source/utils/net_ads.c