]> git.sur5r.net Git - openldap/commitdiff
Useronly logic was inverted, we were ignoring the whole ldap.conf,
authorJulio Sánchez Fernández <jsanchez@openldap.org>
Mon, 13 Mar 2000 12:31:35 +0000 (12:31 +0000)
committerJulio Sánchez Fernández <jsanchez@openldap.org>
Mon, 13 Mar 2000 12:31:35 +0000 (12:31 +0000)
except where we should.

libraries/libldap/init.c

index 80bd75f0b3414d9ae90c1827b0115a4e62fde4d0..57faabda7b674323a4f6373abd4ef938c4f54d35 100644 (file)
@@ -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;
                        }