Closed vtGeo closed 7 years ago
If you want to set env.put(Context.REFERRAL,"follow"); , it can be done within the "connect" method of the following class (you'll need to recompile): https://github.com/Esri/geoportal-server/blob/develop/geoportal/src/com/esri/gpt/framework/security/identity/ldap/LdapClient.java
hey thanks a lot! However, I meant to post this question in the geoportal-server-catalog project... sorry about that. I'll close this one and I already posted the same question on the other project.
Hello!
This is not an issue but rather a question. I want to connect the catalog to our LDAP/Active Directory. Since our Active directory structure is a bit complex, I need the catalog to search from the root. In order to do that, I think that I simply must set env.put(Context.REFERRAL,"follow"); at some point, but I'm having a hard time finding where. Also, I tried setting user-search-base="" thinking that it might be searching from the root, but no success (NameNotFoundException).
Any clues? --Thanks a lot!
Here a post that explains pretty well the situation. Stack Overflow Post