跳至主要內容
OCLC Support

Set up an LDAP connection

Learn how to set up a connection from the EZproxy server to an LDAP server in EZproxy configuration.

EZproxy configuration provides an interface to configure LDAP authentication. See LDAP authentication for details about LDAP authentication integration with EZproxy. 

To set up a connection in the configuration UI from the EZproxy server to an LDAP server:

  1. Select Authentication from the left navigation.
  2. Click Add authentication type on the Authentication screen.
  3. Select LDAP from the Select authentication type drop-down menu. The LDAP configuration screen opens.
  4. From the LDAP configuration screen:
    1. Enter the Host URL for the LDAP server in the Host Identifier text field.
       Note: The Host URL must be publicly accessible.
    2. Enter a unique name for this authentication in the Tag text field.
    3. (Optional) Select the Use auth tag checkbox if you want to require this function.
    4. Enter the LDAP configuration block in the User options text field.
      LDAP configuration block - Example
      ::LDAP 
      BindUser CN=ezproxy,CN=users,DC=yourlib,DC=org 
      BindPassword verysecret 
      URL ldap://ldapserv.yourlib.org/CN=users,DC=yourlib,DC=org?sAMAccountName?sub?(objectClass=person)
      IfUnauthenticated; Stop 
      /LDAP
      Completed LDAP screen example - Image
      Example of a completed LDAP screen in EZproxy Configuration
  5. Click Save. To apply the LDAP connection, deploy it to both Pre-production and Production.