The branch, master has been updated
       via  9624ca4 BUG 9735: Fix winbind seperator in upn to username 
conversion.
      from  1f139ae s3:waf fix build on AIX

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


- Log -----------------------------------------------------------------
commit 9624ca4f884444da3810c89c97942faef3360df4
Author: Andreas Schneider <[email protected]>
Date:   Fri Mar 22 14:15:57 2013 +0100

    BUG 9735: Fix winbind seperator in upn to username conversion.
    
    Reviewed-by: Günther Deschner <[email protected]>
    
    Autobuild-User(master): Andreas Schneider <[email protected]>
    Autobuild-Date(master): Fri Mar 22 16:18:06 CET 2013 on sn-devel-104

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

Summary of changes:
 nsswitch/pam_winbind.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c
index 682af8e..9f85556 100644
--- a/nsswitch/pam_winbind.c
+++ b/nsswitch/pam_winbind.c
@@ -2430,7 +2430,7 @@ static char* winbind_upn_to_username(struct pwb_context 
*ctx,
                return NULL;
        }
 
-       return talloc_asprintf(ctx, "%s\\%s", domain, name);
+       return talloc_asprintf(ctx, "%s%c%s", domain, sep, name);
 }
 
 static int _pam_delete_cred(pam_handle_t *pamh, int flags,


-- 
Samba Shared Repository

Reply via email to