AD Groups empty in profile manager

So I'm continuing with my struggle to get PM working - just to manage a dozen or so Macs.


Having bound to AD (bound,unbound, rebound many times) I always seem to get varying results in the Groups of the Server app. Sometimes I get a lot of groups showing their members, sometimes barely any or a mixture of the two.


Obviously I'm still having an issue where PM doesn't deploy any settings to AD groups, but with the server reading the groups so inconsistently I guess that's the first problem to sort out.


I know PM is pretty well known for not working with AD groups so am I wasting my time or is there a better way to work around this? The daft thing is every single AD user appears in the Users tab, and their Group membership is shown correctly!

Posted on Feb 21, 2018 4:24 AM

Reply

Similar questions

2 replies

Feb 21, 2018 8:38 AM in response to NSSTM

Your experience of Server app in an AD environment is pretty much standard in my experience. I've been involved in many mac AD integrations over the years at many different locations and I've seen similar behaviour time and time again. It also happened when WorkGroup Manager (the forerunner to Profile Manager) was used. I think its a 'feature' of the app and not likely to be changed any time soon. However I have some hope that Apple's next offering may, finally, change this behaviour and become the management tool many of us have wanted?


As far as I know there is no 'cure'. However there are a few things you should be aware of that may help? First question is what tld does your AD domain use? If its .local then you're on a loser already. As it happens, Server App/Profile Manager reliability in reading AD groups tends to be worse when internal DNS Services are based around .local. This is the main reason why I've seen this behaviour time and time again over the years. Other reasons (again DNS based) could be related to IPv6. If your AD domain is not using IPv6 then disable it on all your macs, especially the mac server. How do you disable it? Launch terminal and issue this command:


sudo networksetup -setV6off Ethernet

sudo networksetup -setV6off Wi-Fi


The above is for wired and wireless network connections. If it was me I would not use macs over Wi-Fi for anything meaningful in an AD environment. Too flakey. If you're not using Wi-Fi then don't run the second command. Finally heavily proxied networks can also cause problems. If you can add the mac server to a proxy whitelist then do so as it can alleviate the problem, sometimes. OS X (and especially Profile Manager) does play well generally behind a proxy.


Not seeing the Groups is not really a show stopper and provided you can 'see' groups in the way you already do and you can list them in dscl (a command line utility) or Directory Utility then you should be OK? However its not great if you're trying to apply policies at group level. What I normally do is manage the devices directly instead or create a Group (this would be an OD group) within the Server App, search for desired AD groups and when they appear add them to the OD group. Basically you're nesting AD groups within a single OD group. First time a user within the AD group logs in, they'll pull the relevant policy you've assigned to the OD group and this will be cached locally on the mac workstation they log into. This will stay with that workstation so the next time they log in they'll get the same policies irrespective of whether the Server App can 'see' AD groups or not. In my experience this tends to work when users move from mac workstation to mac workstation.


None of the above may be applicable to your situation and none of it may be useful, but its something you can easily try and in my experience it helps. You've nothing to lose at any rate.

Feb 21, 2018 10:16 AM in response to Antonio Rocco

Thanks for that detailed reply - its certainly made me feel better about what I've been trying to do!


We don't have a .local domain so thats one thing off the list. The weird thing about the AD groups is if I unbind/bind the server to AD I can get different results. Of course unbinding loses any PM settings I've created.


I can work with PM if it handled nested AD groups but that definitely doesn't work in my experiences. We use nested groups but can apply settings to the 'unnested' groups it just means lots of duplication of settings. In PM nested groups will show users but not the groups, which is an odd thing. Normal groups will show their users - most of the time, although it depends on whether the bind worked or not. I did try creating OD groups, and adding the AD groups which worked - for a while, then it just seemed to stop applying the profiles to those groups. I've rebuilt PM a few times recently trying to get this working.


I'll try disabling ipv6 as well - we're only using wired in this scenario.


I liked WGM, it generally did everything we needed and pretty reliably in our experience, a shame apple gave us PM and never really supported it.

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.

AD Groups empty in profile manager

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