git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2f39d1
)
r1928: give up on NT_STATUS_PASSWORD_RESTRICTION
author
Stefan Metzmacher
<metze@samba.org>
Thu, 19 Aug 2004 15:27:07 +0000
(15:27 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:58:12 +0000
(12:58 -0500)
(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
patch
|
blob
|
history
diff --git
a/source4/libnet/libnet_passwd.c
b/source4/libnet/libnet_passwd.c
index c6ef7b7d3f349f0f9b470e9f240edd9088f5bacb..97c06e3efd2ae28dced4aaac61f58687cdf31f82 100644
(file)
--- 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;
}