diff options
-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 69a6b6153b0..fcbdadf52ee 100644 --- a/source4/ldap_server/ldap_bind.c +++ b/source4/ldap_server/ldap_bind.c @@ -354,7 +354,7 @@ NTSTATUS ldapsrv_BindRequest(struct ldapsrv_call *call) } resp = &reply->msg->r.BindResponse; - resp->response.resultcode = 7; + resp->response.resultcode = LDAP_AUTH_METHOD_NOT_SUPPORTED; resp->response.dn = NULL; resp->response.errormessage = talloc_asprintf(reply, "Bad AuthenticationChoice [%d]", req->mechanism); resp->response.referral = NULL; |