diff options
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index 3ebfe391ac..97ed381824 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -6698,7 +6698,7 @@ static enum samr_ValidationStatus samr_ValidatePassword_Change(TALLOC_CTX *mem_c NTSTATUS status; if (req->password.string == NULL) { - SAMR_VALIDATION_STATUS_SUCCESS; + return SAMR_VALIDATION_STATUS_SUCCESS; } if (strlen(req->password.string) < dom_pw_info->min_password_length) { ZERO_STRUCT(rep->info); |