Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-14064

Ldap does not work Suse and debian with cyrus-sasl

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.0.0
    • 4.0.0
    • ns_server
    • Security Level: Public
    • Build - 4.0.0-1639

    Description

      1. Downloaded - cyrus-sasl-2.1.25
      2. Following steps for install:
      ./configure —with-ldap
      make
      make install

      3. Created following soft link - ln -s /usr/local/lib/sasl2 /usr/lib/sasl2
      4. Updated the /etc/default/saslauthd – Start=yes and MECHANISMS=“ldap”
      5. Created /etc/saslauthd.conf
      6. Started saslauthd daemon - /etc/init.d/saslauthd start (I get an error when the daemon starts, safe to ignore)
      7. Now I try and run testsaslauthd I get an error – connect() : No such file or directory
      8. Workaround here it to run the command the following fashion:
      testsaslauthd -u dave -p password -f /var/run/saslauthd/mux (You can get the port file from the saslauthd process or /etc/default/saslauthd)
      Outcome of command:
      0: root@jackfruit-s12101:/home/source/cyrus-sasl-2.1.25# testsaslauthd -u dave -p password -f /var/run/saslauthd/mux
      0: OK "Success.”

      Here everything is fine, my setup looks good.

      9. Restart couchbase server (I don’t think it is needed here)
      10. Configure CB Server for LDAP, settings -> LDAP -> enable
      Add user ‘dave’ as admin. Run Test to check the role. Api return HTTP 500, meaning that LDAP is not configured.

      Attachments

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

        Activity

          People

            poonam Poonam Dhavale
            ritam.sharma Ritam Sharma
            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