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

Zabbix API only uses internal auth, doesn't support LDAP auth.

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 1.8.1
    • 1.8
    • API (A)
    • None

      I'm doing some testing with the zabbix API, but we've got all of our user accounts in LDAP.

      I've been blocked by getting a successful authentication, until today when I tried the default Admin account.

      Using the Admin account to access the API works fine, while using any LDAP-stored account fails with the message:

      Error -32602: Invalid params., Login name or password is incorrect

      In api/classes/class.cuser.php, it looks like the authenticate() function is hard-set to use ZBX_AUTH_INTERNAL. This should be looking up the auth settings from the database, and attempting to authenticate using LDAP, if it's configured.

            Unassigned Unassigned
            wakko Brett Lentz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: