diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/rpc_server/samr/samr_password.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/samr/samr_password.c b/source4/rpc_server/samr/samr_password.c index a8099646ef..ff247815a5 100644 --- a/source4/rpc_server/samr/samr_password.c +++ b/source4/rpc_server/samr/samr_password.c @@ -184,7 +184,7 @@ NTSTATUS dcesrv_samr_OemChangePasswordUser2(struct dcesrv_call_state *dce_call, /* this call can only work with lanman auth */ if (!lp_lanman_auth(dce_call->conn->dce_ctx->lp_ctx)) { - return NT_STATUS_NOT_SUPPORTED; + return NT_STATUS_WRONG_PASSWORD; } /* To change a password we need to open as system */ |