The Samba-Bugzilla – Attachment 8673 Details for
Bug 9735
pam_winbind upn to username conversion doesn't work if you have defined a different seperator
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
v3-6-test and v4-0-test patch
0001-BUG-9735-Fix-winbind-seperator-in-upn-to-username-co.patch (text/plain), 945 bytes, created by
Andreas Schneider
on 2013-03-22 13:29:57 UTC
(
hide
)
Description:
v3-6-test and v4-0-test patch
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2013-03-22 13:29:57 UTC
Size:
945 bytes
patch
obsolete
>From aa81ec1aa1f090ed5d44ae332c47a9094ee63064 Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Fri, 22 Mar 2013 14:15:57 +0100 >Subject: [PATCH] BUG 9735: Fix winbind seperator in upn to username > conversion. >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Reviewed-by: Günther Deschner <gd@samba.org> >Signed-off-by: Andreas Schneider <asn@samba.org> >--- > nsswitch/pam_winbind.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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, >-- >1.8.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
gd
:
review+
ddiss
:
review+
Actions:
View
Attachments on
bug 9735
: 8673