powered by Jive Software

Search All OUs using LDAP?

I hope someone can steer me in the right direction.

I am using Openfire, with sparkweb. I have set up the LDAP properties pointing to a base DN of ‘OU=IT, DC=test, DC=co, DC=uk’

everyone from that group can now access using the AD account name and password fine.

However, the administrators have configured AD in such a way that all users are not in one OU.

They have split the users into seperate OU’s ie.

say the domain is ‘test.co.uk

Some agents are in say ‘OU=Agents, OU=Glasgow, DC=test, DC=co, DC=uk’

Some agents are in say ‘OU=Agents, OU=Edinburgh, DC=test, DC=co, DC=uk’

Some agents are in say ‘OU=TLeaders OU=London, DC=test, DC=co, DC=uk’

Some agents are in say ‘OU=IT, DC=test, DC=co, DC=uk’

Is there a way that openfire can search ALL OU’s in the AD to find the user and bind?

As we require all users to have access.

Thanks in advance.

Don’t use an OU in your baseDN. Just use the DC parts.

Thank you so much, i guess if your sensible about it, it’s obvious

Thanks