logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



How to define multiple OU Base DN in Apache config

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
onlyabhi52



Joined: 26 Sep 2018
Posts: 1
Location: India , Gurugram

PostPosted: Thu 27 Sep '18 4:50    Post subject: How to define multiple OU Base DN in Apache config Reply with quote

Hi Team
Please can some one suggest me the setup which we should follow in defining Multiple OU for Base DN in apache config file while using it with SVN Edge.
Back to top
mraddi



Joined: 27 Jun 2016
Posts: 89
Location: Schömberg, Baden-Württemberg, Germany

PostPosted: Thu 27 Sep '18 15:45    Post subject: Reply with quote

Hello,

have not checked functionality in apache's config, but as filter with ldapsearch it was working fine for me:

ldapsearch -D "cn=admin,dc=example,dc=com" -W -H ldaps://127.0.0.1 -b dc=example,dc=com -x "(&(|(ou:dn:=department1)(ou:dn:=department3))(uid=user123))" dn

With this search-filter "(&(|(ou:dn:=department1)(ou:dn:=department3))(uid=user123))" I retrieve all users from within ou=department1,dc=example,dc=com and ou=department3,dc=example,dc=com but NOT from ou=department2,dc=example,dc=com

If this is not working as expected you might create a groupOfNames containing all users from department1 and department3 and allow only members of this group to login?

Hope this helps?

Best regards
Matthias

P.S.: ldap-filter based on: https://stackoverflow.com/questions/7472994/using-dn-in-search-filter
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1