Posted on 07-10-2014 07:39 AM
Hi-
I'm trying to use AD for my users and group logins to the JSS.
My user mappings seem to be correct. I can test users, I can add a user from AD, give it JSS permissions and my AD user and PW work nicely.
My User Group mappings seem to be correct, as my test shows the groups in my AD environment. When I add one of these groups to the JSS and give it permission, I cannot login as one of the users in the group.
after speaking to support they asked if my "User Group Membership mappings" saw that my user was in that AD group. The result is NO.
I've tried different combinations and have not had any success. Any suggestions?
we are on 9.32
Thanks
Dan
Solved! Go to Solution.
Posted on 07-11-2014 04:57 AM
I saw @bentoms advised to start using the Directory Utility on a mac that is already bound to the domain.
I found Directory Utility to be easier to use than Apache Studio, ended up using both to get there. Apache studio does not require the mac to be bound to AD.
I had our AD admin create a test group and put two users into that group.
Please take screen captures of your current settings before you try anything new.
There are 4 sections that need to be configured under the gear - System Settings - LDAP servers. Pick or add your server.
Here is my server connection
https://www.dropbox.com/s/7f5v21ohu3p9a3x/Screen%20Shot%202014-07-11%20at%206.29.22%20AM.JPG
I Started with the User Mappings. Even though I was able to get my users to populate with a couple of other settings, these ended up being the ones that worked with the group settings.
https://www.dropbox.com/s/p3zwizoh9wnk0b7/User_Mappings.JPG
There is a test button to see if your settings work. Click it and test the user.
When testing you may need to do the full username i.e.; user@mycompay.com
Once I saw my user, we moved on to User Group Mappings.
https://www.dropbox.com/s/znhawrwuivk7fxw/Group%20Mappings.JPG
Now test your Group Mappings. In my testing I was able to do partial group matches. If my group was called JAMF Nation Users, I was able to find it with just JAMF.
When you can see your test group, it's time to move onto User Group Membership.
https://www.dropbox.com/s/gdhfezq11nqh5kt/User%20Group%20membership%20Mappings.JPG
Back to the test button - User Group Membership Mapping tab
enter user and the full group name, when the result is YES....time to pop the corks
https://www.dropbox.com/s/yoii0i0tb1khcnk/Test_User_wGroup.JPG
But does it really work? I removed my AD user from the JSS and made sure I had a local admin account setup to get back in if this all failed. Added my JAMF Nation Users group, gave it full admin privs.....logged out. NOW I could log in with my AD user that was part of the JAMF Nation Users group.
That's what worked for us, let me know if you have troubles with the links
Hope it helps
Dan
Posted on 07-10-2014 01:56 PM
Called Support again and Thanks to Juston, Jason and Bryant we are good to go.
Posted on 07-10-2014 03:23 PM
We have wanted to use AD groups but it seems to trample all over out AD users' access. Any voodoo secrets to share? Maybe we need a JAMF article how to mix them? :)
Posted on 07-11-2014 04:57 AM
I saw @bentoms advised to start using the Directory Utility on a mac that is already bound to the domain.
I found Directory Utility to be easier to use than Apache Studio, ended up using both to get there. Apache studio does not require the mac to be bound to AD.
I had our AD admin create a test group and put two users into that group.
Please take screen captures of your current settings before you try anything new.
There are 4 sections that need to be configured under the gear - System Settings - LDAP servers. Pick or add your server.
Here is my server connection
https://www.dropbox.com/s/7f5v21ohu3p9a3x/Screen%20Shot%202014-07-11%20at%206.29.22%20AM.JPG
I Started with the User Mappings. Even though I was able to get my users to populate with a couple of other settings, these ended up being the ones that worked with the group settings.
https://www.dropbox.com/s/p3zwizoh9wnk0b7/User_Mappings.JPG
There is a test button to see if your settings work. Click it and test the user.
When testing you may need to do the full username i.e.; user@mycompay.com
Once I saw my user, we moved on to User Group Mappings.
https://www.dropbox.com/s/znhawrwuivk7fxw/Group%20Mappings.JPG
Now test your Group Mappings. In my testing I was able to do partial group matches. If my group was called JAMF Nation Users, I was able to find it with just JAMF.
When you can see your test group, it's time to move onto User Group Membership.
https://www.dropbox.com/s/gdhfezq11nqh5kt/User%20Group%20membership%20Mappings.JPG
Back to the test button - User Group Membership Mapping tab
enter user and the full group name, when the result is YES....time to pop the corks
https://www.dropbox.com/s/yoii0i0tb1khcnk/Test_User_wGroup.JPG
But does it really work? I removed my AD user from the JSS and made sure I had a local admin account setup to get back in if this all failed. Added my JAMF Nation Users group, gave it full admin privs.....logged out. NOW I could log in with my AD user that was part of the JAMF Nation Users group.
That's what worked for us, let me know if you have troubles with the links
Hope it helps
Dan
Posted on 08-08-2014 01:08 AM
Have you checked that the LDAP in JSS is looking at the root level only in AD?
In System Settings >> LDAP Server >> Mapping, check that you only have DC=domain, DC=com under Search Base
Posted on 11-14-2014 01:16 AM
Does your E-Mail Notifications work for User added via LDAP Groups? Thanks
Posted on 07-23-2015 07:51 AM
This was soooooooo helpful!!!!!
Posted on 08-04-2015 05:25 PM
This post was awesome!
One question, though:
I've got all the mappings working so that the test cases in the LDAP settings work as intended, but when I go into the JSS User Accounts & Groups section in the JSS, the groups show up, but the Members still shows as "N/A". I definitely have members in each of the groups in my Active Directory.
Any thoughts?
Posted on 08-05-2015 08:23 AM
Hi @krispayne my groups show the same under members. Does authentication work for the users in those groups?
Dan
Posted on 08-05-2015 09:43 AM
@dderusha, I am able to login with my test AD account, so no issues there, just was curious to see the grouped members in the JSS vs. going into AD
Posted on 12-24-2015 01:15 PM
Related to this, I've been trying to get an Extension attribute working that lists all security groups from AD that the user is a part of. At the moment, the extension attribute is only displaying 1 security group, not all of them. Any ideas if I'm doing something wrong?
Extension Attribute listed on computer:
LDAP Security Group Extension Attribute settings:
JSS LDAP User Group Membership Mappings Settings:
Posted on 02-03-2022 06:27 AM
This helped so much and solved my issues on Computer Records, Management, Policies, I was getting an LDAP error and once I changed it to User Object the error went away!
Specific Error: ERROR CALCULATING POLICIES IN SCOPE
Check that your LDAP server is properly configured and accessible
Posted on 12-07-2017 08:24 AM
Thank you so much for the post @dderusha I've been trying to figure out why I couldn't scope to a security group in LDAP and making sure that our LDAP was set up properly made everything work.