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

Login on openERP using LDAP

Subscribe

Get notified when there's activity on this post

This question has been flagged
ldapopenerp7
4 Replies
23472 Views
Avatar
João Bernardo

I have installed OpenERP 7.

Also, i have python 2.7.7 and Python_LDAP 2.7 aswell. the LDAP_auth plugin also installed.

I created a company, and set the configuration of the AD, but i can't log in with data from the LDAP.

Here is my settings: http://i.imgur.com/yyqOYCH.png

 

I want the users to write their E-Mail and their Password and create a new user for the person who logs in.

LDAP is configured to anyone log in with their E-mail and Password. I need to to the same thing on OpenERP.

I don't know if I am doing anything wrong, since i am new to OpenERP.

 

EDIT: on the ldap binddn field, here is the full text: OU=BPT_Users,DC=bpt,DC=kme,DC=intern\joao.bernardo@email.com

0
Avatar
Discard
Avatar
Vahe
Best Answer

Hi, based on my expiriens i can say what exactly you are doing therong.

first of all make sure you have checked:

General Settings->Authentication Use external authentication providers, sign in with google, facebook, ... 


  1. For LDAP binddn yo u should use credentioal that have the admin rights to make changes in the LDAP,
something like cn=domainroot,dc=yourdomain,dc=com.

2. be sure that you are using the correct port 389 and for Secure ldap use 689.

3. do not check the TLS if uou don't have installed Security Certificate.

About the filter value i'm not sure how it should look like to autentikate users by username@mydomain.com

I'm steel looking for solution on it.

1
Avatar
Discard
Vahe

Open: LDAP Parameters LDAP Server address: 127.0.0.1 LDAP Server port: 389 LDAP binddn: CN=YourAdministrator,CN=Users,DC=Yourdomain,DC=biz LDAP password YourAdministratorPassword LDAP base: CN=Users,DC=gorra,DC=bizLDAP Ffilter: (userPrincipalName=%s) Create user: If cheked, you should create template for the user. Template User: If create Sequence: 10 Use TLS: chek if you have Secure LDAP configured, in that case 689 port will be used 1. For LDAP binddn you should use credential that have admin rights in Your Active Directory (AD) or LDAP to make changes in the LDAP. Be sure becouse of the sring is case sensitive. something like: CN=domainroot,CN=Users,DC=yourdomain,DC=com 2. be sure that you are using the correct port 389 and for Secure ldap use 689 (or if you have configured your ldap on differend port, use yours). 3. do not check the TLS if you don't have Secure LDAP configured. 4. Filter value should be like this (LDAP_Attribute_Name=%s): Here some examples: (userPrincipalName=%s) login string should be user@yourdomain.com (sAMAccountName=%s) login string should user For more attribute names use any LDAP browser like LDAP admin tool. in that case your users can sign in with tehir emails Also thsi will solve the Odoo LDAP authentication error.

Avatar
Michael Watchorn
Best Answer

Have you installed the CA certificate?

Check out the site Auth LDAP with Active Directory, although it is for a different framework it is strongly related. The ldapsearch test mentioned is very useful. It is an intermediate step, and will confirm that the certificate is installed, and that you can connect to the AD server (without worrying about your OpenERP setup).

 

1
Avatar
Discard
Avatar
tderp
Best Answer

I  think intern \ joao.bernardo@email.com need to have had permission for LDAP BASE OU

0
Avatar
Discard
Avatar
Tobias Frankl
Best Answer

Here is my working config:

Server: 192.168.178.XXX

BindDN: CN=Administrator,CN=Users,DC=cenguru,DC=com

Base: CN=Users,DC=cenguru,DC=com

Port: 389

Filter: (&(sAMAccountName=%s)(memberOf=cn=odoo,cn=Groups,dc=cenguru,dc=com))

The Users log in with "harry.potter" and password

Working with a zentyal ldap server and v8 odoo

Good Luck Tobi

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
Related Posts Replies Views Activity
SSO Implementation in Openerp, where LDAP authentication is being used.
ldap openerp7 sso
Avatar
0
Oct 18
4651
LDAP module Windows
ldap
Avatar
Avatar
1
Jun 22
9336
Error: NameError: name 'field' is not defined
openerp7
Avatar
Avatar
Avatar
2
May 22
35361
ldap user connection
ldap
Avatar
0
Jan 21
3057
How to add "meta viewport" tag in OpenERP v7.0?
openerp7
Avatar
0
Mar 19
5079
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