This commit is contained in:
Pierangelo Masarati 2002-08-29 10:50:12 +00:00
parent a32f8c079a
commit d855f97372

View File

@ -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",