mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +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)
|
struct dom_sid *sid, uid_t *uid)
|
||||||
{
|
{
|
||||||
const char *attrs[] = { "sAMAccountName", "uidNumber",
|
const char *attrs[] = { "sAMAccountName", "uidNumber",
|
||||||
"sAMAccountType", NULL };
|
"sAMAccountType", "unixName", NULL };
|
||||||
int ret;
|
int ret;
|
||||||
const char *s;
|
const char *s;
|
||||||
TALLOC_CTX *tmp_ctx;
|
TALLOC_CTX *tmp_ctx;
|
||||||
|
Reference in New Issue
Block a user