[Date Prev][Date Next] [Chronological] [Thread] [Top]

Queries regarding pam_groupdn.




Hi,

I'm using pam_groupdn for restricting access to some for my servers,
by defining user groups as follows.

/etc/ldap.conf (Redhat 5.5)
# Group to enforce membership of

pam_groupdn cn=group1,ou=Group,dc=example,dc=com
# Group member attribute
pam_member_attribute memberUid

This works only if the pam_member_attribute is in following format.

memberUid: uid=user1,ou=People,dc=example,dc=com
memberUid: uid=user2,ou=People,dc=example,dc=com

Simply memberUid: user1 is not working, is there any way to fix this.

Second, if a user which dose not belong to this group tries to login server,
access is denied by displaying following message.

You must be a memberUid of cn=group1,ou=Group,dc=example,dc=com to login.
Connection closed by x.x.x.x

Is it possible to change this message ?

Thanks & Regards,

Meghanand N. Acharekar