|
C3. LDAP/AD Authentication |
|
|
Configuration File Settings are stored in the auth-ldap-rfc4515.conf configuration file. Configuration files with typical settings are also provided: •auth-ldap-rfc4515-check-group.conf—configuration file template for administrators external authorization via LDAP using the simplified scheme with verification of belonging to an Active Directory group. •auth-ldap-rfc4515-check-group-novar.conf—configuration file template for administrators external authorization via LDAP using the simplified scheme with verification of belonging to an Active Directory group and using variables. •auth-ldap-rfc4515-simple-login.conf—configuration file template for administrators external authorization via LDAP using the simplified scheme. General tags of the auth-ldap-rfc4515.conf configuration file: •<server />—LDAP server definition.
•<set />—variables set by LDAP search.
Variables can be used in values of the add attributes of the <mask /> and <expr /> tags, in value of the value attribute of the <filter /> tag as the \varname, and also in value of the search attribute of the <set /> tag. Allowed recursion level in variables is 16. If the search returns several found objects, only the first one is used. •<mask />—user name templates.
For example:
\1 and \2 are the links on matching masks in the user attribute. •<expr />—user name templates using regular expressions (attributes are the same as in the <mask />). For example:
Correspondence between masks and regular expressions:
•<filter />—LDAP search filter.
Filters concatenation
If the admingrp get the "CN=ESuite Admins,OU=some name,DC=example,DC=com" value after the search, and the user input was domain\user, when the result filter is
Example of Configuring LDAP/AD Authentication Here is an example of typical settings for authentication using LDAP. Settings are configured in the Control Center, in the Administration → Authentication → LDAP/AD-authentication section (for the Advanced settings). Initial parameters of administrators who must be authenticated: •domain: dc.test.local •Active Directory group: DrWeb_Admins Control Center settings:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||