The branch, master has been updated
       via  7afa667 s3-auth: fix uninitialized error code in get_guest_info3().
      from  e5c7ec6 winreg: add winreg_RestoreKeyFlags to IDL.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 7afa6675ee4bdc7ed914635807c3aef5bec1ae3a
Author: Günther Deschner <[email protected]>
Date:   Wed Sep 1 10:51:13 2010 +0200

    s3-auth: fix uninitialized error code in get_guest_info3().
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 source3/auth/auth_util.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index 3b07bad..1b4a284 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;
 }
 
 /***************************************************************************


-- 
Samba Shared Repository

Reply via email to