Tools
Allow only selected LDAP users to access Serv-U
Use groups to allow some LDAP users access Serv-U, but not others.
First published date
Last published date
Overview
You want to enable access to Serv-U for some LDAP users, but not for others. For example, you want Molly.Weasel@SERVUDC.LAB and Dolly.Cat@SERVUDC.LAB to be able to log in to Serv-U. However, you do not want to give access to Smalley.Dog@SERVUDC.LAB.
Product section
Resolution
- Create or identify a group, and give membership to all LDAP users who should be able to access Serv-U. For example, create an LDAP group called SERVUDC.LAB\Special Groups\Users\Serv-U-Enabled, and make all the Serv-U enabled users members of the group.
- In the LDAP Server’s Search Filter, add criteria to filter the searched users by membership in the Serv-U-enabled group. For example:
(&(objectclass=user)(userPrincipalName=$LoginID)(memberOf=CN=Serv-U-Enabled,CN=Users,DC=SERVUDC,DC=LAB)) - Test a few users to verify that members of the group can log in and others cannot.
Note: This article describes only one possible type of filtering. LDAP allows you to combine a variety of positive or negative criteria. For example, you can use !(memberOf=…) to block users that belong to a group.