Odoo Help

Welcome!

This community 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.

1

Windows 2008 and LDAP

By
Darryn Parker
on 7/29/13, 3:57 AM 2,534 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.

0
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.

0

Daniel Reis

--Daniel Reis--
3436
| 6 7 9
Lisbon, 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.

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 7/29/13, 3:57 AM
Seen: 2534 times
Last updated: 3/16/15, 8:10 AM