mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Add search no-op support.
This commit is contained in:
parent
48bf651459
commit
ffebea4a8b
@ -428,8 +428,14 @@ bdb_search(
|
||||
}
|
||||
|
||||
if (e) {
|
||||
int result = send_search_entry( be, conn, op,
|
||||
e, attrs, attrsonly, NULL);
|
||||
int result;
|
||||
|
||||
if( op->o_noop ) {
|
||||
result = 0;
|
||||
} else {
|
||||
result = send_search_entry( be, conn, op,
|
||||
e, attrs, attrsonly, NULL);
|
||||
}
|
||||
|
||||
switch (result) {
|
||||
case 0: /* entry sent ok */
|
||||
|
Loading…
Reference in New Issue
Block a user