summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-04-15 17:21:13 +0200
committerStefan Metzmacher <metze@samba.org>2010-04-15 17:32:31 +0200
commit3f8e9b919dc74fb8aae903e03344fe62cadf5fd5 (patch)
treef5da9cabcd17f503b09a65e323dbe9963443f649
parent2570f8dcdadcc889dcc33824b2dcfe4e6050781b (diff)
downloadsamba-3f8e9b919dc74fb8aae903e03344fe62cadf5fd5.tar.gz
samba-3f8e9b919dc74fb8aae903e03344fe62cadf5fd5.tar.bz2
samba-3f8e9b919dc74fb8aae903e03344fe62cadf5fd5.zip
s4:libnet_passwd: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE for SetPassword
metze
-rw-r--r--source4/libnet/libnet_passwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_passwd.c b/source4/libnet/libnet_passwd.c
index ed007543c5..e1094f2057 100644
--- a/source4/libnet/libnet_passwd.c
+++ b/source4/libnet/libnet_passwd.c
@@ -491,7 +491,7 @@ static NTSTATUS libnet_SetPassword_samr_handle(struct libnet_context *ctx, TALLO
status = libnet_SetPassword(ctx, mem_ctx, r);
if (NT_STATUS_EQUAL(status, NT_STATUS_INVALID_INFO_CLASS)
|| NT_STATUS_EQUAL(status, NT_STATUS_INVALID_PARAMETER_MIX)
- || NT_STATUS_EQUAL(status, NT_STATUS_NET_WRITE_FAULT)) {
+ || NT_STATUS_EQUAL(status, NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE)) {
/* Try another password set mechanism */
continue;
}