Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-3584

Typo in the examples to enable LDAP authentication

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • Server 5.1.0
    • None
    • tools

    Description

      Page URL : https://developer.couchbase.com/documentation/server/5.1/cli/cbcli/couchbase-cli-setting-ldap.html

      The command says the syntax is:

      couchbase-cli setting-ldap [--cluster <url>] [--username <user>]
                [--password <password>] [--ldap-admins <admins_list>]
                [--ldap-roadmins <ro_admin_list>] [--ldap-default <default>]
                [--ldap-enable <num>]
      

      Note that the syntax to enable ldap as per above is with the flag : --ldap-enable

      But the examples use flag : --enable-ldap

      couchbase-cli setting-ldap -c 192.168.1.5 --username Administrator \
       --password password --enable-ldap 1
       
       
      couchbase-cli setting-ldap -c 192.168.1.5 --username Administrator \
       --password password --enable-ldap 1 --ldap-admins alice,barry \
       --ldap-ro-admins clair,daniel
       
      couchbase-cli setting-ldap -c 192.168.1.5 --username Administrator \
       --password password --enable-ldap 1 --ldap-default admins
      

      The correct flag to use is --ldap-enable and not --enable-ldap.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              tony.hillman Tony Hillman (Inactive)
              girish.jadhav Girish Jadhav (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty