]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/search.c
Per ITS#419, don't require SLAPD_RLOOKUPS when HAVE_TCPD
[openldap] / servers / slapd / search.c
index 233da67a2d46193bcd2332fc0de9f980d23fc6f9..10e6d67b27601e43d908f32e34f1b7621eaf620d 100644 (file)
@@ -204,6 +204,14 @@ do_search(
                goto return_results;
        }
 
+       /* make sure this backend recongizes critical controls */
+       rc = backend_check_controls( be, conn, op ) ;
+
+       if( rc != LDAP_SUCCESS ) {
+               send_ldap_result( conn, op, rc,
+                       NULL, NULL, NULL, NULL );
+       }
+
        /* deref the base if needed */
        nbase = suffix_alias( be, nbase );