From 011ff131f81a10ae124be8aefb053e57933f3f72 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 19 Aug 2004 15:27:07 +0000 Subject: r1928: give up on NT_STATUS_PASSWORD_RESTRICTION (NOTE: this code pass isn't called yet, because pidl mixes the NTSTATUS of transport and request layer, and will be fixed soon) metze (This used to be commit 84c06d9ab0366772f71be088c53da9618e2555fe) --- source4/libnet/libnet_passwd.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/libnet') diff --git a/source4/libnet/libnet_passwd.c b/source4/libnet/libnet_passwd.c index c6ef7b7d3f..97c06e3efd 100644 --- a/source4/libnet/libnet_passwd.c +++ b/source4/libnet/libnet_passwd.c @@ -102,6 +102,9 @@ static NTSTATUS libnet_ChangePassword_rpc(struct libnet_context *ctx, TALLOC_CTX r->rpc.in.domain_name, r->rpc.in.account_name, nt_errstr(status)); /* TODO: give the reason of the reject */ + if (NT_STATUS_EQUAL(status, NT_STATUS_PASSWORD_RESTRICTION)) { + goto disconnect; + } goto ChangePasswordUser2; } -- cgit