mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
cleanup
This commit is contained in:
parent
a32f8c079a
commit
d855f97372
@ -143,13 +143,11 @@ do_search(
|
|||||||
LDAP_PROTOCOL_ERROR, text );
|
LDAP_PROTOCOL_ERROR, text );
|
||||||
} else {
|
} else {
|
||||||
send_ldap_result( conn, op, rc,
|
send_ldap_result( conn, op, rc,
|
||||||
NULL, text, NULL, NULL );
|
NULL, text, NULL, NULL );
|
||||||
}
|
}
|
||||||
goto return_results;
|
goto return_results;
|
||||||
|
|
||||||
} else {
|
|
||||||
filter2bv( filter, &fstr );
|
|
||||||
}
|
}
|
||||||
|
filter2bv( filter, &fstr );
|
||||||
|
|
||||||
#ifdef NEW_LOGGING
|
#ifdef NEW_LOGGING
|
||||||
LDAP_LOG( OPERATION, ARGS,
|
LDAP_LOG( OPERATION, ARGS,
|
||||||
@ -319,7 +317,7 @@ do_search(
|
|||||||
if ( be->be_search ) {
|
if ( be->be_search ) {
|
||||||
(*be->be_search)( be, conn, op, &pbase, &nbase,
|
(*be->be_search)( be, conn, op, &pbase, &nbase,
|
||||||
scope, deref, sizelimit,
|
scope, deref, sizelimit,
|
||||||
timelimit, filter, &fstr, an, attrsonly );
|
timelimit, filter, &fstr, an, attrsonly );
|
||||||
} else {
|
} else {
|
||||||
send_ldap_result( conn, op, rc = LDAP_UNWILLING_TO_PERFORM,
|
send_ldap_result( conn, op, rc = LDAP_UNWILLING_TO_PERFORM,
|
||||||
NULL, "operation not supported within namingContext",
|
NULL, "operation not supported within namingContext",
|
||||||
|
Loading…
Reference in New Issue
Block a user