Configuring external authentication on Linux and UNIX systems
The following procedure describes a typical way of configuring your Linux or UNIX system to use external authentication with the solidDB server. The procedure assumes that you have already created the necessary pluggable authentication modules (PAM) on your system.
Note Misconfigured PAM settings can cause an abnormal shutdown of the solidDB server. To address any problems with authentication, verify the external authentication settings in a test environment before deploying in production.
To configure external authentication on Linux or UNIX systems, complete the following steps:
3 Define the solidDB service name with the General.PamServiceName parameter.
The General.PamServiceName parameter defines the solidDB program name that is used in the PAM configuration to define how solidDB users are authenticated.
4 Use the following steps to complete the PAM configuration based on your operating system:
▪ For Linux: Create a file in the /etc/pam.d/ directory with the same name as the value you configured for the General.PamServiceName parameter. For example, if the General.PamServiceName parameter value is solid (default value), create a file named solid in the /etc/pam.d directory. Add the following lines to the file:
#%PAM-1.0 auth include system-auth
▪ For AIX: Edit the PAM configuration file at /etc/pam.conf. Add the following lines to the file:
▪ service_name defines the name of the solidDB service, as defined by the General.PamServiceName parameter,
▪ module_path defines the name and path of the authentication module.
For example, if the General.PamServiceName parameter value is solid (default) and the authentication module you have installed and created on your system is /usr/lib/security/pam_ldap, add the following lines to the PAM configuration file:
However, if you use the pam_aix module, the following limitations apply:
▪ You must run solidDB as an administrator (root user). To connect to solidDB from a client running on an AIX system, the user does not need to have administrator rights.
▪ The service name that is used in the /etc/pam.conf file must match the value of the General.PamServiceName parameter. If the entries do not match, the system uses the default PAM settings, which can cause an abnormal shutdown of the solidDB server.
▪ For Solaris: Edit the PAM configuration file at /etc/pam.conf. Add the following lines to the file: