KevinTheJedi To confirm, I deleted the file and restarted the server before replacing it. I manage the server so I have full access. I see in Event Viewer the successful LDAP authentication on the AD server "An account was successfully logged on."
Will continue to read, but I'm unsure on what else I can do. Is there a way to run OSTicket or the Plugin in a debug mode?
Active Directory User Authentication Doesn't Work - Agents Do..?
No, you'll need to add debug statements in the code yourself. It does sound like the new plugin is not loading for some reason. Check your logs (general server logs, webserver error logs, PHP error logs, MySQL/MariaDB error logs, osTicket System Logs, Browser Console logs, etc.) for any related errors on User login.
Cheers.
- Edited
KevinTheJedi Thanks much. Like @eagletech, none of my logs show any related errors.
I'll look into downgrading my PHP version from 8.1.19 to 8.1.17. If that doesn't work, we will have to put the install on pause. What's weird is that agent accounts that use LDAP are fine, it's just the users that do not work.
Yes, and this is due to the user ldap auth code not accounting for latest PHP 8.1 changes which is addressed in the custom build of the plugin I linked above. Here is the relevant pull that's included in the custom build of the plugin:
Cheers.
- Edited
KevinTheJedi I downgraded to PHP 8.0.28, rebooted the system and ensured that everything else on my machine works (they do). When I tried to login a user, I still got access denied. On a whim, I removed, your plugin, deleted the configuration, restarted the server, and then added the original plugin - now it works. Guess we will stay on PHP 8.0 for a while. Thanks for your assistance, I appreciate it.
Hi, quick question, is there a solution i.e. a new release on the horizon for the LDAP Plugin???
i would lie to use it but i can't downbgrade to a lower php version.
Can you give an estimated date by when that will be?
Hi, just a quick question, is the AD Plugin Updated jet?
KevinTheJedi I hope, it's OK to reopen this thread here.
I have the same problem: agents can log in via LDAP, clients can't.
Here are the specs of server:
LDAP plugin version is 0.6.2p8
What I did so far is extracting the phar as you described above and set some error_log statements in the file authentication.php.
So I found out, that the function authenticate in the class ClientLDAPAuthentication is never called. So the client login fails.
Any Ideas?
Cheers Bjoern
Hol que tal tengo este problema si sale un notificacion de instancia actualizada pero cuando quiero ingresar con usuario por ejmplo terminator sale acceso denegado adjunto las imagenes si me podrian ayudar
[upl-image-preview url=https://forum.osticket.com/assets/files/2025-01-15/1736962129-720157-image.png
]
- Edited
Did you read here?
Also read here:
Cheers.
Hello
The synchronization with AD did work, I just needed to enter the email address for each user, but now every time I make a change to the user in AD it does not synchronize with the osticket and vice versa. Is there a solution for this or does it take a long time to apply?
No, we do not have directory sync at this time. It's just a simple one-way authentication feature.
Cheers.
Thanks, check the Multi Ldap that you are reading in previous threads, will it currently work?
- Edited
If you are talking about configuring multiple AD backends via the native LDAP plugin's Instances, then I believe you still need to manually apply patches for that to work. Like all these:
Cheers.
- Edited
I found a way to do it with a script. [Redacted by Admin: Please don’t advertise on this forum.]