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

r17967: Somewhere along the line we lost unixName here, and so lost the

ability for 'administrator' to log in as unix user 'root'.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2006-08-31 13:07:51 +00:00 committed by Gerald (Jerry) Carter
parent 2493f670d3
commit 221efba528

View File

@ -126,7 +126,7 @@ _PUBLIC_ NTSTATUS sidmap_sid_to_unixuid(struct sidmap_context *sidmap,
struct dom_sid *sid, uid_t *uid)
{
const char *attrs[] = { "sAMAccountName", "uidNumber",
"sAMAccountType", NULL };
"sAMAccountType", "unixName", NULL };
int ret;
const char *s;
TALLOC_CTX *tmp_ctx;