From: Kurt Zeilenga Date: Tue, 19 Jan 1999 19:29:11 +0000 (+0000) Subject: suffixAlias will return a normalized uppercase DN if input is normalized X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~737 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0503205c9343b3fb3231baa74718cd484f5bffec;p=openldap suffixAlias will return a normalized uppercase DN if input is normalized and uppercase. (aliased_dn are stored in normalized uppercase format). --- diff --git a/servers/slapd/bind.c b/servers/slapd/bind.c index 29abd7869e..aed9559ffa 100644 --- a/servers/slapd/bind.c +++ b/servers/slapd/bind.c @@ -169,7 +169,6 @@ do_bind( char *edn; ndn = suffixAlias( ndn, op, be ); - dn_normalize_case( ndn ); if ( (*be->be_bind)( be, conn, op, ndn, method, &cred, &edn ) == 0 ) { pthread_mutex_lock( &conn->c_dnmutex ); diff --git a/servers/slapd/compare.c b/servers/slapd/compare.c index b3f5a7ee1d..f6675d17ce 100644 --- a/servers/slapd/compare.c +++ b/servers/slapd/compare.c @@ -75,7 +75,6 @@ do_compare( /* alias suffix if approp */ ndn = suffixAlias( ndn, op, be ); - dn_normalize_case( ndn ); if ( be->be_compare != NULL ) { (*be->be_compare)( be, conn, op, ndn, &ava ); diff --git a/servers/slapd/delete.c b/servers/slapd/delete.c index 6d79326f64..66f68d9d89 100644 --- a/servers/slapd/delete.c +++ b/servers/slapd/delete.c @@ -62,7 +62,6 @@ do_delete( /* alias suffix if approp */ ndn = suffixAlias( ndn, op, be ); - dn_normalize_case( ndn ); /* * do the delete if 1 && (2 || 3) diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index e03caca86e..fcc040a18e 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -145,7 +145,6 @@ do_modify( /* alias suffix if approp */ ndn = suffixAlias ( ndn, op, be ); - (void) dn_normalize_case( ndn ); /* * do the modify if 1 && (2 || 3) diff --git a/servers/slapd/modrdn.c b/servers/slapd/modrdn.c index ef9f57c211..1a446db3bf 100644 --- a/servers/slapd/modrdn.c +++ b/servers/slapd/modrdn.c @@ -72,7 +72,6 @@ do_modrdn( /* alias suffix if approp */ ndn = suffixAlias( ndn, op, be ); - dn_normalize_case( ndn ); /* * do the add if 1 && (2 || 3) diff --git a/servers/slapd/search.c b/servers/slapd/search.c index 7684e52472..2779fe0bdd 100644 --- a/servers/slapd/search.c +++ b/servers/slapd/search.c @@ -143,7 +143,6 @@ do_search( /* translate the base if it matches an aliased base part */ base = suffixAlias ( base, op, be ); - (void) dn_normalize_case( base ); /* actually do the search and send the result(s) */ if ( be->be_search != NULL ) {