]> git.sur5r.net Git - openldap/commitdiff
Add a trace message to dnX509normalize
authorKurt Zeilenga <kurt@openldap.org>
Fri, 17 Oct 2003 22:38:19 +0000 (22:38 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 17 Oct 2003 22:38:19 +0000 (22:38 +0000)
servers/slapd/dn.c

index 5696dbf837f1ebcb2ac3b2c4fa3cc2bf6f494ce3..3adfe06301f04a6ca8ea3ae75ecbc30df546d3fd 100644 (file)
@@ -882,7 +882,12 @@ int
 dnX509normalize( void *x509_name, struct berval *out )
 {
        /* Invoke the LDAP library's converter with our schema-rewriter */
-       return ldap_X509dn2bv( x509_name, out, LDAPDN_rewrite, 0 );
+       int rc = ldap_X509dn2bv( x509_name, out, LDAPDN_rewrite, 0 );
+
+       Debug( LDAP_DEBUG_TRACE,
+               "dnX509Normalize: <%s>\n", out->bv_val, 0, 0 );
+
+       return rc;
 }
 
 /*