mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Skip over the "dn:" prefix when passing a DN to dn_normalize().
This commit is contained in:
parent
44a3160fec
commit
fac77083cc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user