s3: correctly detect if the current dc is the closest one
commitb609f41baa035a15dafb18b2ec569a2b96968b17
authorStefan Metzmacher <metze@samba.org>
Wed, 22 Oct 2008 08:36:21 +0000 (22 10:36 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 13 Dec 2008 10:59:09 +0000 (13 11:59 +0100)
tree256c5f02260f7adce0e3c23d8caf853f9527043b
parent6ffff93aa3d6e2ecf8716ad44db614cb746d1b56
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)
(cherry picked from commit 588f5aae669910fee6da7f807f330163496b4170)
source/include/ads.h
source/libads/ndr.c
source/utils/net_ads.c