diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/auth/auth_util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index 3b07bad6bf..1b4a284945 100644 --- a/source3/auth/auth_util.c +++ b/source3/auth/auth_util.c @@ -639,7 +639,6 @@ static NTSTATUS get_guest_info3(TALLOC_CTX *mem_ctx, struct dom_sid domain_sid; struct passwd *pwd; const char *tmp; - NTSTATUS status; pwd = getpwnam_alloc(mem_ctx, guest_account); if (pwd == NULL) { @@ -677,7 +676,7 @@ static NTSTATUS get_guest_info3(TALLOC_CTX *mem_ctx, info3->base.primary_gid = BUILTIN_RID_GUESTS; TALLOC_FREE(pwd); - return status; + return NT_STATUS_OK; } /*************************************************************************** |