LDAP-Authentifizierung¶
Um die LDAP-Authentifizierung in Odoo zu konfigurieren:
Öffnen Sie die Einstellungen-App, scrollen Sie zum Abschnitt Integrationen und aktivieren Sie LDAP-Authentifizierung.
Klicken Sie auf Speichern, gehen Sie zurück zum Abschnitt Integrationen und klicken Sie auf LDAP-Server.
Klicken Sie in der Liste Einrichtung Ihres LDAP-Servers auf Neu und wählen Sie das erforderliche Unternehmen aus der Drop-down-Liste aus.
In the Server information section, enter the server’s IP address and port in the LDAP server address and LDAP Server port fields, respectively.
Enable Use TLS to request secure TLS/SSL encryption when connecting to the LDAP server, providing the server has StartTLS enabled.
In the Login information section, enter the ID and password of the account used to query the server in the LDAP binddn and LDAP password fields, respectively. If the fields are left empty, the server will perform the query anonymously.
In the Process parameter section, enter:
the LDAP server’s name in the LDAP base field using LDAP format (e.g.,
dc=example,dc=com
);uid=%s
im Feld LDAP-Filter.
Im Abschnitt Benutzerinformationen:
Enable Create user to create a user profile in Odoo the first time someone logs in using LDAP;
Select the User template to be used to create the new user profiles. If no template is selected, the administrator’s profile is used.
Bemerkung
When using Microsoft Active Directory (AD) for LDAP authentication, if users experience login issues despite using valid credentials, create a new system parameter to disable referral chasing in the LDAP client:
Gehen Sie zu Neu.
und klicken Sie aufFüllen Sie die Felder aus:
Schlüssel:
auth_ldap.disable_chase_ref
Wert:
True