Try this:
http://www.redhat.com/resourcelibrary/whitepapers/netgroupwhitepaper
It talks about RedHat Directory Server but you can skip that part and go straight to the "Populating the Directory" portion and go from there. It mentions using NetGroups and PAM to facilitate access to systems based on group membership.
-Proto
On Wed, Oct 30, 2013 at 12:31 PM, Dheeraj Khanna dheerajk@zoosk.com wrote:
Hi
I wanted to find if I can add a host based authentication, here is my setup.
Regular LDAP DB , I use group and users and associate permissions to users based on groups. What I want to achieve is this:
*If a User A is a member of "Group A" and has access to "hostsA" allow else deny, this will allow me to limit access to certain server types based on user groups. I think we can define this in /etc/ldap.conf but I could not find find the right syntax to add hosts in this config file.*
*Question: *I do not know how to add this ou called "hostaccess", I used a GUI portal called Apache Directory Studio to add/delete users and groups.
If some one knows how to add hosts in LDAP and be able t map groups and users to it that would greatly help me.
Thanks
Dheera