philbertphotos / osticket-multildap-auth-plugin

Plugin for OS Ticket that allows for authentication with multiple domains.
GNU General Public License v3.0
28 stars 17 forks source link

osTicket crashing after install #15

Closed Rukk385 closed 6 years ago

Rukk385 commented 6 years ago

Hi,

i tried to install this plugin on a fresh centos 7 server (and yum update) with osTicket v1.9.16 and v1.10.1 After the installation on both versions i get empty screen for every osticket URL i have this error in my httpd/error_log

[:error] [pid 9141] [client 10.192.192.11:15851] PHP Fatal error: Can't use method return value in write context in /var/www/html/include/plugins/multi-ldap/auth.php on line 219, referer: http://10.100.100.99/scp/plugins.php?

Only fix to unblock osTicket is to delete /multi-ldap/ folder

Here are the system information

Server Information

osTicket Version | v1.9.16 (f4a172f) — Up to date Web Server Software | Apache/2.4.6 (CentOS) PHP/5.4.16 MySQL Version | 5.5.56 PHP Version | 5.4.16

(all checked) gdlib | Used for image manipulation and PDF printing imap | Used for email fetching xml | XML API xml-dom | Used for HTML email processing json | Improves performance creating and processing JSON mbstring | Highly recommended for non western european language content phar | Highly recommended for plugins and language packs fileinfo | Used to detect file types for uploads

(triangle) cgi.fix_pathinfo | "1" is recommended if AJAX is not working date.timezone | Setting default timezone is highly recommended

Schema | ost (localhost) Schema Signature | b26f29a6bb5dbb3510b057632182d138 Space Used | 2.10 MiB Space for Attachments | 0.01 MiB

Rukk385 commented 6 years ago

It was a php error, this plugin dosent work with PHP Version 5.4.16. I got it to work with PHP Version 7.0.30

But there are to many problems if you are using FreeIPA or 389 Directory Server It always thinks its connecting to active directory

philbertphotos commented 6 years ago

Its specially designed for active directory and it works php 5.6 and up. I am not sure if I can add support to other LDAP services in the future.

Sent from my iPhone

On May 22, 2018, at 10:48 AM, Rukk385 notifications@github.com wrote:

It was a php error, this plugin dosent work with PHP Version 5.4.16. I got it to work with PHP Version 7.0.30

But there are to many problems if you are using FreeIPA or 389 Directory Server It always thinks its connecting to active directory

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Rukk385 commented 6 years ago

if you ever add other LDAP services i will be glad to help testing. I just needed your remapping feature so i modified the official LDAP plugin with my mapping. Thanks anyway.