-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install ldap-auth plugin #206
Comments
Seems like your issue is Composer 2. Use Composer 1 and retry. Cheers. |
@JediKev Sorry, I'm not familiar with composer. Googled ways to downgrade it, but none of the ways I've read work. I downloaded composer 1.0.22 from HERE, and now
|
I moved /var/www/html/osTicket/include/plugins/lib/pear-pear.php.net/Net_LDAP2 to /var/www/html/osTicket/include/plugins/lib/pear-pear.php.net/net_ldap2 and the build completed, but I still get a 500 error when trying to configure the plugin.
|
You would need to check your error logs for any related errors. Cheers. |
You might want to consider just downloading the already hydrated plugin from the official download site. |
The download link target points to the github plugins project. I'm not familiar with PHP or phar files, but after I ran the hydration, a new "include" directory showed up in auth-ldap with some subfolders and files. |
Thanks, that download method did provide the .phar file. I'm up and running with LDAP. |
My apologies, I would’ve suggested that sooner if I knew you were just trying to install it to use it normally. From the sound of your OP I thought you were trying to use the unpackaged plugin to debug or do custom development. Cheers. |
No worries. I think what makes things more confusing is that the plugin selections when going through the download options don't result in a workable environment. |
The documentation refers to using phar to unpack files, but the files are already unpacked in the git repository. I have tried using
php make.php hydrate
anyway, and get the following error on Debian Buster:There are 3 files in include/plugins/auth-ldap:
After enabling the plugin and filling out the form to configure it, a 500 error is thrown. Here is the relevant Apache error.log entry:
The text was updated successfully, but these errors were encountered: