Odoo Help


LDAP Authentication issues - ldap base

Jason Walker
on 2/3/14, 2:25 PM 1,085 views

So it seems like the only way I can get LDAP auth working with our AD server is to specify the OU in the base. However, our users are broken up into multiple OU's. How exactly do I specify a base that will allow the LDAP plugin to find all the users in the different OU's? I can't seem to get this working.

My settings:
bind: CN=Administrator,CN=Users,DC=domain,DC=local
base: OU=Information Technology,DC=domain,DC=local
filter: sAMAccountName=%s

It works this way, but obviously will only authenticate users in the "Information Technology" OU. If I remove the OU from the base, it won't authenticate anybody at all. Is there any way to do this?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 2/3/14, 2:25 PM
Seen: 1085 times
Last updated: 3/16/15, 8:10 AM