#%PAM-1.0
auth       sufficient   pam_ldap.so
auth       required     pam_sepermit.so
auth       include      password-auth
account    sufficient   pam_ldap.so
account    required     pam_nologin.so
account    include      password-auth
password   sufficient   pam_ldap.so
password   include      password-auth
# pam_selinux.so close should be the first session rule
session    sufficient   pam_ldap.so
session    required     pam_selinux.so close
session    required     pam_loginuid.so
# pam_selinux.so open should only be followed by sessions to be executed in the user context
session    required     pam_selinux.so open env_params
session    optional     pam_keyinit.so force revoke
session    include      password-auth