From b9fb4c442c55b1569e737871655a8511eee84787 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julio=20S=C3=A1nchez=20Fern=C3=A1ndez?= Date: Mon, 13 Mar 2000 12:31:35 +0000 Subject: [PATCH] Useronly logic was inverted, we were ignoring the whole ldap.conf, except where we should. --- libraries/libldap/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libldap/init.c b/libraries/libldap/init.c index 80bd75f0b3..57faabda7b 100644 --- a/libraries/libldap/init.c +++ b/libraries/libldap/init.c @@ -140,7 +140,7 @@ static void openldap_ldap_init_w_conf( for(i=0; attrs[i].type != ATTR_NONE; i++) { void *p; - if( !userconf && !attrs[i].useronly ) { + if( !userconf && attrs[i].useronly ) { continue; } -- 2.39.5