System authentication configuration
You enable system LDAP authentication through the System Security Services Daemon (SSSD). The correct procedure for configuring system authentication depends on your operating system.
If the desired authentication method is already configured on the system, refer to Db2® authentication configuration.
RHEL 9 configuration using authselect
To configure LDAP authentication on RHEL systems, refer to the RHEL 9 documentation on Configuring user authentication using authselect.
SLES 15 configurations
To configure LDAP authentication on SLES systems, refer to the SLES 15 documentation on Using SSSD to manage LDAP authentication.
Ubuntu 22.04 configurations
To configure LDAP authentication on Ubuntu systems, refer to the Ubuntu server documentation on How to set up SSSD with LDAP.
Authentication Configuration Verification
If LDAP is configured successfully, LDAP users should be able to log in to the system and, using
the
id
command, should be able to resolve the userid and groups of an LDAP user.
For example:$ id db2inst1
uid=1007(db2inst1) gid=1007(db2inst1) groups=1007(db2inst1),7777(ldapgroup)