From dc35442fb163c6f14cf8c5730056a4a094ead85a Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 3 Mar 2011 01:05:33 +0100 Subject: s4-nterr: move auth_nt_status_squash to nt_status_squash and move to nterr.c Guenther --- source4/ldap_server/ldap_bind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/ldap_server') diff --git a/source4/ldap_server/ldap_bind.c b/source4/ldap_server/ldap_bind.c index 0f3d0631d0..105e64078f 100644 --- a/source4/ldap_server/ldap_bind.c +++ b/source4/ldap_server/ldap_bind.c @@ -81,7 +81,7 @@ static NTSTATUS ldapsrv_BindSimple(struct ldapsrv_call *call) errstr = talloc_asprintf(reply, "Simple Bind: Failed to advise ldb new credentials: %s", nt_errstr(status)); } } else { - status = auth_nt_status_squash(status); + status = nt_status_squash(status); result = LDAP_INVALID_CREDENTIALS; errstr = talloc_asprintf(reply, "Simple Bind Failed: %s", nt_errstr(status)); @@ -311,7 +311,7 @@ static NTSTATUS ldapsrv_BindSASL(struct ldapsrv_call *call) talloc_unlink(conn, conn->gensec); conn->gensec = NULL; } else { - status = auth_nt_status_squash(status); + status = nt_status_squash(status); if (result == 0) { result = LDAP_INVALID_CREDENTIALS; errstr = talloc_asprintf(reply, "SASL:[%s]: %s", req->creds.SASL.mechanism, nt_errstr(status)); -- cgit