Die Seite Vorlage:Ui-icon.css hat keinen Inhalt.
- 1 Introduction
- 2 Requirement
- 3 Integrate UTM into the domain
- 4 AD Grant permissions to user groups
- 5 Result
- 6 Überprüfen der AD Anbindung mit CLI
Connection of a UTM to an AD/LDAP
Last adaptation to the version: 11.8.8
- Automatic setting of Encryption of an LDAP connection
- The entry has its own place in the menu structure and has been adapted in the layout
- Notification of Appliance Account-name in cluster operation
An AD or LDAP can be used for authentication on the UTM. The rights on the UTM can then be controlled via the group membership in the AD.
In general, this is the Active Directory Service, which manages the domain in a network and controls the authentication of the network users via the LDAP and Kerberos protocol.
To use an AD / LDAP for authentication, users must be created there and organized in groups.
Create user groups in AD
The authorizations for the services contained in the UTM can be managed in groups. The users to be assigned to these groups must first be assigned to corresponding user groups in AD.
In this example, the users for Clientless VPN are to be authenticated via the Active Directory Service.
So first of all a group of the type Security Group must be added on the AD, which is given the name ClientlessVPN here.
Add user in AD
The users to be enabled for Clientless VPN are then added to this group.
Integrate UTM into the domain
It is important to make sure that the UTM Time is reasonably synchronized with the AD, since a Kerberos ticket has a limited validity period.
In the menuthe authentication is configured.
Establishing an AD connection
If there is no AD/LDAP authentication yet, the AD/LDAP authentication wizard opens automatically
Otherwise the wizard can be started with the button
Step 1: Directory type
Even there is also running an LDAP, the group membership is treated differently in the AD environment than in a pure LDAP server.
Step 2: Options
|IP Address or Hostname:||» ✕ 192.168.145.1||(Example address!)|
|Workgroup:||ttt-point||The NETBIOS name of the AD|
If this should differ from the base domain, the correct NETBIOS name must be entered here.
|Appliance Account:||sp-utml||The name by which the UTM is entered in the AD in the group Computers.|
A unique name that must not be assigned twice!
When operating the UTM in a cluster, the name in the master and spare must be different. The name is not synchronized!
Step 3: Nameserver
If the AD server is not yet entered as the name server, this is done in this step:
|IP Address: :||192.168.145.1|| Sample address!
IP address of an AD server of the domain, if necessary additionally the port
The AD server is thus added as a relay zone in the name server of the UTM.
The entry can be found in the menu Zones.in the tab
Step 4: Join
|Administratorname:||Administrator||To join the domain, a user account with domain administrator permissions is required.|
When operating the UTM in a cluster, the password on the spare UTM must be entered separately under Join. Except of the Appliance Account: (see step 2), all other information in the cluster will be synchronized.Tab
Result of AD connection
Result in section ╭╴ Status╶╮ :
|Enabled::||On||AD/LDAP authentication is enabled.|
|Connection Status:||⬤||For confirmation the display changes from grey to green.|
|SSL:||The connection to the Active Directory server can be established using SSL encryption.|
| Note on LDAP Encryption: Due to a Microsoft update (originally planned for March 2020), an unencrypted connection to an AD with default settings will no longer be possible in future. |
since 11.8.8 The setting is made automatically by the Securepoint appliance. The option LDAP Encryption has been removed from version 11.8.8
|Root Certificate:||A root certificate can be deposited.|
|LDAP-Filter:||(|(sAMAccountType=268435456)(sAMAccountType=268435457)(sAMAccountType=805306368))||sAMAccountType=Restricts authentication to members of the following groups: Further filters are possible
|User-Attribute::||sAMAccountName||Attributes can be defined under which the AD administration stores the user information and which can then be queried by the UTM:|
|Mail-Attribute:||» ✕ proxyAddresses|
The attributes from OTP to SSL VPN, which are entered here, usually do not exist in the AD.
For example, to store the OTP secret code on the AD, an unused attribute of the AD schema can be used, which contains this secret code of the user.
A corresponding instruction can be found in the article Integrating the OTP function into the Active Directory.
|Page Size:||500||In larger environments, LDAP requests may exceed the maximum number of records defined on the server side (1000 in AD). With Page Size you can set that the LDAP query is executed piecewise. A page size of 500 means 500 data records per query. A page size of 0 deactivates a step-by-step LDAP query.|
AD Grant permissions to user groups
To grant users from the Active Directory the permissions for accessing the UTM user interface and using the Clientless VPN, a group with exactly these permissions is created in the Groups Button menu.Tab
|On||Clientless VPN||Gewünschte Berechtigung|
In the tab Directory Service the corresponding group from the Active Directory can now be selected and assigned.
Further information about Clientless VPN permissions can be found in the wiki for Clientless VPN.
After saving, every user who is a member of the AD group ClientlessVPN can log on to the UTM with their Windows domains access data for using the Clientless VPN.
Überprüfen der AD Anbindung mit CLI
Validating the AD connection with CLI
Joining and leaving the domain
To validate whether the UTM has already joined the domain:
cli> system activedirectory testjoin Join is OK cli>
If this is not the case, the following output will take place
cli> system activedirectory testjoin Not joined cli>
In this case the domain can be joined with the following command
cli> system activedirectory join password Beispiel-Admin-Passwort Password for Administrator@TTT-POINT.LOCAL: Processing principals to add... Enter Administrator's password: Using short domain name -- TTT-POINT Joined 'SP-UTML' to dns domain 'ttt-point.local' cli>
The command to leave the domain is
cli> system activedirectory leave password Beispiel-Admin-Passwort Enter Administrator's password: Deleted account for 'SP-UTML' in realm 'TTT-POINT.LOCAL' cli>
When entering or leaving the Active Directory, the administrator password must be entered. The password is not stored, but the AD membership is nevertheless rebootable.
Display AD groups
With the following command the groups can be listed in the Active Directory:
cli> system activedirectory lsgroups member ------ Abgelehnte RODC-Kennwortreplikationsgruppe Administratoren Benutzer Builtin ClientlessVPN Discovery Management Domänen-Admins Domänen-Benutzer Domänen-Gäste Exchange Servers ... Users Windows-Autorisierungszugriffsgruppe cli>
Verification of users and group membership
The following command checks whether an AD user is assigned to an UTM group:
cli> user check name "m.meier" groups grp_ClientlessVPN matched cli>
If this is not the case, the output is
not a member cli>
Command to display the group membership and permissions for an AD user:
cli> user get name m.meier name |groups |permission -------+-----------------+---------- m.meier|grp_ClientlessVPN|WEB_USER,VPN_CLIENTLESS cli>
Domain controller behind site-to-site VPN
In some scenarios, the domain controller is located behind a site-to-site VPN tunnel. If this is the case, a corresponding zone and rule must be configured.
DNS-Relay bei IPSec-S2S
DNS-Relay bei SSL-S2S
Attention: To join an active directory located behind a VPN tunnel, the LDAP ports are required in the NAT rule towards the domain controller in addition to the DNS ports.