Hello,
I am using osTicket version 1.12 with offical plugin auth-ldap.phar.
While initial config, it is able connect to my ldap server, I think is initial test.
However, after deploy and I find it is using anonymous. Not my setup username and password.
----- Below is LDAP server log -----
Jul 5 14:26:28 zammadtest1 slapd[70341]: conn=1015 fd=19 ACCEPT from IP=111.222.333.444:56400 (IP=0.0.0.0:389)
Jul 5 14:26:28 zammadtest1 slapd[70341]: conn=1015 op=0 BIND dn="" method=128
Jul 5 14:26:28 zammadtest1 slapd[70341]: conn=1015 op=0 RESULT tag=97 err=48 text=anonymous bind disallowed
Jul 5 14:26:28 zammadtest1 slapd[70341]: conn=1015 op=1 UNBIND
Jul 5 14:26:28 zammadtest1 slapd[70341]: conn=1015 fd=19 closed
-- Below is the website error log ---
[Fri Jul 05 06:26:28.510728 2019] [php7:error] [pid 107862] [client 111.222.333.444:23929] PHP Fatal error: Uncaught Error: Call to a member function rootDse() on null in phar:///var/www/html/support/include/plugins/auth-ldap.phar/authentication.php:259\nStack trace:\n#0 phar:///var/www/html/support/include/plugins/auth-ldap.phar/authentication.php(190): LDAPAuthentication->getSchema(NULL)\n#1 phar:///var/www/html/support/include/plugins/auth-ldap.phar/authentication.php(476): LDAPAuthentication->authenticate('username', 'xxxxx')\n#2 /var/www/html/support/include/class.auth.php(235): ClientLDAPAuthentication->authenticate('username', 'xxxxx')\n#3 /var/www/html/support/login.php(52): AuthenticationBackend::process('username', 'xxxxx', Array)\n#4 {main}\n thrown in phar:///var/www/html/support/include/plugins/auth-ldap.phar/authentication.php on line 259, referer: https://osticket.com/support/login.php
Does anyone have experience on it? Please advise.
Thanks!