The branch, master has been updated
       via  1c1a883... Fix the build, missing ->. Jeremy.
      from  ce4542f... Final part of fix for bug 6793 - winbindd crash with 
"INTERNAL ERROR: Signal 6" Don't use mapped_user uninitialized. Jeremy.

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


- Log -----------------------------------------------------------------
commit 1c1a883bd01d0a474787f984af13543c0fd9ef6b
Author: Jeremy Allison <j...@samba.org>
Date:   Wed Oct 14 12:36:02 2009 -0700

    Fix the build, missing ->.
    Jeremy.

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

Summary of changes:
 nsswitch/pam_winbind.c          |    4 ++--
 source3/winbindd/winbindd_pam.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c
index fd06688..fdb5be3 100644
--- a/nsswitch/pam_winbind.c
+++ b/nsswitch/pam_winbind.c
@@ -980,8 +980,8 @@ static bool winbind_name_to_sid_string(struct pwb_context 
*ctx,
                                       char *sid_list_buffer,
                                       int sid_list_buffer_size)
 {
-       const char* sid_string;
-       char *sid_str;
+       const char* sid_string = NULL;
+       char *sid_str = NULL;
 
        /* lookup name? */
        if (IS_SID_STRING(name)) {
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index c9fd227..fe64855 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -831,7 +831,7 @@ void winbindd_pam_auth(struct winbindd_cli_state *state)
            ||NT_STATUS_EQUAL(name_map_status, NT_STATUS_FILE_RENAMED)) {
                fstrcpy(mapped_user, mapped);
        } else {
-               fstrcpy(mapped_user, state->request.data.auth.user);
+               fstrcpy(mapped_user, state->request->data.auth.user);
        }
 
        if (!canonicalize_username(mapped_user, name_domain, name_user)) {


-- 
Samba Shared Repository

Reply via email to