Feature request: split ldap.base for user and group lookups
Posted: Wed Dec 06, 2017 12:50 pm
I'm currently using this omero.ldap.user_filter:
Now I'd like to use nested groups within GBW.GS.ISPAMM.Users. With the ldap filter below that would work (tested and using on a nextcloud system)
However, because our AD is rather big this times out. On the nextcloud we can solve this by defining a more specific search base eg:
I can do this as well in omero by adjusting omero.ldap.base and for the user ldap queries that would work.
However , my group ldap searches don't work anymore at that point because they are located somewhere else at the AD structure. So a solution would be to have 2 properties instead of the omero.ldap.base:
- omero.ldap.user_base (for user queries)
- omero.ldap.group_base (for group queries)
or is this already possible somehow?
If not would you consider this in future versions?
Best,
Raf
- Code: Select all
omero.ldap.user_filter=(memberOf=CN=GBW.GS.ISPAMM.Users,OU=ISPAMM,OU=groups_sec,OU=GBW,OU=kuleuven,DC=luna,DC=kuleuven,DC=be)
Now I'd like to use nested groups within GBW.GS.ISPAMM.Users. With the ldap filter below that would work (tested and using on a nextcloud system)
- Code: Select all
(memberOf:1.2.840.113556.1.4.1941:=CN=GBW.GS.ISPAMM.Users,OU=ISPAMM,OU=groups_sec,OU=GBW,OU=kuleuven,DC=luna,DC=kuleuven,DC=be)
However, because our AD is rather big this times out. On the nextcloud we can solve this by defining a more specific search base eg:
- Code: Select all
OU=GBW,OU=pers,OU=users,OU=kuleuven,DC=luna,DC=kuleuven,DC=be
I can do this as well in omero by adjusting omero.ldap.base and for the user ldap queries that would work.
However , my group ldap searches don't work anymore at that point because they are located somewhere else at the AD structure. So a solution would be to have 2 properties instead of the omero.ldap.base:
- omero.ldap.user_base (for user queries)
- omero.ldap.group_base (for group queries)
or is this already possible somehow?
If not would you consider this in future versions?
Best,
Raf