How does pam_ldap determine the hostname when `pam_check_host_attr` is enabled?

Solution In Progress - Updated -

Issue

  • Using pam_ldap on RHEL 5.8 system that uses Red Hat Directory Services (RHDS) for authentication/authorization, pam_check_host_attr is set to yes in /etc/ldap.conf.

  • If host attribute for a user in RHDS has a value containing just the short name (not FQDN) users get "Access denied for this host." However if the FQDN is used as a value for the host attribute, the user is granted access.

Environment

  • Red Hat Enterprise Linux 5
  • nss_ldap

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content