git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f139ae
)
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
Andreas Schneider
<asn@cryptomilk.org>
Fri, 22 Mar 2013 15:18:06 +0000
(16:18 +0100)
Reviewed-by: Günther Deschner <gd@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Mar 22 16:18:06 CET 2013 on sn-devel-104
nsswitch/pam_winbind.c
patch
|
blob
|
history
diff --git
a/nsswitch/pam_winbind.c
b/nsswitch/pam_winbind.c
index 682af8ee88044f88c17fc3aacd7f2c863b726c7d..9f855564bcca4af13ea8872e999b38eb2a47b4b8 100644
(file)
--- a/
nsswitch/pam_winbind.c
+++ b/
nsswitch/pam_winbind.c
@@
-2430,7
+2430,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,