#include <ac/string.h>
#include <ac/socket.h>
+#include "ldap_pvt.h"
#include "slap.h"
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 );