Hey guys,
as mentioned in another discussion, we have problems when multiple accounts with the same name exists in a AD structure. Situation is the following:
The issues started when I created additional accounts in another AD forest. First, I had only one account (lets say "account123") in europe.company.com. Since two weeks, I have accounts with the same short name in china.company.com and americas.company.com too. This is the normal behavior in the customers company.
This was the beginning of the "OS X needs to repair your library" error. The home folder is created, but no settings are applied from the user template. It seems that OS X always uses the first account found in the AD structure to set the permissions of the mobile account. There is no change when I use the UPN or NetBIOS name for login. OS X always seems to use the first account found in AD.
When I open the home folder with cmd+shift+H, the home folder points to /var/empty.
When "create mobile account" is disabled in the AD binding, I can login without problems. Settings are applied from the user template, no "OS X needs to repair...". BUT, with an "ls -la" in Terminal, owner and group of the local account is another user than the logged in user.
Example 1:
- "create mobile account" is enabled
- login with "account123@americas.company.com" in the login window.
- the home folder in /Users will be created with the wrong permissions and "OS X needs to repair bla bla" will appear
- no settings from the user template are applied
- the permissions for /Users/account123 are set to account123:chinaDomain Users
Example 2:
- "create mobile account" is disabled
- login with "account123@americas.company.com" in the login window.
- a temporary home folder in /Users will be created and login works as expected
- settings from the user template are applied
- the permissions for /Users/account123 are set to account123:chinaDomain Users
This is a reproducible behavior from 10.9 up to 10.10.3. I haven't tested 10.8.
Has anyone seen a similar behavior in his environment? Any suggestions other than raising a ticket to Apple?
Thanks,
Michael