1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

BUG 9735: Fix winbind seperator in upn to username conversion.

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
This commit is contained in:
Andreas Schneider 2013-03-22 14:15:57 +01:00 committed by Andreas Schneider
parent 1f139ae2d1
commit 9624ca4f88

View File

@ -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,