Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

So I successively joined some Mac computers (OSX 10.8) to our AD domain, but I cant figure out how to force users to log in through the domain credentials. Suppose the local user before joining to the Domain was 'joedoe', and that there is a user by the same name in the domain. Currently, if the password for the local 'joedoe' is different than the domain 'joedoe', it is impossible to log in with the domain credentials. Is there a way to force the Mac to login through the domain, regardless of the local account?

share|improve this question
add comment

1 Answer

This may not answer exactly your question, but that's how we're planning to transition our 100+ (local) users on Mac (10.7 and soon 10.8).

First you join the Mac to the domain, making sure the uid and gid are correctly mapped (you have to enter those in AD and use Directory Utility or command line to do the mapping). For us is:

Mac <-> AD

uid <-> uidNumber

gid <-> gidNumber

ggid <-> gidNumber

Then, delete the local user from command line, preserving the home folder (and its permission):

sudo dscl . -delete /Users/

Then AD users can just login and they will be owner of the home folder (if the uid/gid is correctly mapped). We're looking at a way to script the whole thing and deploy it via puppet.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.