Restrict ldap users to specific hosts

Hi,I'm wondering how one can restrict ldap users to certain hosts? For example user A have access to host X and Y and user B have access to Y and Z. Can this be configured within the ldap or is it done at host level?Regards,/Reyg
[258 byte] By [Regya] at [2007-11-26 16:29:21]
# 1

There are a few ways of doing this. You can use netgroups like NIS or you can just specify ldap filters. We use ldap filters. When setting up the ldap auth string we use a specific search descriptor like this:

serviceSearchDescriptor=shadow:ou=people,dc=some,dc=domain?'attribute=SomeH ost'

You can use & and | in your query, just watch out for how it reformats the query. It seems to automagically add the surrounding (). We've built the filter as such:

'&(attribute=SomeHost)(attribute=SomethingElse)'

meba at 2007-7-8 22:53:44 > top of Java-index,General,Talk to the Sysop...