You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by "Roberto E.L. (JIRA)" <ji...@apache.org> on 2014/07/02 12:41:25 UTC
[jira] [Created] (OPENMEETINGS-1033) Improve ldap auth type adding
SearchScope variable in config file
Roberto E.L. created OPENMEETINGS-1033:
------------------------------------------
Summary: Improve ldap auth type adding SearchScope variable in config file
Key: OPENMEETINGS-1033
URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1033
Project: Openmeetings
Issue Type: Improvement
Components: LDAP
Affects Versions: 3.0.3
Reporter: Roberto E.L.
If you use SEARCHANDBIND method in LDAP auth type, OM makes only a onelevel search because the search scope is hardcoded in LdapLoginManagement class (src/main/java/org/apache/openmeetings/ldap/LdapLoginManagement.java, line code 237).
EntryCursor cursor = conn.search(baseDn, searchQ, SearchScope.ONELEVEL, "*");
It would be a good idea to include a searchScope variable in om_ldap.cfg where you can define the scope of the search: OneLevel or SubTree.
In my ldap server, the users are stored in different branches of the ldap tree, so onelevel search only will find the users stored just one level below the base to search.
Best regards.
--
This message was sent by Atlassian JIRA
(v6.2#6252)