Active Directory integration on Linux clients

The DriveLock Agent for Linux supports Active Directory (AD) integration through Samba Winbind and System Security Services Daemon (SSSD). This allows AD users, groups, and computers to be taken into account when applying DriveLock policies.

For Active Directory integration, the Linux agent must be able to access the security identifiers (SIDs) of the corresponding AD objects.

Supported functionality

Active Directory integration provides the following functionality:

  • Assign policies and licenses based on the computer’s AD or OU membership

  • Use AD users and groups in Drive and Device Control rules, for example, to define specific exceptions for the Block with exceptions setting

  • Use user filters to apply rules only to specific AD users

  • Create dynamic computer groups based on AD properties

  • Send Active Directory inventory data to the DriveLock Enterprise Service (DES)

  • Associate events with the corresponding AD users

Requirements

The following prerequisites must be met for Active Directory integration:

  • DNS and time synchronization are configured correctly, for example, using chrony.

  • Kerberos is installed and configured.

  • The /etc/nsswitch.conf file specifies the AD backend used for passwd and group.

  • The /etc/resolv.conf file contains the correct search domain and DNS server.

We recommend configuring the fully qualified domain name (FQDN) of the Linux computer correctly. The hostname -f command should return the full name in the format <hostname>.<domain>.

Required system libraries

Active Directory integration requires the Cyrus SASL Core Runtime Library, the Cyrus SASL GSSAPI Kerberos Authentication Module, and the Kerberos GSS-API Runtime Library.

The following commands install the required libraries for MIT Kerberos.

Debian/Ubuntu

sudo apt install libsasl2-2 libsasl2-modules libsasl2-modules-gssapi-mit libgssapi-krb5-2

RHEL/AlmaLinux/Fedora

sudo dnf install cyrus-sasl cyrus-sasl-gssapi krb5-libs

openSUSE/SLES

sudo zypper install cyrus-sasl cyrus-sasl-gssapi krb5

Active Directory integration using SSSD

When using SSSD, the sssctl and ldbsearch utilities must be available.

Install the required packages for your Linux distribution.

Debian/Ubuntu

sudo apt install sssd sssd-ad sssd-tools ldb-tools krb5-user sssd-krb5

RHEL/AlmaLinux/Fedora

sudo dnf install sssd sssd-ad sssd-tools ldb-tools krb5-workstation oddjob-mkhomedir

openSUSE/SLES

sudo zypper install sssd sssd-ad sssd-tools ldb-tools krb5-client

The following settings must be present in the /etc/sssd/sssd.conf file:

[sssd]
			domains = DLSE.local
			services = nss, pam, ifp

			[ifp]
			allowed_uids = root
			user_attributes = +objectSidString

			[domain/DLSE.local]
			id_provider = ad
		ad_server = dlserver.dlse.local

Replace the example domain DLSE.local and server name dlserver.dlse.local with the corresponding values for your environment.

The user_attributes = +objectSidString setting makes the SID attribute available through SSSD.

Active Directory integration using Samba Winbind

When using Samba Winbind, the wbinfo and net utilities must be available.

Install the required packages for your Linux distribution.

Debian/Ubuntu

sudo apt install samba winbind libnss-winbind libpam-winbind krb5-user

RHEL/AlmaLinux/Fedora

sudo dnf install samba samba-client samba-winbind samba-winbind-clients samba-common-tools krb5-workstation oddjob oddjob-mkhomedir

openSUSE/SLES

sudo zypper install samba-winbind samba-client krb5-client pam_winbind

The smb.conf file must contain the following settings in the [global] section:

[global]
			security = ads
		kerberos method = secrets and keytab

The Linux agent uses wbinfo to query user, group, and domain information. You can use the following commands to verify the configuration:

  • wbinfo -U: Lists known user SIDs.

  • wbinfo -G: Lists known group SIDs.

  • wbinfo -D: Displays domain information.

Active Directory support on IGEL OS

On IGEL OS, Active Directory users can sign in and be used in Device Control rules without the computer being joined to an Active Directory domain.