]> git.sur5r.net Git - openldap/commitdiff
Skip over the "dn:" prefix when passing a DN to dn_normalize().
authorMark Adamson <adamson@openldap.org>
Wed, 29 Aug 2001 23:01:24 +0000 (23:01 +0000)
committerMark Adamson <adamson@openldap.org>
Wed, 29 Aug 2001 23:01:24 +0000 (23:01 +0000)
servers/slapd/sasl.c

index 2bfd7efc1ed2d607729c0db6c1969f4391d46ac5..29a83f5adab5134da34332cf57fc6e306f1be80a 100644 (file)
@@ -224,7 +224,7 @@ int slap_sasl_getdn( Connection *conn, char *id, char **dnptr, int flags )
        }
 
        if( ( flags & FLAG_GETDN_FINAL ) == 0 )  {
-               dn_normalize( dn );
+               dn_normalize( dn+3 );
        }
 
        *dnptr = dn;