Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - SQL Usage » LDAP user authentication » Creating an LDAP user authentication environment (Sybase Central)


Creating a login policy that uses an LDAP server

Use Sybase Central to create a login policy that uses the LDAP server.


You must have the MANAGE ANY LOGIN POLICY system privilege.

Contexte et remarques

A login policy is required when you use an LDAP server for user authentication. The responses shown below are for demonstration purposes only. Supply your own appropriate equivalent responses.

  1. In Sybase Central, use the SQL Anywhere 16 plug-in to connect to the database.

  2. In the left pane, right-click Login policies and click New » Login Policy.

  3. Enter the name of the login policy (ldap_policy_both for example), and then click Next.

  4. Select the LDAP primary server (prim_ldap for example).

  5. (Optional) Select the LDAP secondary server (sec_ldap for example).

  6. (Optional but recommended) Select the LDAP failover to standard authentication (On for example).

  7. Click Next.

  8. (Optional) Add a comment. Click Next.

  9. The SQL that is executed to create the login policy appears. Click Finish.


A login policy is created that uses an LDAP server for user authentication and definitions for it are added to the SYSLOGINPOLICY and SYSLOGINPOLICYOPTION system tables.


Create a user that authenticates to an LDAP server.

 See also