diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-04-15 17:21:13 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-04-15 17:32:31 +0200 |
commit | 3f8e9b919dc74fb8aae903e03344fe62cadf5fd5 (patch) | |
tree | f5da9cabcd17f503b09a65e323dbe9963443f649 /source4 | |
parent | 2570f8dcdadcc889dcc33824b2dcfe4e6050781b (diff) | |
download | samba-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
Diffstat (limited to 'source4')
-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 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; } |