]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
further fix to ITS#4853 (re23 only)
authorPierangelo Masarati <ando@openldap.org>
Tue, 20 Mar 2007 21:38:55 +0000 (21:38 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 20 Mar 2007 21:38:55 +0000 (21:38 +0000)
servers/slapd/overlays/refint.c

index 535dce3a2041674c81b89524371df719e3e8452b..312d40eb5f0a809e5f0c1fe8f0f58a90b9e3714c 100644 (file)
@@ -151,12 +151,12 @@ refint_config(
                /* XXX only one basedn (yet) - need validate argument! */
                if(id->dn.bv_val) ch_free(id->dn.bv_val);
                ber_str2bv( argv[1], 0, 0, &dn );
-               Debug(LDAP_DEBUG_ANY, "%s: line %d: new baseDN <%s>\n",
-                       fname, lineno, argv[1]);
                if(dnNormalize(0, NULL, NULL, &dn, &id->dn, NULL)) {
                        Debug(LDAP_DEBUG_ANY, "%s: line %d: bad baseDN!\n", fname, lineno, 0);
                        return(1);
                }
+               Debug(LDAP_DEBUG_CONFIG, "%s: line %d: new baseDN <%s>\n",
+                       fname, lineno, argv[1]);
        } else if(!strcasecmp(*argv, "refint_nothing")) {
                if(id->nothing.bv_val) ch_free(id->nothing.bv_val);
                if(id->nnothing.bv_val) ch_free(id->nnothing.bv_val);
@@ -165,7 +165,7 @@ refint_config(
                        Debug(LDAP_DEBUG_ANY, "%s: line %d: bad nothingDN!\n", fname, lineno, 0);
                        return(1);
                }
-               Debug(LDAP_DEBUG_ANY, "%s: line %d: new nothingDN<%s>\n",
+               Debug(LDAP_DEBUG_CONFIG, "%s: line %d: new nothingDN<%s>\n",
                        fname, lineno, argv[1]);
        } else {
                return(SLAP_CONF_UNKNOWN);