Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    MetaLib

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. MetaLib
    3. Knowledge Articles
    4. How do we migrate our authentication from a local PDS to LDAP?

    How do we migrate our authentication from a local PDS to LDAP?

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: MetaLib
    • Product Version: 4

    Description:
    Our campus now has an LDAP system and I would like to migrate our authentication from a local PDS to LDAP.
    The only documentation that I can find about LDAP is in v3, Patron Directory Services.
    Is this still the most current information?

    Resolution:
    The PDS v1.3 documentation is the most current information.
    Essentially, the following files have to be configured:

    1) Existing file: /exlibris/metalib/m4_2/pds/conf_table/tab_service.<library_name>

    The current tab_service.<library_name> includes:
    [AUTHENTICATE]
    program = metalib_x_server.pl
    params = sfx.<library_name>.edu,8332,BOR-AUTH,N
    [END]

    You'll want to add the ldap program and params lines:
    [AUTHENTICATE]
    program = ldap.pl
    params = ldap_<library_name>.conf
    program = metalib_x_server.pl
    params = sfx.<library_name>.edu,8332,BOR-AUTH,N
    [END]

    The ldap.pl is our standard program used to communicate with LDAP servers; it uses the parameters set up in the ldap_xxx.conf file.

    2) New file: /exlibris/metalib/m4_2/pds/conf_table/ldap_<library_name>.conf

    This is the file where the LDAP server is defined as well as various other settings (i.e., whether on not you wish to use secure LDAP).

    The settings are described in section 6.2.1 of the PDS documentation.
    An example file is as follows:

    [general]
    host_name = <your hostname here>
    port = <your port here>
    search_base = ou=Accounts,dc=ads,dc=iu,dc=edu
    search_filter = (&(objectClass=User)(cn=USERNAME))
    secure_ldap = Y
    bindb4search=Y
    dn = cn=USERNAME, ou=Accounts, dc=ads, dc=iu, dc=edu
    ldap_version = 3

    [xml setting]
    xml_root_node = bor_authentication

    [attributes mapping]
    cn = name

    You'll also want to make sure that your MetaLib server can connect to your LDAP server.
    This is best tested by configuring LDAP and then trying to authenticate a valid user.
    The LDAP administrator can then check the LDAP server logs to verify the attempt from the MetaLib server.
    This may seem obvious, but in many cases like this, the servers weren't talking with each other.


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How do I request a Support Portal Login for a new staff member?
      • How does the Alerts procedure work?
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Content Type
      Knowledge Article
      Language
      English
      Product
      MetaLib
    2. Tags
      1. 4
      2. contype:kba
      3. Prod:MetaLib
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved