X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fsearch.c;h=2779fe0bdd8f4aa0e64f672c810e0a7d80224a12;hb=8a5bbf9b0808a17543cd7141623a91a79c633232;hp=a5cdd9c0afe23f577a248ab3d4a78ae8d99c95ab;hpb=51c2c98b48f4ca428b454853666ecd999f078322;p=openldap diff --git a/servers/slapd/search.c b/servers/slapd/search.c index a5cdd9c0af..2779fe0bdd 100644 --- a/servers/slapd/search.c +++ b/servers/slapd/search.c @@ -73,7 +73,8 @@ do_search( "Unknown search scope" ); goto return_results; } - (void) dn_normalize( base ); + + (void) dn_normalize_case( base ); Debug( LDAP_DEBUG_ARGS, "SRCH \"%s\" %d %d", base, scope, deref ); Debug( LDAP_DEBUG_ARGS, " %d %d %d\n", sizelimit, timelimit, @@ -108,19 +109,19 @@ do_search( #if defined( SLAPD_MONITOR_DN ) || defined( SLAPD_CONFIG_DN ) || defined( SLAPD_SCHEMA_DN ) if ( scope == LDAP_SCOPE_BASE ) { #if defined( SLAPD_MONITOR_DN ) - if ( strcasecmp( base, SLAPD_MONITOR_DN ) == 0 ) { + if ( strcmp( base, SLAPD_MONITOR_DN ) == 0 ) { monitor_info( conn, op ); goto return_results; } #endif #if defined( SLAPD_CONFIG_DN ) - if ( strcasecmp( base, SLAPD_CONFIG_DN ) == 0 ) { + if ( strcmp( base, SLAPD_CONFIG_DN ) == 0 ) { config_info( conn, op ); goto return_results; } #endif #if defined( SLAPD_SCHEMA_DN ) - if ( strcasecmp( base, SLAPD_SCHEMA_DN ) == 0 ) { + if ( strcmp( base, SLAPD_SCHEMA_DN ) == 0 ) { schema_info( conn, op ); goto return_results; }