[mod] help implementation of ad
KevinTheJedi yes, I think if that's it, that's what it's called. ?
any help please?
There is a command where you can pull the local UID:
$user = $_SERVER['AUTH_USER'];
is what I've seen used before. Now unless I am not remembering correctly (I think I am) osTicket requires the UID in Ad and osTicket UID to match.
I still can not find the way .. ?
@KevinTheJedi u can helpme?
Being as I have VERY little free time, I would say no just due to the fact that I don't have time. Maybe someone else can chime in and assist but I just don't have the time right now. ?
Cheers.
KevinTheJedi you know who can help me with this?
krvam where is your AD connection string? - IE HOW are you connecting to AD in the call?
$user = $_SERVER['AUTH_USER'];
Above this code will (per my understanding) store the local authorized user as a var $user. I posted back in 1.6 an AD pass thru mod (prior to plugins being a thing) and this code was in it.
krvam I thought one of your issues was that you were trying to "pull" or copy the user object and match it to the AD login. The code above which I posted SHOULD capture the logged in users AD ID which you can then compare. osTicket's AD plugin and osTicket itself requires that the login ID and the AD ID match for AD auth.