]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/overlays/accesslog.c
Each refint op needs a unique timestamp, must perform searches as rootdn
[openldap] / servers / slapd / overlays / accesslog.c
index 0a37433f163fcda19e6c9e97bbbf1ad447e332f9..15c512a0224c05734f34bb850bdef4141aae8161 100644 (file)
@@ -726,8 +726,7 @@ log_cf_gen(ConfigArgs *c)
                                Debug( LDAP_DEBUG_ANY, "%s: %s \"%s\"\n",
                                        c->log, c->msg, c->value_dn.bv_val );
                                rc = 1;
-                       }
-                       if ( BER_BVISEMPTY( &li->li_db->be_rootdn )) {
+                       } else if ( BER_BVISEMPTY( &li->li_db->be_rootdn )) {
                                snprintf( c->msg, sizeof( c->msg ),
                                        "<%s> no rootDN was configured for suffix",
                                        c->argv[0] );