Odoo Help


Windows 2008 and LDAP

Darryn Parker
on 7/29/13, 3:57 AM 3,463 views

I'm having troubles using the AD server for the LDAP modules in a Windows 2008 install for OpenERP 7.0 allinone.

I've configured the LDAP module settings but am not getting an error message whatsoever when trying to authenticate against the AD server - no timeouts, errors - nothing.

I stumbled across a need to install the python-ldap. How can I do this when I don't know where Python is installed on the server?

Everything else is working like a dream except for this LDAP integration which would then solve all of my needs.

Help would be very much appreaciated.

Darryn Parker
On 7/30/13, 11:34 PM

This is now fixed.

I changed to LDAP Base to include OC=DC-NAME and also added an AD account username and password to allow OpenERP to connect to the AD.

I had assumed that like most other software that supports LDAP, OpenERP uses the login details provided by the end user to connect to the LDAP (AD) but it doesn't. It will use either the provided LDAP binddn and password or assume that the LDAP allows anonymous inspections. I don't think was clear enough in the doco upon revision, but it's still my mistake.

I hope this helps someone else.


Daniel Reis

--Daniel Reis--
| 7 8 9
Linda-a-Velha, Portugal
--Daniel Reis--

Author of the "Odoo Development Essentials" book.

Applications Manager at Securitas Portugal

Github: https://github.com/dreispt

Twitter; @reis_pt

Daniel Reis
On 7/29/13, 5:36 AM

The PyPi index has an msi installer.

If it still doesnt work with AD's standrad port, you may wnat to try using port 3268. This is the setup that worked for me.

You might also like to now that there are community modules to keep OpenERP's users and Groups in sync with the LDAP directory.

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: 7/29/13, 3:57 AM
Seen: 3463 times
Last updated: 3/16/15, 8:10 AM