osTicket / osTicket

The osTicket open source ticketing system official project repository, for versions 1.8 and later
osticket.com
GNU General Public License v2.0
3.2k stars 1.65k forks source link

[bug] LDAP & Authentification Plugin | Multiple instances do not work #6723

Closed cmwg71 closed 2 months ago

cmwg71 commented 3 months ago

I am currently implementing osTicket v1.18.1 and would like to use multiple AD / LDAP searches. I installed and activated the mentioned plugin. Webserver is running PHP 8.1.29 (other versions available if needed / running Plesk). Webserver is Debian 10

I create an instance with the first AD LDAP connection. I test it by creating a new ticket and checking if i can search for a user within that AD domain. This works fine.

However, as soon as i create a second instance for a second AD domain, this stops working. The instances are sorted alphabetically and always the second instance in the list will not work. The first works. If i deactivate the first in the list, the second in the list will work again.

All AD LDAP settings are correct and work when it is the only instance active.

I guess this is either an issue within the auth-ldap plugin itself not handling instances, or instances in osTicket ist the issue.

The error shown within osTicket:

LDAP-Search failed: LDAP_REFERRAL Parameters: Base: dc=intern, dc=domain, dc=de Filter: (&(objectCategory=person)(objectClass=user)(|(sAMAccountName=[email](mailto:email)*)(firstName=[email](mailto:email)*)(lastName=[email](mailto:email)*)(displayName=[email](mailto:email)*)(mail=[email](mailto:email)*))) Scope: sub

cmwg71 commented 2 months ago

closing this since i opened new ticket in the plugins area