Helpful Information
 
 
Category: LDAP Programming
LDAP host based access question

Hi Guys,

I've been looking into adding host based access to users, so that I can keep them from logging into servers that I don't want them in.

I know that you can do a per-host addition to the user's definition in LDAP, bij adding a host=hostname field. This is very inconvenient if you want to add multiple hosts to multiple users. Sure, I can use ldif's to make the changes, but I was wondering if there was an easier way.

Is it possible to add a similar line to a user group, or can I add a group of hosts to a user?

Cheers,

Tuatha

Hi Guys,

I've been looking into adding host based access to users, so that I can keep them from logging into servers that I don't want them in.

I know that you can do a per-host addition to the user's definition in LDAP, bij adding a host=hostname field. This is very inconvenient if you want to add multiple hosts to multiple users. Sure, I can use ldif's to make the changes, but I was wondering if there was an easier way.

Is it possible to add a similar line to a user group, or can I add a group of hosts to a user?

Cheers,

Tuatha

I'm in the search for the same functionality. If you ever found the solution please let me know.

I'm in the search for the same functionality. If you ever found the solution please let me know.

The solution is called access.conf if anyone in the future would be in search of the same functionality.










privacy (GDPR)