Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-24099

It is possible to enable LDAP without setting default userdirectoryid via API

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Major Major
    • 7.0.4rc1, 7.2.0alpha1
    • 6.4.12rc1, 7.0.0beta2
    • API (A)
    • None
    • S24-W22/23, S24-W24/25, S24-W26/27, S24-W28/29, S24-W32/33, S24-W34/35, S24-W36/37
    • 0.5

      Steps to reproduce:

      1. Enable LDAP authentication and create an LDAP server.
      2. Disable LDAP authentication.
      3. Using API send authentication.update request:
        {
          "jsonrpc": "2.0",
          "method": "authentication.update",
          "params": {
            "ldap_userdirectoryid": 0,
            "ldap_auth_enabled": 1
          },
          "id": 1
        }

      Result:
      config table is successfully updated, no error message.
      Expected:
      Error should be thrown, stating either default LDAP server should be set, or that provided user directory does not exist.

            jfreibergs Janis Freibergs
            epulke Elina Pulke
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 10.25h
                10.25h