Best way to integrate Macbooks to Windows AD

Hi Guys,

I am really new to the Mac platform!!

I am a windows administrator and I have around 30-40 MacBooks in my organization. I would like to join all this Macbooks to windows active directory and all the user should login with their AD accounts.

I saw an option in the client machines to join the domain. but its getting removed from the domain after couple of days.

I came to know that, mac has a server version and in that there is a Directory Service feature. Could any one of you give me an idea about this feature and can i use this feature to add my Macbooks to Windows Active Directory.

Please help.

Thanks

Prabeesh

MacBook, OS X Server

Posted on Jun 9, 2016 5:29 AM

Reply
4 replies

Jun 9, 2016 5:51 AM in response to Prabeesh Satmet

Welcome to the fold. Generally speaking, if you have AD, you do not want to reinvent the wheel by also deploying OD. While OS X Server can play a role in an AD environment, using it for authentication and authorization is not a good plan. You end up decentralizing your accounts/groups/passwords which is what AD is there for in the first place.


If you are binding and everything is working for some time, I suspect you may need to adjust the password reset of the binding record. When you bind a device to the domain, the computer record records a password in both AD and on the Mac. By default this password will randomize every 14 days. In some AD environments this results in a problem where the Mac will "fall off the domain" at exactly 14 days after the bind.


To test this theory, bind a Mac. After binding run this command on the Mac to set the password reset of the bind record to never reset:


sudo dsconfigad -passinterval 0


Wait 15 days. If you are still connected to the domain, that is your issue.


Run a man dsconfigad to check out the other hidden options. Not everything is presented in Directory Utility and certainly not in System Preferences.


If this is not the issue, I suggest looking into odutil. With this command you can enable debug logging of directory services. You may reveal the issue with the drop off.


(It has been my experience that the Mac is usually not the issue - there tends to be a DNS or time issue that results in the problem - are all your Macs synchronized to the AD domain controllers for time?)


Reid

Apple Consultants Network

Author - "El Capitan Server – Foundation Services"

Author - "El Capitan Server – Control & Collaboration"

Author - "El Capitan Server – Advanced Services"

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Best way to integrate Macbooks to Windows AD

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.