Author: abartlet Date: 2006-08-31 13:07:51 +0000 (Thu, 31 Aug 2006) New Revision: 17967
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17967 Log: Somewhere along the line we lost unixName here, and so lost the ability for 'administrator' to log in as unix user 'root'. Andrew Bartlett Modified: branches/SAMBA_4_0/source/dsdb/common/sidmap.c Changeset: Modified: branches/SAMBA_4_0/source/dsdb/common/sidmap.c =================================================================== --- branches/SAMBA_4_0/source/dsdb/common/sidmap.c 2006-08-31 11:35:03 UTC (rev 17966) +++ branches/SAMBA_4_0/source/dsdb/common/sidmap.c 2006-08-31 13:07:51 UTC (rev 17967) @@ -126,7 +126,7 @@ 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;