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.