]> git.sur5r.net Git - openldap/commitdiff
ITS#6309 tweak invalid dn logmsg
authorHoward Chu <hyc@openldap.org>
Wed, 11 Nov 2009 01:42:00 +0000 (01:42 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 11 Nov 2009 01:42:00 +0000 (01:42 +0000)
servers/slapd/search.c

index ecdae3ce6154d32526cbf4d45a03205e96753b70..bd4cf149afaaf17b7cb42b09ad3619596ff20d7d 100644 (file)
@@ -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;