Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Configuring an LDAP connection

Specifying

...

an LDAP server

To configure an LDAP connection, you need to set up in the system first. For this, please complete the steps below:

...

After you have configured a an LDAP server , and a an LDAP URL , and performed all necessary customer infrastructure preparations, then you are ready to arrange a an LDAP Definition. This is a formalized query to the Active Directory server containing the following information:

Excerpt Include
Importing using LDAP
Importing using LDAP

Для чего используется

Это настроенное подключение используется для авторизации на портале или для того, чтобы синхронизироваться с порталом. Вот у нас тут LDAP Definition.

LDAP Definition - это именно твой запрос на сервер Active Directory, это запрос, по которому ты будешь тянуть пользователей оттуда. Указывается LDAP сервер. Этот LDAP definition потом используется в Import source.

Фильтр - это выборка, по которой мы указываем адрес, с которого мы начинаем тянуть, указываем фильтр, и с указываемыми параметрами у нас подтягиваются все пользователи. И дальше этот перечень пользователей мы можем синхронизировать со своим списком юзеров. Это идет через импорт. 

Query field - это поле, с помощью которого будет определяться идентификация в системе, т.е. атрибут.


LDAP System Properties

Some of the LDAP abilities can be configured on the client-side using the System Properties engine. These properties are listed below.

Property nameTypeDefault valueDescription
user.authorization_when_no_ldap_connectionBooleanTrueEnables authorization if there's no LDAP connection. In this case, local locally created credentials are used.
user.ldap_authenticationBooleanTrueEnables or disables LDAP authentication.
user.ldap_autoprovisionBooleanTrueEnables the automatic creation of users in the user table in the case of the user is created in LDAP but not created on the instance. 

...

In the case of necessity of any troubleshooting with your LDAP integration, you can check the log messages to find the fault causes.

For example, failed authorization attempts, or authorization policy avoidance attempts, all this information will be displayed here.

In fact, all these messages are written to the Logs (sys_log) table. 

To use the LDAP logs, please complete the steps below:

  1. Navigate to System LDAP → LDAP log;
  2. Find the records you are interested in using the Condition Builder, and other filtering tools, such as List layout#ShowMatching or List layout#FilterOut functionality.

LDAP Log form fields

FieldDescription
SourceDisplays the source from where this log record comes from (IMAP Auth, for example)
Level

This field specifies the error level. Available options:

  • Info;
  • Error;
  • Warning;
  • Debug.
MessageThe log record message text.
Created byReference to the user who has added the record.
Created atThe date and time when the record was added.

LDAP log

System LDAP → LDAP Log

можем смотреть, кто логинится, через какой сервер; можем посмотреть ошибки, кто ломился неправильно. 

Логи на самом деле пишутся в sys_log. Здесь они выводятся из этой же таблицы, просто настроен фильтр

Вариант

Выделить две части:

...