diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-06-03 00:39:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:26 -0500 |
commit | 7cc9ce3cd0e164a168db11da4d63cf6ddbf6208d (patch) | |
tree | 86aa83d211353020a3f2a9259b13a6ddfd02fe26 /source4/libnet | |
parent | 4c36a59f434665fa94a4ea6c1ce086adf2ed8be0 (diff) | |
download | samba-7cc9ce3cd0e164a168db11da4d63cf6ddbf6208d.tar.gz samba-7cc9ce3cd0e164a168db11da4d63cf6ddbf6208d.tar.bz2 samba-7cc9ce3cd0e164a168db11da4d63cf6ddbf6208d.zip |
r7204: Also fall back to different password set methods on WRITE_FAULT, as
NT4 apparently returns this.
Andrew Bartlett
(This used to be commit 06b1416c3162a525eac9626957dd3e4adf1d257e)
Diffstat (limited to 'source4/libnet')
-rw-r--r-- | source4/libnet/libnet_passwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_passwd.c b/source4/libnet/libnet_passwd.c index 9613df75f3..bd4d8fc26e 100644 --- a/source4/libnet/libnet_passwd.c +++ b/source4/libnet/libnet_passwd.c @@ -481,7 +481,7 @@ static NTSTATUS libnet_SetPassword_samr_handle(struct libnet_context *ctx, TALLO for (i=0; i < ARRAY_SIZE(levels); i++) { r->generic.level = levels[i]; status = libnet_SetPassword(ctx, mem_ctx, r); - if (!NT_STATUS_EQUAL(status, NT_STATUS_INVALID_INFO_CLASS)) { + if (!NT_STATUS_EQUAL(status, NT_STATUS_INVALID_INFO_CLASS) && !NT_STATUS_EQUAL(status, NT_STATUS_NET_WRITE_FAULT)) { break; } } |