yourls-ldap-plugin icon indicating copy to clipboard operation
yourls-ldap-plugin copied to clipboard

Activation of plugin bombs

Open mladegaa opened this issue 6 years ago • 2 comments

While trying to activate the plugin, I get the following error message

Fatal error: Cannot use isset() on the result of a function call (you can use "null !== func()" instead) in /home/www/public_html/user/plugins/ldap-auth/plugin.php on line 283

should have the latest yourls and ldap plugin

mladegaa avatar Feb 01 '18 19:02 mladegaa

That should be fixed now, can you update the plugin to the master, test and report back please?

k3a avatar Feb 01 '18 19:02 k3a

The fix resolved the first issue.

The plugin activates now, but now i'm getting these errors

Warning: array_merge(): Argument #2 is not an array in /home/www/public_html/user/plugins/ldap-auth/plugin.php on line 285

Warning: ldap_search(): Search: Operations error in /home/www/public_html/user/plugins/ldap-auth/plugin.php on line 189

And neither LDAP or local users work, can log in with local users if I rename the plugin file.

Not sure if our LDAP allows anonymous search, does the search happen before or after the bind with the submitted user credentials?

mladegaa avatar Feb 02 '18 02:02 mladegaa