Skip to main content

LDAP SSO Configuration

This guide walks you through configuring LDAP as an identity provider (IdP) for single sign-on (SSO) in Ask. This enables users to authenticate with their directory credentials through your LDAP server.

Prerequisites​

  • Organization Admin access to Ask
  • An Enterprise plan
  • Network access from Ask to your LDAP server (including firewalls and TLS)
  • A service account (bind DN) with permission to search user entries
  • Your LDAP schema details (base DN, object classes, search filters)
info

Provider names in Ask are stored with an (LDAP) suffix (for example, Corporate SSO (LDAP)). You do not need to type the suffix manually.

Step 1: Gather LDAP connection details​

Collect the following from your directory administrator:

SettingDescriptionActive Directory example
Server URLsLDAP server addressesldaps://ad.company.com:636
Base DNRoot DN for searchesdc=company,dc=com
Bind DNService account DNcn=ask-svc,ou=service,dc=company,dc=com
Bind passwordService account password(secret)
User base DNDN subtree for user entriesou=users,dc=company,dc=com
User object classesObject classes for user objectsuser, person, organizationalPerson
User filtersAttributes used to locate userssAMAccountName, mail

Step 2: Configure LDAP SSO in Ask​

2.1 Navigate to the Access tab​

  1. Log in to Ask as an Organization Admin.
  2. Navigate to Admin > People & Access.
  3. Select the Access tab.

People and Access navigation in Ask

2.2 Select LDAP as Identity Provider​

  1. In the Access tab, locate the Single sign-on section.
  2. Select LDAP from the available identity provider options.

Select LDAP SSO option

2.3 Enter connection details​

Complete the fields in the LDAP configuration form:

FieldDescriptionExample
NameDisplay name for this providerCorporate LDAP
ServersOne or more LDAP URLs (ldap:// or ldaps://)ldaps://ldap.company.com:636
Base DNBase distinguished name for LDAP queriesdc=company,dc=com
Bind DNDN used to authenticate to the LDAP servercn=admin,dc=company,dc=com
Bind passwordPassword for the bind DN(secret)
User baseBase path for user entry searchesou=users,dc=company,dc=com
TimeoutConnection timeout in seconds30s
StartTLSUpgrade plain LDAP to TLS after connectOff when using ldaps://

LDAP Configuration

tip

Use ldaps:// (port 636) for encrypted connections. Enable StartTLS only when connecting with ldap:// on port 389 and your server supports STARTTLS.

FieldDescriptionActive Directory example
User filtersAttributes used to search for userssAMAccountName, mail
User object classesObject classes user entries must haveuser, person

2.5 Map LDAP attributes​

Map LDAP directory attributes to Ask user fields:

FieldRequiredDescriptionActive Directory example
ID attributeYesUnique user identifiersAMAccountName, uid
Email attributeYesUser email addressmail
Display name attributeNoFull display namedisplayName
Given name attributeNoFirst namegivenName
Family name attributeNoLast namesn

Click Done to save the configuration.

Select LDAP Attributes

info

When updating an existing LDAP provider, the bind password cannot be displayed. Leave the password field empty to keep the current password, or enter a new value to rotate it.

2.6 Enable SSO authentication​

After configuring the LDAP identity provider, you must enable SSO for your organization:

  1. Navigate to Admin > People & Access.
  2. Select the Access tab.
  3. Select the appropriate authentication option to enable LDAP SSO.

Enable SSO authentication

Step 3: Verify the configuration​

To verify that LDAP SSO is configured correctly:

  1. Open an incognito or private browsing window to avoid cached authentication.
  2. Navigate to your Ask login page and enter email.
  3. You should see an LDAP sign-in option for your configured provider.
  4. Select it and enter valid directory credentials.
  5. Confirm you land in Ask with the correct user profile.

Add email on Ask login page

Select LDAP SignIn Option

Troubleshooting​

  • Connection timeout : Verify network access, firewall rules, and that the server URL and port are correct. Increase the timeout if needed (for example, 60s).
  • Invalid bind credentials : Confirm the bind DN and password. For Active Directory, ensure the service account is not locked or expired.
  • User not found : Check user base DN, object classes, and search filters. Confirm test users exist under the configured subtree.
  • Attribute mapping errors : Verify LDAP attribute names match your directory schema. Use an LDAP browser to inspect a sample user entry.
  • TLS errors : Use ldaps:// for direct TLS, or enable StartTLS for ldap:// connections. Ensure your LDAP server's certificate is trusted.
  • Name suffix (LDAP) : The product appends (LDAP) to provider names. This is expected and helps distinguish LDAP providers from other IdP types.