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)
committerStefan Metzmacher <metze@samba.org>
Sat, 13 Dec 2008 10:42:22 +0000 (11:42 +0100)
commit588f5aae669910fee6da7f807f330163496b4170
tree70511e59e62efe9077a1d4a30b63e80fddfca49c
parent627c844a13caf869ae3c68ec780a8eded7cb181d
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)
source3/include/ads.h
source3/libads/ndr.c
source3/utils/net_ads.c