]> git.sur5r.net Git - openldap/commitdiff
ITS#6598 make control global
authorPierangelo Masarati <ando@OpenLDAP.org>
Tue, 10 Apr 2012 22:47:10 +0000 (00:47 +0200)
committerPierangelo Masarati <ando@OpenLDAP.org>
Wed, 11 Apr 2012 07:52:57 +0000 (09:52 +0200)
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,