diff options
author | Günther Deschner <gd@samba.org> | 2010-09-01 10:51:13 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-09-01 10:51:13 +0200 |
commit | 7afa6675ee4bdc7ed914635807c3aef5bec1ae3a (patch) | |
tree | df330ea77d47779609fb764ba915aba2d1eabf5d /source3/auth | |
parent | e5c7ec66982e6d2705c7a103aff5502f441404bb (diff) | |
download | samba-7afa6675ee4bdc7ed914635807c3aef5bec1ae3a.tar.gz samba-7afa6675ee4bdc7ed914635807c3aef5bec1ae3a.tar.bz2 samba-7afa6675ee4bdc7ed914635807c3aef5bec1ae3a.zip |
s3-auth: fix uninitialized error code in get_guest_info3().
Guenther
Diffstat (limited to 'source3/auth')
-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; } /*************************************************************************** |