diff options
-rw-r--r-- | source4/dsdb/common/sidmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/common/sidmap.c b/source4/dsdb/common/sidmap.c index 70bf8f0ecb..73bfde2794 100644 --- a/source4/dsdb/common/sidmap.c +++ b/source4/dsdb/common/sidmap.c @@ -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; |