mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +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 used to be commit 221efba528
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
c3d6fea11f
commit
fc7f8236bd
@ -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;
|
||||
|
Reference in New Issue
Block a user