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.