The Samba-Bugzilla – Attachment 7638 Details for
Bug 8994
winbind normalize names doesn't work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-Fix-bug-8994-winbind-normalize-names.patch
0001-Fix-bug-8994-winbind-normalize-names.patch (text/plain), 1.18 KB, created by
Andreas Schneider
on 2012-06-12 13:16:30 UTC
(
hide
)
Description:
0001-Fix-bug-8994-winbind-normalize-names.patch
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2012-06-12 13:16:30 UTC
Size:
1.18 KB
patch
obsolete
>From 1698a218fba570ec34d6e1ae08851cb2a996bd3e Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Thu, 29 Jul 2010 13:47:27 -0700 >Subject: [PATCH] Fix bug #8994 - winbind normalize names. > >We should be using the winbindd separator in this case, not hardcoding a \\ value. > >Jeremy. >(cherry picked from commit b7f029016a6a3fb98652c65f27ae80ad78048396) > >Signed-off-by: Andreas Schneider <asn@samba.org> >--- > source3/winbindd/winbindd_pam.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c >index b0b8e40..c8910d6 100644 >--- a/source3/winbindd/winbindd_pam.c >+++ b/source3/winbindd/winbindd_pam.c >@@ -1558,7 +1558,9 @@ enum winbindd_result winbindd_dual_pam_auth(struct winbindd_domain *domain, > parse_domain_user(mapped_user, name_domain, name_user); > > if ( mapped_user != state->request->data.auth.user ) { >- fstr_sprintf( domain_user, "%s\\%s", name_domain, name_user ); >+ fstr_sprintf( domain_user, "%s%c%s", name_domain, >+ *lp_winbind_separator(), >+ name_user ); > safe_strcpy( state->request->data.auth.user, domain_user, > sizeof(state->request->data.auth.user)-1 ); > } >-- >1.7.10.4 >
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+
Actions:
View
Attachments on
bug 8994
: 7638