Red Hat Bugzilla – Bug 111710
pam_filter option does not accept a valid LDAP filter
Last modified: 2015-01-07 19:07:01 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031120
Description of problem:
When specifying a filter for the pam_filter option in /etc/ldap.conf,
you cannot use a properly defined LDAP filter. For example, to limit a
users to ones that have a host attribute set for the host they are
trying to log into you would expect to use (for example) the following:
This definition will not allow a match for the user. If the filter is
ie without the outermost '()' it will work as expected.
This behaviour is not documented anywhere in the nss_ldap or RedHat
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Modify /etc/ldap.conf as above (first case)
2. Attempt to login to system
Actual Results: Login will be refused.
Expected Results: User logged in.
This bug is filed against RHEL 3, which is in maintenance phase.
During the maintenance phase, only security errata and select mission
critical bug fixes will be released for enterprise products. Since
this bug does not meet that criteria, it is now being closed.
For more information of the RHEL errata support policy, please visit:
If you feel this bug is indeed mission critical, please contact your
support representative. You may be asked to provide detailed
information on how this bug is affecting you.