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:
3bdf100
)
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:46:04 +0000
(21:46 +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 29d6f7c7bc37de8c7bebfeccab0f8c54d90887d7..1cc6b83efbe58ee8d6e233e9b36f0b8dbd1aca21 100644
(file)
--- a/
nsswitch/pam_winbind.c
+++ b/
nsswitch/pam_winbind.c
@@
-2449,7
+2449,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,