summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2001-10-29 15:00:45 +0000
committerVolker Lendecke <vlendec@samba.org>2001-10-29 15:00:45 +0000
commitfd1d0064b3a4fe834c5d8e810a12a8077f9d2a66 (patch)
tree7e4006d29d51fac52e097edbf5fc44abdbc435a2
parentfd1bc3557a7ba57a983a29d36ce0461085fb6682 (diff)
downloadsamba-fd1d0064b3a4fe834c5d8e810a12a8077f9d2a66.tar.gz
samba-fd1d0064b3a4fe834c5d8e810a12a8077f9d2a66.tar.xz
samba-fd1d0064b3a4fe834c5d8e810a12a8077f9d2a66.zip
Don't force winbind to use non-local DC's.
Volker
-rw-r--r--source/nsswitch/winbindd_cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/winbindd_cm.c b/source/nsswitch/winbindd_cm.c
index 45a09935517..4f0974fe069 100644
--- a/source/nsswitch/winbindd_cm.c
+++ b/source/nsswitch/winbindd_cm.c
@@ -110,7 +110,7 @@ BOOL cm_get_dc_name(char *domain, fstring srv_name)
of our interfaces. */
for (i = 0; i < count; i++) {
- if(!is_local_net(ip_list[i]))
+ if(is_local_net(ip_list[i]))
goto got_ip;
}