LDAP Configuration

{{addLdapDialogCtl.errors.hosts}}
{{addLdapDialogCtl.errors.port}}
{{addLdapDialogCtl.errors.encryption}}
{{addLdapDialogCtl.errors.cert}}
{{addLdapDialogCtl.errors.cacert}}
Note: Client cert auth is currently supported only for GSuite Secure LDAP
The Client Certificate choice requires Encryption be enabled above.
{{addLdapDialogCtl.errors.bindDN}}
{{addLdapDialogCtl.errors.bindPass}}
{{addLdapDialogCtl.errors.clientTLSCert}}
{{addLdapDialogCtl.errors.clientTLSKey}}

{{addLdapDialogCtl.connectSuccessResult.data.result == "error" ? addLdapDialogCtl.connectSuccessResult.data.reason || "error" : "Contact LDAP server successful"}}

  Enable LDAP user authentication
{{addLdapDialogCtl.errors.userDNMapping}}

Test User Authentication

{{addLdapDialogCtl.errors.authUser}}
{{addLdapDialogCtl.errors.authPass}}

{{addLdapDialogCtl.authenticationSuccessResult.data.result == "error" ? addLdapDialogCtl.authenticationSuccessResult.data.reason || "Error authenticating user" : "User recognized by LDAP server:"}}

{{addLdapDialogCtl.authenticationSuccessResult.data.dn}}

  Enable LDAP group authorization & sync
{{addLdapDialogCtl.errors.groupsQuery}}

Test Groups Query

{{addLdapDialogCtl.errors.groupsQueryUser}}

{{addLdapDialogCtl.queryForGroupsSuccessResult.data.reason}}

Groups discovered successfully:
{{addLdapDialogCtl.queryForGroupsSuccessResult.data.groups.join(", ")}}

Connected but returned no groups.

{{addLdapDialogCtl.errors.requestTimeout}}
{{addLdapDialogCtl.errors.maxParallelConnections}}
{{addLdapDialogCtl.errors.maxCacheSize}}
{{addLdapDialogCtl.errors.cacheValueLifetime}}
{{addLdapDialogCtl.errors.nestedGroupsMaxDepth}}

For more help:
Configuring LDAP

LDAP Host Configuration

This first section (down to Check Network Settings) contains the basic settings to connect to your LDAP host(s).

Your certificate choices for connecting to your LDAP host are either none (and no hostname verification will occur), use the certificate already loaded in your Couchbase cluster, or choose Paste Cert and paste in your own certificate text.

You may choose Contact LDAP host anonymously if your LDAP configuration supports it, but an LDAP DN and valid password will be necessary if you choose to authenticate users with the query builder below and for any group authorization.

User Authentication

This section lets you map simple usernames (that will be used to log into Couchbase Server) to LDAP DNs. You can expand the test section to test your mapping with a real user.

Group Authorization

This section lets you build a query so that Couchbase Server can discover the LDAP groups a particular user belongs to (which you can then map to Couchbase Server groups in Security > Users > Groups). You can discover a user's groups with a user attribute or by constructing a query.

You can expand the test section to test your query with a real user.

NOTE: %u – is used to mean username, %D – means LDAP DN of the user