[SCM] Samba Shared Repository - branch v3-6-test updated

Karolin Seeger kseeger at samba.org
Sun Apr 7 13:44:41 MDT 2013


The branch, v3-6-test has been updated
       via  01192ce BUG 9735: Fix winbind seperator in upn to username conversion.
      from  1df6178 Fix bug #9733 - smbcontrol close-share is not working.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit 01192ce939cf77737de8efe7072dded5c3e1da94
Author: Andreas Schneider <asn at samba.org>
Date:   Fri Mar 22 14:15:57 2013 +0100

    BUG 9735: Fix winbind seperator in upn to username conversion.
    
    Reviewed-by: Günther Deschner <gd at samba.org>
    Signed-off-by: Andreas Schneider <asn at samba.org>

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

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 3257101..d126494 100644
--- a/nsswitch/pam_winbind.c
+++ b/nsswitch/pam_winbind.c
@@ -2448,7 +2448,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


More information about the samba-cvs mailing list