# Configuring PAM Authentication Service

When using PAM, you must configure the authentication and account services that you want to use.

You can configure PAM in one of the following ways:

- Generally for Linux systems: create a file in the /etc/pam.d directory with a file name that matches the service name set by the PamAuth parameter in the config.txt file.
- Generally for UNIX systems(including AIX): create entries in the /etc/pam.conf file with a service name that matches the service name set by the PamAuth parameter in the config.txt file.

See the following examples for how to configure LDAP authentication. The examples assume that the PamConfig parameter is set to mftserver.

For Linux: create a file called /etc/pam.d/mftserver

Sample parameters to configure LDAP support:

    auth      sufficient    pam_ldap.so use_first_pass
    account   sufficient    pam_ldap.so

For UNIX: create entries in the /etc/pam.conf file

Sample parameters to configure LDAP support:

    mftserver   auth      sufficient    pam_ldap.so use_first_pass
    mftserver   account   sufficient    pam_ldap.so

Copyright © 2022. TIBCO Software Inc. All Rights Reserved.