To create a connection to the server: - Go to Administration > LDAP Synchronization.
- On the toolbar, click
Create. Specify parameters for a new connection:
| |
|---|
| General parameters | Server name | Connection identifier used in the Management console Important! It is not allowed to change the server name between the last synchronization and System update | Server type | Indicates what kind of server is used: Active Directory, Samba DC, Domino Directory, Astra Linux Directory (further also ALD) or Astra Linux Directory Pro/Free IPA. Important! To configure the Alt Domain Service Directory over LDAP protocol, select Samba DC as the server type; for LDAPS protocol, select Active Directory. See the Installation features for Alt Domain Directory Service article for details on installing integration with Alt Domain | | Synchronization | - Manual – user starts synchronization manually
- Automatic – synchronization is performed according to schedule
Important! We recommend that the frequency of automatic synchronization with the Domino Directory server should be 10 minutes or more. We recommend not running manual synchronization more often than once every 10 minutes | Synchronization period | Type of synchronization repeating - Every N minutes
- Every N hours
- Every N days
- Every N weeks
| Retry parameters | Value of synchronization repeating period if Automatic synchronization is selected For example, with the following values: - Synchronization period – Every N minutes
- Retry parameters – 60 minutes
the synchronization will be performed every 60 minutes
| | Configuring connection | LDAP server | The IP address of the server whose LDAP catalogues are synchronized | | Connection type | Selecting connection type with Active Directory, Samba DC, Domino Directory, ALD or ALD Pro/Free IPA that will be configured: - Unsecured connection (LDAP)
- Secured connection using LDAP + StartTLS protocol
- Secured connection LDAPS (SSL)
Important! Connection without using a certificate is not secure. When installing a secure connection, you can additionally load a file containing the certificate in PFX format. Important! If the file that is being loaded contains several user certificates, the System will operate with the first of them and its private key. Correct work requires creating a file with one user certificate. Note: For Samba DC, using unsecured connection is not supported. Important! Synchronization using the secure connection is supported only for Active Directory and Samba DC. For Samba DC, you can choose only secured connection using LDAP + StartTLS protocol | | Server certificate | Loading a certificate file in PEM format. Note: For Samba DC, this option is unavailable | User certificate | Loading a certificate file in PEM format. When using a user certificate, it is necessary that you additionally load a file containing a private key of the user certificate. Note: For Samba DC, this option is unavailable | | Private key of user certificate | Loading a file containing a key in PEM format. Note: For details, see Getting Client Certificate and Server Certificate. Note: For Samba DC, this option is unavailable | | Use Kerberos protocol | Indicates if Kerberos protocol is used for authentication (protocol of client and server mutual identification). For details, see Specifics of LDAPS connection and synchronization using Kerberos protocol. Important! If Kerberos is used with LDAP connection, we recommend editing the configuration file. Important! You should enable this only when Use client certificate to authenticate is disabled. These two principles are mutually exclusive and if you enable both of them, connection will not work | | Global LDAP port | A port for connecting the global LDAP catalogue. Note: This setting is available for Active Directory and Samba DC only | LDAP port | Port for connecting a domain catalogue | Use global catalogue | Indicates if the global LDAP catalogue is used for synchronization Note: This parameter is only available for Active Directory and Samba DC | LDAP request | Note: the setting is required only Active Directory and Samba DC only. Filtering attributes which are the full path to the specified catalogue. You can specify only one catalogue in the Active Directory, Samba DC, Domino Directory, Astra Linux Directory or Astra Linux Directory Pro/FreeIPA organizational structure. To improve the AD search, you can use separate hierarchy levels of the base: C - countryName
O - organizationName
OU - organizationalUnitName
DC - domainComponent
CN - commonName
Example for AD, Samba DC, ALD, ALD Pro/FreeIPA: To use the Users branch located in the company domain as the search base, enter:
cn=users,dc=company,dc=com Example for DD: A request may contain one or several values:
o=company,ou=department,ou=group Important! To enable a partial synchronization using an LDAP request, you should firth sync with the entire LDAP catalogue (dc=company,dc=ru) and then run synchronization using a narrower LDAP request. To update information about groups/persons/computers for this synchronization, you should run complete synchronization with the entire LDAP catalogue and then a partial synchronization using an LDAP request | | Use user certificate for authentication | Whether is it allowed to use a client certificate for secure connection types instead of entering a password. Important! You should use this option only if the Use Kerberos protocol option is disabled. These options are mutually exclusive and if you select both options, the connection will not work | | Anonymous access | Indicates if the connection to the LDAP server is performed on behalf of an anonymous user. Note: For Astra Linux Directory Pro and FreeIPA, the option is unavailable | Login | Login to access the synchronization server Important! To connect to Astra Linux Directory Pro and FreeIPA, specify the login in uid=login,cn=users,cn=accounts,dc=company,dc=com format. Important! To connect to Alt Domain, specify the login in dc\login format | Password | Password to access the synchronization server | 4. Click Check connection, to perform control check of connection to the server. 5. Click Save. | Информация |
|---|
| Starting from Traffic Monitor version 7.5, you do not need to fill in the DnsRootDefault and NetbiosNameDefault fields in the adlibitum.conf configuration file. AUTH contacts for persons will be automatically added during synchronization with ALD, ALD Pro or FreeIPA. Values of these parameters specified in earlier Traffic Monitor version will be ignored. |
| Предупреждение |
|---|
| When synchronizing with ALD, we recommend enabling the Use Kerberos protocol option in LDAP server settings. If this option is disabled, synchronization with ALD will work only with the Anonymous access parameter enabled. In this case, authentication for users imported from ALD will not work. |
Encrypted connection support You can send data over a secure connection for synchronization with LDAP servers only if you choose the following connection types: - LDAP with StartTLS function, which allows you to establish a secure connection over an existing unsecured one on ports 389 or 3268 if the global catalogue is used. You can synchronize with AD or Samba DC both using Kerberos protocol and anonymous access.
- LDAPS, where data is sent over a secured channel: on ports 636 or 3269 if the global catalogue is used.
Example of settings in Kerberos configuration fileTo use Kerberos protocol with LDAP connection, specify all domain controllers in the /etc/krb5.conf file. The steps below illustrate settings for example-company.com domain. To [realms] section, add the code: | Блок кода |
|---|
| EXAMPLE-COMPANY.COM = {
kdc = dc1.example-company.com
kdc = dc2.example-company.com
admin_server = dc1.example-company.com
default_domain = example-company.com } |
Edit the [domain_realm] section so that it looks as follows: | Блок кода |
|---|
| [domain_realm]
.unix.example-company.com = UNIX.EXAMPLE-COMPANY.COM
unix.example-company.com = UNIX.EXAMPLE-COMPANY.COM
msk2-test-iwtm01.unix.example-company.com = UNIX.EXAMPLE-COMPANY.COM
.example-company.com = EXAMPLE-COMPANY.COM
example-company.com = EXAMPLE-COMPANY.COM |
- For
default_ccache_name parameter, specify the value: FILE:/tmp/krb5cc_%{uid}. Destroy the old ticket and get a new one. Use the commands: | Блок кода |
|---|
| kdestroy
kinit infowatch@EXAMPLE-COMPANY.COM
klist |
|