From: Julio Sánchez Fernández Date: Mon, 13 Mar 2000 12:31:35 +0000 (+0000) Subject: Useronly logic was inverted, we were ignoring the whole ldap.conf, X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3155 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b9fb4c442c55b1569e737871655a8511eee84787;p=openldap Useronly logic was inverted, we were ignoring the whole ldap.conf, except where we should. --- 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; }