Bug 784707 - Allow for simple username in pam_member_attribute
Summary: Allow for simple username in pam_member_attribute
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sssd
Version: 6.2
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Stephen Gallagher
QA Contact: IDM QE LIST
URL: http://bugzilla.padl.com/show_bug.cgi...
Whiteboard:
Depends On: 782969
Blocks: 748818
TreeView+ depends on / blocked
 
Reported: 2012-01-25 21:22 UTC by Nalin Dahyabhai
Modified: 2012-01-31 04:26 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 782969
Environment:
Last Closed: 2012-01-30 13:38:46 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Nalin Dahyabhai 2012-01-25 21:22:37 UTC
+++ This bug was initially created as a clone of Bug #782969 +++

Created attachment 556141 [details]
Joerg Dorchain's patch to handle with a non-dn member

The value of pam_member_attribute is always compared to a DN. If the value is for example memberUid (posixGroup), the comparison should be made ​​with the username.

I found this patch in Debian forum that allows the administrator to choose whether to make the comparison by DN or username.

Ref.: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=341541

I think it would be interesting to incorporate this solution in nss_ldap on RHEL.

Thank you for your attention

Emerson Kfuri

--- Additional comment from nalin on 2012-01-25 16:21:00 EST ---

At this stage in the lifetime of RHEL 5, I don't know that we're going to add new features to this package, but I'll clone it for the later release.

Comment 1 Jakub Hrozek 2012-01-25 21:39:44 UTC
This is trivially enforced in SSSD by using the "simple" access provider. Because SSSD is the preferred component these days, I think we're going to need a justification before implementing this for pam_ldap as well.

Comment 3 Dmitri Pal 2012-01-30 13:38:46 UTC
This functionality is already available from SSSD which is the default component in RHEL 6.x for integration with central LDAP authentication servers. One can find more information about how to configure simple access provider in SSSD in sssd-simple(5) man pages. 

We will also expose it better in the documentation. A separate bug will be open.

This bug is moved to SSSD and closed in the current release.
There is no plan to add this functionality to pam_ldap.

Comment 4 Stephen Gallagher 2012-01-30 13:45:55 UTC
Bugzilla #748818 will track the documentation bug in Fedora (which will make its way into RHEL)


Note You need to log in before you can comment on or make changes to this bug.