Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

How to Configure OpenERP 7.0 to connect to LDAP ?

Naroči se

Get notified when there's activity on this post

This question has been flagged
authenticationldapv7
3 Odgovori
28543 Prikazi
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
Opusti
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
Opusti
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
Opusti
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
Opusti
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!

Prijavi
Related Posts Odgovori Prikazi Aktivnost
LDAP correct syntax for ldap-filter
authentication ldap v7
Avatar
Avatar
Avatar
Avatar
Avatar
5
avg. 19
29688
auth_ldap raises a 'Record does not exist or has been deleted.' on first connection
authentication ldap 9.0
Avatar
0
apr. 20
5508
Authentication_ldap install module error Odoo 11 Solved
authentication ldap odoov11
Avatar
Avatar
1
nov. 18
7216
Odoo 11 ldap authentication Solved
authentication ldap odoo11
Avatar
Avatar
Avatar
Avatar
Avatar
9
nov. 18
18779
Install Odoo 10 on Univention Corporate server
installation authentication ldap
Avatar
Avatar
2
mar. 17
4677
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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