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

authentification Openerp via Active directory

Subscribe

Get notified when there's activity on this post

This question has been flagged
5 Replies
22759 Views
Avatar
hedi adouni

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 ?

0
Avatar
Discard
Brian Martin

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.

hedi adouni
Author

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

Avatar
Muhammad Anees
Best Answer

- How you create the users? I have slimier settings but getting different kind of errors...

{2019-06-26 14:33:07,470 6025 ERROR hrdemo odoo.addons.auth_ldap.models.res_company_ldap: LDAP bind failed.
2019-06-26 14:33:07,471 6025 INFO hrdemo odoo.addons.base.models.res_users: Login failed for db:hrdemo login:odooadadmin@domain.com from 127.0.0.1 }

some times another error...
{2019-06-26 14:08:01,981 6025 ERROR hrdemo odoo.addons.auth_ldap.models.res_company_ldap: An LDAP exception occurred: {'desc': 'Operations error', 'info': '000004DC: LdapErr: DSID-0C09075A, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v1db1'}
}

could you please guide what is missing...


0
Avatar
Discard
Avatar
Vincent Bovay
Best Answer

The problem is that you need to have a Domain Administrator to can authentificate AD user's to Odoo.
For me is a security problem.

I try to find a solution to bypass the usage of a Admin account.

0
Avatar
Discard
Avatar
hedi adouni
Author Best Answer

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 :)

0
Avatar
Discard
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
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