OSticket version:   1.8.1.2Plugin: auth-ldap (installed from github).OS: Centos 6.4Hi Guys,I've been struggling with this for the last couple of days. The OSTicket installation runs fine and works well. However, when trying to install the auth-ldap plugin I get the error below. I have added it to the plugins folder and have tried to run it with and without running make.php. When running make.php, i get the errors that it could not load Auth 1.3.0r4: Invalid version string "1.3.0r4" etc but it then hydrates the auth-ldap plugin and adds the required files to the folder. The plugin screen works and I can fill in the data needed for our ad details, however submitting this data returns the following error (Chrome). The files that it is claiming are not there are.Error:Warning: require_once(Net/LDAP2/RootDSE.php): failed to open stream: No such file or directory in /var/www/html/osticket/include/plugins/auth-ldap/include/Net/LDAP2.php on line 24 Call Stack: 0.0001 635008 1. {main}() /var/www/html/osticket/scp/plugins.php 0.0203 3098768 2. PluginConfig->commit() /var/www/html/osticket/scp/plugins.php 0.0214 3152248 3. LdapConfig->pre_save() /var/www/html/osticket/include/class.plugin.php 0.0239 3625568 4. require_once('/var/www/html/osticket/include/plugins/auth-ldap/include/Net/LDAP2.php') /var/www/html/osticket/include/plugins/auth-ldap/config.php Fatal error: require_once(): Failed opening required 'Net/LDAP2/RootDSE.php' (include_path='./:/var/www/html/osticket/include/:/var/www/html/osticket/include/pear/') in /var/www/html/osticket/include/plugins/auth-ldap/include/Net/LDAP2.php on line 24 Call Stack: 0.0001 635008 1. {main}() /var/www/html/osticket/scp/plugins.php 0.0203 3098768 2. PluginConfig->commit() /var/www/html/osticket/scp/plugins.php 0.0214 3152248 3. LdapConfig->pre_save() /var/www/html/osticket/include/class.plugin.php 0.0239 3625568 4. require_once('/var/www/html/osticket/include/plugins/auth-ldap/include/Net/LDAP2.php') /var/www/html/osticket/include/plugins/auth-ldap/config.phpAll the best

I'm not real sure what your trying to do... But to install the ldap-auth plugin you simply download the plugin and put the .phar in the /include/plugins/ folder.  Then you go to Admin panel -> Manage -> plugins -> and click "Add new plugin". 

15 days later

I didn't see a .phar, but I downloaded the zip from github and put the contents into include/plugins/folder.  It doesn't show up in the manage plugins area of the admin.

If your not downloading the .phars then each plugin should be in their own folder in /include/plugins. ie if the plugin is called storage-fs it should be in a folder or the same name. Then you can navigate to Admin panel -> Manage -> plugins and click the "Add new plugin" and select the ones that you want to use that you have put in /include/plugins.

Write a Reply...