Migrating Existing Replication Server to LDAP User Authentication

Migrate the existing Sybase Replication Server to LDAP authentication using sysadmin ldap and configure replication server commands.

Prerequisites

Install, configure, and start the LDAP server using the vendor-supplied documentation.

Task
  1. Test the LDAP server connection:
    sysadmin ldap check_url, 'ldapurl'
    
  2. Specify the LDAP server URL and values for an administrative access account:
    sysadmin ldap
    set_primary_url, 'ldapurl'
    set_access_acct, 'dn', 'password'
    
    where:
    • ldapurl – is the primary LDAP server URL.
    • dn – is the distinguished name (DN) of the administrative LDAP account.
  3. Configure the user_authentication_source to both Replication Server and LDAP server:
    configure replication server 
    set user_authentication_source to 'any'
    
  4. Add all existing Replication Server users in the LDAP directory server.
    You can add users simply by resetting the password for users in the LDAP server.
  5. Set the user_authentication_source to LDAP only after adding all users to the LDAP server:
    configure replication server 
    set user_authentication_source to 'ldap'
    
    Note: If the LDAP user authentication is enabled, you cannot use the password specified with the create user, set password command. The password is synchronized from the LDAP server when the user is authenticated.

    See sysadmin ldap and configure replication server in the Replication Server Reference Manual.