From: Howard Chu Date: Wed, 11 Nov 2009 01:42:00 +0000 (+0000) Subject: ITS#6309 tweak invalid dn logmsg X-Git-Tag: ACLCHECK_0~138 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dda8ccd8d58bd9df4d92853613022e46502b1974;p=openldap ITS#6309 tweak invalid dn logmsg --- diff --git a/servers/slapd/search.c b/servers/slapd/search.c index ecdae3ce61..bd4cf149af 100644 --- a/servers/slapd/search.c +++ b/servers/slapd/search.c @@ -112,7 +112,7 @@ do_search( rs->sr_err = dnPrettyNormal( NULL, &base, &op->o_req_dn, &op->o_req_ndn, op->o_tmpmemctx ); if( rs->sr_err != LDAP_SUCCESS ) { - Debug( LDAP_DEBUG_ANY, "%s do_search: invalid dn (%s)\n", + Debug( LDAP_DEBUG_ANY, "%s do_search: invalid dn: \"%s\"\n", op->o_log_prefix, base.bv_val, 0 ); send_ldap_error( op, rs, LDAP_INVALID_DN_SYNTAX, "invalid DN" ); goto return_results;