diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/ldap_server/ldap_bind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_bind.c b/source4/ldap_server/ldap_bind.c index 51440cb51ee..3ba7ea39111 100644 --- a/source4/ldap_server/ldap_bind.c +++ b/source4/ldap_server/ldap_bind.c @@ -540,7 +540,7 @@ static NTSTATUS ldapsrv_BindSASL(struct ldapsrv_call *call) goto do_reply; } - if (NT_STATUS_IS_OK(status) && context) { + if (context != NULL) { call->postprocess_send = ldapsrv_sasl_postprocess_send; call->postprocess_recv = ldapsrv_sasl_postprocess_recv; call->postprocess_private = context; |