osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go
get it now
Multi Domain LDAP plugin for osTicket v1.10-RC.2
So after many hours of had work I made a ldap plugin with support for multiple separate domains.
It even combines the searches as one search..

As you can see by the configuration plugin page each parameter is separated be a space or a "," or ";" the plugin loops through all LDAP domains until it it finds the user be name and authenticates the password.

The only minor bug is that if a user has the same login/username on both domains they can login ONLY as one user. I will get a workaround but this issue should be kinda rare.
I might have to force logins with emails or something..
If you are interested in testing it let me know.
Comments
BUT its something I know that needs to be done or I will have a headache later when I release it.
https://github.com/philbertphotos/osticket-ldap-auth
[Thu Oct 15 17:09:51 2015] [warn] [client ***] mod_fcgid: stderr: PHP Fatal error: Call to a member function hasCustomConfig() on a non-object in ***/public_html/include/staff/plugin.inc.php on line 6, referer: http://***.co.uk/scp/plugins.php
[Thu Oct 15 17:09:51 2015] [warn] [client ***] mod_fcgid: stderr: PHP Fatal error: Call to a member function hasCustomConfig() on a non-object in ***/public_html/include/staff/plugin.inc.php on line 6, referer: http://***.co.uk/scp/plugins.php?id=1
[Thu Oct 15 17:10:38 2015] [warn] [client ***] mod_fcgid: stderr: PHP Fatal error: Call to a member function hasCustomConfig() on a non-object in ***/public_html/include/staff/plugin.inc.php on line 6, referer: http://***.co.uk/scp/plugins.php
[Thu Oct 15 17:10:38 2015] [warn] [client ***] mod_fcgid: stderr: PHP Fatal error: Call to a member function hasCustomConfig() on a non-object in ***/public_html/include/staff/plugin.inc.php on line 6, referer: http://***.co.uk/scp/plugins.php?id=1
Any ideas?
I am using 1.10 RC2 and the code off your GITHUB page.
Is there anything we can do in the meant time, or should I wait for you to fix it?
I have installed your update from this morning and it's not helped, just for your information.
So, I have switched modes away from mod_fcgid and it made no difference. I have also tried to the OSTicket LDAP plugin which works ok (or should I say it doesn't stop the helpdesk loading, I haven't actually set it up).
Maybe I am doing this wrong so I am outlining it here:
The only way back after that is to rename the directory your files are in and it springs back to life.
When I load up the LDAP plugin from OSTicket I do note it's in a .phar format, does this make a difference?
I am wondering if I am doing something wrong.
Is it because it's a blank config? Am I able to populate the details directly in the DB/a file?
Will the plugin work on v1.9.14 ?