git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1df6178
)
BUG 9735: Fix winbind seperator in upn to username conversion.
author
Andreas Schneider
<asn@samba.org>
Fri, 22 Mar 2013 13:15:57 +0000
(14:15 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Sun, 7 Apr 2013 19:45:48 +0000
(21:45 +0200)
Reviewed-by: Günther Deschner <gd@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
nsswitch/pam_winbind.c
patch
|
blob
|
history
diff --git
a/nsswitch/pam_winbind.c
b/nsswitch/pam_winbind.c
index 325710122396b0d5f2ace90563153716b195b52e..d1264943a79c8d9ac9728bb2756a7b37651f9e5e 100644
(file)
--- 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,