ITS#6598 make control global

This commit is contained in:
Pierangelo Masarati 2012-04-11 00:47:10 +02:00
parent d806b970b1
commit 762ef802f6

View 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,