From: Mark Adamson Date: Wed, 29 Aug 2001 23:01:24 +0000 (+0000) Subject: Skip over the "dn:" prefix when passing a DN to dn_normalize(). X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1145 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fac77083cc65666eda3b3e92af175c4b4569e6e6;p=openldap Skip over the "dn:" prefix when passing a DN to dn_normalize(). --- diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index 2bfd7efc1e..29a83f5ada 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -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;