Hello,I'm Florent from France. I need your help to configure the plugin LDAP in osTicket 1.9.5.1 on a CentOS 7.I DL the zip on https://github.com/osTicket/core-plugins and put the contents into my /var/www/html/osticket/include/pluginsI installed the plugin LDAP via the Admin Panel > Manage > Plugins > Add (like mentionned in http://forum.osticket.com/d/discussion//how-to-configure-the-ldap-authentication-and-lookup-pluginWhen i configure the parameters of the LDAP (servers, bind, search base ...) i have errors who said : PHP Warning:  require_once(include/Net/LDAP2.php): failed to open stream: No such file or directory in /var/www/html/osticket/include/plugins/auth-ldap/config.php on line 119, referer: http://osticket.lan/scp/plugins.php?id=1 PHP Fatal error:  require_once(): Failed opening required 'include/Net/LDAP2.php' (include_path='./:/var/www/html/osticket/include/:/var/www/html/osticket/include/pear/:/var/www/html/osticket/include/plugins/auth-ldap/include') in /var/www/html/osticket/include/plugins/aut

I tried to run the command php make.php hydrateBut the output has errors  http://pastebin.com/2saUciEAI install pear package from centos repo like mentionned here (http://forum.osticket.com/d/discussion//auth-ldap-plugin-will-not-configure), but it doesn't solved the problem.Can someone share me his experience ?Thanks.

You should probably just download the plugin from the web page instead.http://osticket.com/downloadclick on plugins.That way you can skip the whole hydrate process.

You are right. I put the auth-ldap.phar in the plugin folder and it works after enable it.It was much more easy than the "hydrate process".Thanks !I know it's possible to enable the LDAP for staff members or/and clients.But do you know if it's possible to enable LDAP AND database in case of LDAP server problem.

Despite the fact we also use LDAP auth plugin, we never thought of what will happen when the LDAP server (Active Directory) is not available since the we might have bigger issues as the access to osTicket then ;)So sorry for not a real answer, but I just don't know (even though we use the plugin ourselves here).

Yes its possible.Go to Admin panel -> Agents -> click on an agent.Scroll down to "Authentication Backend".If its set to "-Use any available backend -" then it will roll over from ldap to local auth. (although if the user changes LDAP passwords often I dont know if it will end up having the same local password.)You could also limit it to only local, or only ldap in this field.

@[deleted] is correct. After reading his answer I know remember that again, must have forgotten it somehow

You shall just make sure to set a local password as backup / let your end users set it since I don't know (yet) how osTicket behaves when you did not set a password. Maybe @[deleted] can enlighten me/us ;)

Re: Maybe @[deleted] can enlighten me/us ;)Yeah I have no idea.  I would presume that's whey the ticket system prompts new users to set a password though. :)

6 days later

Hello!I install the same combo, with ldap auth. All thing works great, i can search with ldap i see users come up with autocomplete. But, i cant login to client area with these users.Where can i enable client login with ldap backend?Thanks.

@[deleted] if you are having an issue please start your own thread and not hijack someone else's.  Thanks.

Hello!

I install the same combo, with ldap auth. All thing works great, i can search with ldap i see users come up with autocomplete. But, i cant login to client area with these users.

Where can i enable client login with ldap backend?

Thanks.

Firts of all you should registered a userthen go to the Agent Panel->Users->Select created user->click "Register" and now you should to see the fild "Authentication Sources:"

Write a Reply...