Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

How to Configure OpenERP 7.0 to connect to LDAP ?

Subscriure's

Get notified when there's activity on this post

This question has been flagged
authenticationldapv7
3 Respostes
28547 Vistes
Avatar
Enyx SA

I can't find any documentation on the Internet explaining how to Setup OpenERP v7.0 to use LDAP as an user database.

It seems like there is an auth_ldap module in the addons directory, but I can't find anything to configure this.

Best Regards

1
Avatar
Descartar
Lithin T

I did the above, but how can i check the Connection between OPENERP and LDAP server is success or not.

Avatar
Antoine Huvelle (ahu)
Best Answer

Once installed, the ldap module will add a new table inside the "company" records. You'll be able to access through:

Settings > Companies

You select your company and then go on the configuration tab. You'll then enter your connection info.

Step by step screenshot to be given when enough karma :s

1
Avatar
Descartar
sulzi

is there anywhere else a step by step configuration guide available?

Avatar
Ong Li Wee
Best Answer

Check out the link below

http://openerpmanagementsystem.blogspot.jp/2012/02/configuring-ldap-authentication-with.html

1
Avatar
Descartar
Dwight Butler

The ldap authentication works great for a user that already exixts in openerp, but if it has to create a new user from ldap or active directory you get an error message. File "/opt/openerp/server/openerp/addons/auth_ldap/users_ldap.py", line 255, in login cr, SUPERUSER_ID, conf, login, entry) File "/opt/openerp/server/openerp/addons/auth_ldap/users_ldap.py", line 195, in get_or_create_user default={'active': True}) TypeError: copy() got an unexpected keyword argument 'default'

Steve

Face the same error ...

Avatar
Steve
Best Answer

I downloaded the openLDAP virtualbox version from turnkeylinux.org, import it into virtualbox.

after that add a new group names people, so that i got ou=people, and add an user under ou=people.

then i follow the setting from this link http://www.zbeanztech.com/blog/can-joomla-users-login-openerp-using-ldap

below are some setting i copy from that link:

OpenERP-LDAP

 6.Install python package,otherwise users_ldap module in openerp will not function
            sudo apt-get install python-ldap

 7.Install users_ldap module in the openerp which comes by default with openerp-server addons

 8.Configuration at the openerp side,
       "Administration-->Companies-->Companies",Your company profile and enter following details in ldap parametres
          LDAP Server Address : your machine IP (127.0.0.1 <-if ldap running on the same server)
          LDAP Server Port   : 389
         LDAP Bind Dn   :   cn=admin,dc=example,dc=com (if you had changed dc component then enter the same here and for followings)
         LDAP password  :   Your admin ldap password
         LDAP Base      :   ou=people,dc=example,dc=com        <-- change 'dc' here
         LDAP filter    :  (uid=%s)
         create user    : checked
         Model User     : demo user
         sequence      :  10

then you can login if your ldap user is exist in openERP, but got ERROR if the new user your create in openLDAP but not in openERP, hope some one can solve this problem.

Thank you.

best regards

1
Avatar
Descartar
Steve

I found the problem and solved this ... in addons/auth_ldap/users_ldap.py, line 225, the ldap_server default they hardcode it to 127.0.0.1, but my ldap server is in another server, so I change this default to my ldap server's IP, then I can get the new user information from ldap server, this solved the default() error. so some one have to modify this programming method so that it will get the ldap server IP from users setting if the setting is existed. but another thing is if I create a new user in openERP, it will not update to ldap server ???

Manuel Villar Guijarro

Thank you! I was stuck wondering what should I enter in the filter field.

sengottuvel

I am getting " LDAP bind failed " error. My values are --> ldapbindin --> cn=admin,dc=mail.kgtest,dc=com, ldap base --> ou=admin,dc=mail.kgtest,dc=com . I don't know the cn,dc,dc values. Kindly help me what value need to give instead of the above value.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
LDAP correct syntax for ldap-filter
authentication ldap v7
Avatar
Avatar
Avatar
Avatar
Avatar
5
d’ag. 19
29689
auth_ldap raises a 'Record does not exist or has been deleted.' on first connection
authentication ldap 9.0
Avatar
0
d’abr. 20
5509
Authentication_ldap install module error Odoo 11 Solved
authentication ldap odoov11
Avatar
Avatar
1
de nov. 18
7220
Odoo 11 ldap authentication Solved
authentication ldap odoo11
Avatar
Avatar
Avatar
Avatar
Avatar
9
de nov. 18
18784
Install Odoo 10 on Univention Corporate server
installation authentication ldap
Avatar
Avatar
2
de març 17
4677
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now