Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

How to Configure OpenERP 7.0 to connect to LDAP ?

Subscribe

Get notified when there's activity on this post

This question has been flagged
authenticationldapv7
3 Replies
28535 Views
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
Discard
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
Discard
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
Discard
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
Discard
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!

Sign up
Related Posts Replies Views Activity
LDAP correct syntax for ldap-filter
authentication ldap v7
Avatar
Avatar
Avatar
Avatar
Avatar
5
Aug 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
7210
Odoo 11 ldap authentication Solved
authentication ldap odoo11
Avatar
Avatar
Avatar
Avatar
Avatar
9
Nov 18
18772
Install Odoo 10 on Univention Corporate server
installation authentication ldap
Avatar
Avatar
2
Mar 17
4675
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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