]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/search.c
Apply devel IDL fixes...
[openldap] / servers / slapd / search.c
index a5cdd9c0afe23f577a248ab3d4a78ae8d99c95ab..1a7ec0d52af21542ed642169915fdd9b4c562a6f 100644 (file)
@@ -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,20 +109,20 @@ 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 ) {
-                       monitor_info( conn, op );
+               if ( strcmp( base, SLAPD_MONITOR_DN ) == 0 ) {
+                       monitor_info( conn, op, attrs, attrsonly );
                        goto return_results;
                }
 #endif
 #if defined( SLAPD_CONFIG_DN )
-               if ( strcasecmp( base, SLAPD_CONFIG_DN ) == 0 ) {
-                       config_info( conn, op );
+               if ( strcmp( base, SLAPD_CONFIG_DN ) == 0 ) {
+                       config_info( conn, op, attrs, attrsonly );
                        goto return_results;
                }
 #endif
 #if defined( SLAPD_SCHEMA_DN )
-               if ( strcasecmp( base, SLAPD_SCHEMA_DN ) == 0 ) {
-                       schema_info( conn, op );
+               if ( strcmp( base, SLAPD_SCHEMA_DN ) == 0 ) {
+                       schema_info( conn, op, attrs, attrsonly );
                        goto return_results;
                }
 #endif