Odoo Help

0

authentification Openerp via Active directory

By
hedi adouni
on 11/8/13, 5:35 AM 9,749 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 :192.168.2.200
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
0
hedi adouni
On 11/8/13, 12:28 PM

Voila, I solved the problem, this is my final configuration: Adresse du serveur LDAP 192.168.2.200
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.

Register

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)

Stats

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