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

The 'ldap_userdirectoryid' field of Authentication API is optional when LDAP authentication is enabled, but it must be required

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • None
    • API (A)
    • Sprint 89 (Jun 2022), Sprint 90 (Jul 2022), Sprint 91 (Aug 2022), Sprint 92 (Sep 2022), Sprint 93 (Oct 2022), Sprint 94 (Nov 2022), Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), Sprint 106 (Nov 2023), Sprint 107 (Dec 2023), S2401

      There are two issues detected in authentication.update API method:

      1. There is able to leave optional the ldap_userdirectoryid field or set it to empty ID when LDAP authentication is enabled. According the documentation this field is required in that case.
      2. There is able to set some existing user directory ID for the ldap_userdirectoryid field when it LDAP authentication is disabled. It's expected that only empty ID value can be accepted in that case. - When LDAP authentication is disabled, we should also allow to set the existing ID or zero for ldap_userdirectoryid.

            vmaksimovs Vladimirs Maksimovs
            vmaksimovs Vladimirs Maksimovs
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: