From e5cee57941154130edbe65fd1250ca78bb0a2f5b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 29 Oct 2001 15:00:45 +0000 Subject: Don't force winbind to use non-local DC's. Volker (This used to be commit fd1d0064b3a4fe834c5d8e810a12a8077f9d2a66) --- source3/nsswitch/winbindd_cm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nsswitch/winbindd_cm.c') 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; } -- cgit