LDAP Configuration with Microsoft Active Directory (Windows 2012 R2 Server)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
08-01-2016
06:54 AM
- last edited on
03-04-2025
05:47 AM
by
kh-richa_mig
In order to Configure LDAP Server use the following settings :
1. Create a general user for ldap search called ldap under users organization unit.
2. Change the LDAP Mappings as followed :
- User Mappings
- User Group Mappings
- User Group Membership Mappings

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 08-09-2016 04:15 AM
Great Information, Thanks for providing.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 08-09-2016 01:10 PM
This is very helpful, thanks.
I posted this question on its own a few months ago but didn't get anywhere, so just for kicks I'm going to post it here in a thread that might know something about AD.
We have an issue with our JSS where AD users suffer from severe lags when creating/modifying policies or configuration profiles. Clicks take forever to be recognized and sometimes pages just timeout entirely. However, if we log in as a local admin or other local user, the issues immediately go away.
I used the screenshots above to verify that all of our settings are correct and they appear to be so.
Thoughts?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 08-09-2016 01:48 PM
- Is your JSS installation on the same network of the AD ?
Are u using JSS installed on a windows machine or linux ?
If it's installed on a linux machine like i did, then you must modify the resolve.conf file:
domain domain.com
nameserver x.x.x.x (the ip address of the AD must be the first nameserver)Also if you upgraded the JSS to the latest version 9.93 , then you must upgrade the java version to 1.8
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
In order to switch between the old java and the new one when you have different versions run the following command from the terminal:
sudo update-alternatives --config java
Press enter to keep the current choice[*], or type selection number:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 08-09-2016 02:07 PM
- This is where it gets complicated. We have two JSS's in a DMZ behind a load balancer. They use a VIP set up specifically for LDAPS also in the DMZ. However, our management JSS is not in the DMZ, it is on our internal.pretendco.com domain. Currently, it is configured to use the same LDAPS config. I wasn't sure what would happen if I entered two LDAP servers. I have to have the DMZ one tho because without it, our provisioners cannot log into Casper Imaging.
- Our JSS in on RHEL 6.8. In the resolv.conf file we have two IP addresses, but I don't know if they're DC's as opposed to just plain DNS. The file is managed by Puppet, though, so I don't know if I can edit it anyway.
- Our JSS is still 9.82 due to minor complications from a weekend attempt at upgrading. With that said, my Java update was successful so I just need to flush my giant log files before reattempting the upgrade. But to be clear, these issue have been ongoing for months.
