Odoo Help


authentification Openerp via Active directory

hedi adouni
on 11/8/13, 5:35 AM 11,093 views

hi, I installed the ldap module that allows me to authenticate users via active directory. So I followed this tutorial: openerpmanagementsystem.blogspot.com/2012/02/configuring-ldap-authentication-with.html. After the module configuration, nothing happened. I looked at the server-openerp.log file and I noticed this error: "openerp.addons.auth_ldap.users_ldap: An LDAP exception occurred: {'info': '00000000: LdapErr: DSID-0C090CF0, comment: Error initializing SSL/TLS, data 0, vece', 'desc': 'Server is unavailable'."

I notify that I installed openerp on ubuntu 12.04 LTS and the host is joined the active directory domain succefully.

so can sombody help me to solve the problem here ?

Are you sure your Openerp server can see the Active Directory server IP and Port? We got this working at our company. I'll check our documentation and see if we had to do anything special.

7251033 Canada Corporation, Brian Martin
on 11/8/13, 10:44 AM

thank you for your response I unchecked use LTS and the problem goes away, but now I got another error in the log file: ERROR TestBase openerp.addons.auth_ldap.users_ldap: LDAP bind failed. I do not know how to test the connection between openerp and active directory. Here is my configuration: LDAP Adresse du serveur LDAP :
Port du serveur LDAP : 389 LDAP binddn : CN=administrateur,OU=,DC=domain,DC=local
Mot de passe LDAP : ** Base LDAP : DC=domain,DC=local
Filtre LDAP : sAMAccountName=%s

hedi adouni
on 11/8/13, 11:23 AM
On 10/19/17, 5:58 AM

The problem is that you need to have a Domain Administrator to can authentificate AD user's to Odoo.
For me is a security problem.

I try to find a solution to bypass the usage of a Admin account.

hedi adouni
On 11/8/13, 12:28 PM

Voila, I solved the problem, this is my final configuration: Adresse du serveur LDAP
Port du serveur LDAP 389 LDAP binddn CN=administrateur,CN=users,DC=domain,DC=local
Mot de passe LDAP

Base LDAP CN=users,DC=domain,DC=local Filtre LDAP sAMAccountName=%s

et merci :)

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

1 follower(s)


Asked: 11/8/13, 5:35 AM
Seen: 11093 times
Last updated: 10/19/17, 5:58 AM