diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-08-19 15:27:07 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:12 -0500 |
commit | 011ff131f81a10ae124be8aefb053e57933f3f72 (patch) | |
tree | beb736c8a6fd687162beda97a8128d3382ba2f37 | |
parent | b2f39d19e3f10f141752be98b41eb1c7622fa760 (diff) | |
download | samba-011ff131f81a10ae124be8aefb053e57933f3f72.tar.gz samba-011ff131f81a10ae124be8aefb053e57933f3f72.tar.bz2 samba-011ff131f81a10ae124be8aefb053e57933f3f72.zip |
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)
-rw-r--r-- | source4/libnet/libnet_passwd.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |