]> git.sur5r.net Git - openldap/blobdiff - contrib/slapd-modules/noopsrch/noopsrch.c
ITS#6598 make control global
[openldap] / contrib / slapd-modules / noopsrch / noopsrch.c
index 55a7ea0e10e6ac2373a73ed6f14c18afaf68630a..aaa1bf2eb1f9bcce63b6039f1f920d94849a5623 100644 (file)
@@ -199,7 +199,7 @@ noopsrch_db_init( BackendDB *be, ConfigReply *cr)
                int rc;
 
                rc = register_supported_control( LDAP_CONTROL_X_NOOPSRCH,
-                       SLAP_CTRL_SEARCH, NULL,
+                       SLAP_CTRL_SEARCH | SLAP_CTRL_GLOBAL_SEARCH, NULL,
                        noopsrch_parseCtrl, &noopsrch_cid );
                if ( rc != LDAP_SUCCESS ) {
                        Debug( LDAP_DEBUG_ANY,