Odoo Help


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.


authentification Openerp via Active directory

hedi adouni
on 11/8/13, 5:35 AM 7,353 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
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 :)

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

1 follower(s)


Asked: 11/8/13, 5:35 AM
Seen: 7353 times
Last updated: 3/16/15, 8:10 AM