diff options
author | Stefan Metzmacher <metze@samba.org> | 2015-07-23 12:17:02 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2016-02-01 09:53:10 +0100 |
commit | 5a0c439eb5cc071fa3a74702eaf619ab45b7c942 (patch) | |
tree | 1642cdc6b9303e92bc91b3eeaa644d9e8b10bbc7 /source4/ldap_server | |
parent | 90cb84c9052bbe7c23fa6e58a3041f0c05249821 (diff) | |
download | samba-5a0c439eb5cc071fa3a74702eaf619ab45b7c942.tar.gz |
s4:ldap_server: use LDAP_AUTH_METHOD_NOT_SUPPORTED define
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source4/ldap_server')
-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; |