From fc7f8236bd35d299efe9a17eff53d75c7509bc37 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 31 Aug 2006 13:07:51 +0000 Subject: 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 221efba5289b8bbb54b770c556f19bfbdc9ee216) --- source4/dsdb/common/sidmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/dsdb/common/sidmap.c') 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; -- cgit