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:
parent
2493f670d3
commit
221efba528
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user