From: Pierangelo Masarati Date: Tue, 20 Mar 2007 21:38:55 +0000 (+0000) Subject: further fix to ITS#4853 (re23 only) X-Git-Tag: OPENLDAP_REL_ENG_2_3_35~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e95e1bcb4a94e3410a0841e21f97ecf066603002;p=thirdparty%2Fopenldap.git further fix to ITS#4853 (re23 only) --- diff --git a/servers/slapd/overlays/refint.c b/servers/slapd/overlays/refint.c index 535dce3a20..312d40eb5f 100644 --- a/servers/slapd/overlays/refint.c +++ b/servers/slapd/overlays/refint.c @@ -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);