What flavor of LDAP are you using? Are you seeing any errors? How about on the LDAP server error logs? Or PHP errors?
I use Active directory no error when i validate ldap configuration plugin. in osticket i have invalid csrf token or failed login attempt (user)
i don't find php error log on iis..
The error you are getting does not seem to be related to authentication via ldap. Can you log in as a user not using an AD account?
ntozier
hello, i really don't understand why that work for agent and not for users, it's crazy...
ntozier yes , i have created a local user and that work (with email)
i have found php log, there is just some warning about zend extension php_opcache.dll , nothing about ldap/active directory
hello again,
there is no documentation about this plugin?
Is the username need do to be filled for osticket ad user? actually it is the same in AD
thank you
Plugin doesn't really need much in the way of documentation. You configure it (and there are numerous posts here on the forums about how to do so) and it works.
The username is the samAccountName in AD.
We've been using this plugin on multiple sites where I work for years and had no issues.
thank, it's ok for this username = samaccountname.
i don't undestand why what work for agent and not for user...
if agent loggin work that mean that the ldap plugin configuration work, right? so what's the difference between the two ?
The only times I remember seeing this is from the following:
user authentification is checked on plugin configuration and i have created an account in osticket. but may be it not created correctly, i don't see other thing. so , i have selected ldap authenfication (and i verified in table users_account in database. the last thing is the username, you said username need to be the same as samaccountname in AD . so it must be in the form of 'domaine\name' or just name?
Just username. Because you supplied the domain in the plugin (Default Domain).
ntozier ok so it's righ... here my config because i don't see...
Are all your users located in RDS2K12?
ntozier yes, in a sub OU in rds2k12
Then i have no idea why its not working. Can you consult the error logs (event Viewer) for AD and see anything there?
hello, i see nothing. i will use osticket local account
yhank for your help
@gestion4
When you create the User account and Register you should see a Authentication Sources option. Create a new User account and when you go to Register, set the Authentication Sources option to Active Directory or LDAP and retest the User account. I would assume that it's not attempting to use the LDAP backend for auth.
Authentication Sources
Active Directory or LDAP
Cheers.
KevinTheJedi hello, i have selected active Directory or LDAP when i have registered a new user and that not work, i have verified in the user_account table in the database.
best regards
Well at this point you will need to configure LDAP Debug Logs and see if it’s attempting auth for Users, etc.
KevinTheJedi
hello, how configure ldap debug logs?
thanks
gestion4
Did you solved???? LDAP autentication for users seems have problems it works only for Agent. I spent more time in reading and trying solution, but with no success. I am looking for another valid alternative