summaryrefslogtreecommitdiff
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
commite5cee57941154130edbe65fd1250ca78bb0a2f5b (patch)
treec43055a31278cfec38896decdd7db0c8d684229a
parent192a8f9a3ec337bc9e97ab395e88ba9e1804e60b (diff)
downloadsamba-e5cee57941154130edbe65fd1250ca78bb0a2f5b.tar.gz
samba-e5cee57941154130edbe65fd1250ca78bb0a2f5b.tar.bz2
samba-e5cee57941154130edbe65fd1250ca78bb0a2f5b.zip
Don't force winbind to use non-local DC's.
Volker (This used to be commit fd1d0064b3a4fe834c5d8e810a12a8077f9d2a66)
-rw-r--r--source3/nsswitch/winbindd_cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c
index 45a0993551..4f0974fe06 100644
--- a/source3/nsswitch/winbindd_cm.c
+++ b/source3/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;
}