cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP Authentication with multiple OU's?

Contributor

LDAP Authentication with multiple OU's?

In our AD we have a parent OU called "Corp Accounts" and within that we have various OU's such as "Contractors", "Staff", "Equipment", "Service Accounts" and so on.

I'm currently using LDAP authentication on our SA, but I can only get it to work at the "OU=Corp Accounts...." level, when ideally I want to restrict it so that only users in "Staff" and "Contractors" can authenticate (as accounts for things such as equipment and service accounts should never need to be using a VPN).

I know I can filter on group membership but that's additional overhead and relies on us doing something other than simply dropping accounts in the relevant OU.

Can I do this with a filter or anything?

Thanks.

2 REPLIES 2
Highlighted
Frequent Contributor

Re: LDAP Authentication with multiple OU's?

Role mapping should be able achieve your requirement.

If you point your base DN to Corp Accounts, and use filter cn=* you should get all groups available under all OU's within Corp Accounts.

This way you can limit authentication/authorization to only groups that belong to "Staff" and "Contractors".

Contributor

Re: LDAP Authentication with multiple OU's?

It does to an extent, however we have some roles where I want to say "Anyone who logs on", and I don't want to have to start adding people to a distinct VPN Users group.

In reality it's not a significant risk but it would be nice to take the option away for a projector or a meeting room to be able to log on.