Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

Login on openERP using LDAP

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
ldapopenerp7
4 Besvarelser
23419 Visninger
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
Kassér
Avatar
Vahe
Bedste svar

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
Kassér
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
Bedste svar

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
Kassér
Avatar
tderp
Bedste svar

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

0
Avatar
Kassér
Avatar
Tobias Frankl
Bedste svar

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
Kassér
Enjoying the discussion? Don't just read, join in!

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

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
SSO Implementation in Openerp, where LDAP authentication is being used.
ldap openerp7 sso
Avatar
0
okt. 18
4572
LDAP module Windows
ldap
Avatar
Avatar
1
jun. 22
9147
Error: NameError: name 'field' is not defined
openerp7
Avatar
Avatar
Avatar
2
maj 22
35178
ldap user connection
ldap
Avatar
0
jan. 21
2976
How to add "meta viewport" tag in OpenERP v7.0?
openerp7
Avatar
0
mar. 19
4980
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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