summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ldap/servers/slapd/result.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ldap/servers/slapd/result.c b/ldap/servers/slapd/result.c
index b085965d..7c872aaf 100644
--- a/ldap/servers/slapd/result.c
+++ b/ldap/servers/slapd/result.c
@@ -291,6 +291,7 @@ send_ldap_result_ext(
int flush_ber_element = 1;
Slapi_Operation *operation;
char *dn;
+ int internal_op;
passwdPolicy *pwpolicy = NULL;
slapi_pblock_get (pb, SLAPI_OPERATION, &operation);
@@ -354,7 +355,8 @@ send_ldap_result_ext(
break;
}
- if ( conn == NULL ) {
+ internal_op = operation_is_flag_set( operation, OP_FLAG_INTERNAL );
+ if ( ( conn == NULL ) || ( internal_op ) ) {
if ( operation->o_result_handler != NULL ) {
operation->o_result_handler( conn, operation, err,
matched, text, nentries, urls );