LDAP 인증

Odoo에서 LDAP 인증 설정을 하려면 다음과 같이 진행합니다.

  1. 설정 앱을 열고 통합 섹션으로 스크롤을 이동하여 LDAP 인증 을 활성화합니다.

  2. 저장 을 클릭한 다음, 통합 섹션으로 돌아가서 LDAP 서버 를 클릭합니다.

  3. In the Set up your LDAP Server list, click New, then select the required company in the dropdown list.

  4. In the Server information section, enter the server’s IP address and port in the LDAP server address and LDAP Server port fields, respectively.

  5. Enable Use TLS to request secure TLS/SSL encryption when connecting to the LDAP server, providing the server has StartTLS enabled.

  6. 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.

  7. 프로세스 매개변수 섹션에 다음 내용을 입력합니다.

    • LDAP 서버의 이름을 LDAP 기반 필드에 LDAP 형식(예: dc=example,dc=com)으로 입력합니다.

    • uid=%s`LDAP 필터 필드에 입력합니다.

  8. 사용자 정보 섹션에서:

    • 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.

참고

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:

  1. 개발자 모드를 활성화합니다.

  2. 설정 ‣ 기술 ‣ 시스템 매개변수 로 이동하여 새로 만들기 를 클릭합니다.

  3. 필드에 입력하세요:

    • : auth_ldap.disable_chase_ref

    • :