From: Stefan Metzmacher Date: Thu, 23 Jul 2015 10:17:02 +0000 (+0200) Subject: s4:ldap_server: use LDAP_AUTH_METHOD_NOT_SUPPORTED define X-Git-Tag: tevent-0.9.27~126 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a0c439eb5cc071fa3a74702eaf619ab45b7c942;p=thirdparty%2Fsamba.git s4:ldap_server: use LDAP_AUTH_METHOD_NOT_SUPPORTED define Signed-off-by: Stefan Metzmacher Reviewed-by: Volker Lendecke --- 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;