-
Notifications
You must be signed in to change notification settings - Fork 13
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
Plugin seems to be ignored #9
Comments
I haven't upgraded to 1.7.1, but from the changelog there doesn't seem to be anything that would break this plugin. You've definitely activated the plugin via the Manage Plugins screen? If it's dieing for some reason it should output to the PHP log, I'd start with that, then add in some debugging output to make sure it's actually opening a connection |
I started doing some output debugging. So far, it looks like the search user name and pass are not optional but required. The search function called further down cannot search unless the connection is bound to a user account. |
I'm going to try to bind on the user credentials attempting to login rather than the search user. I'm just wondering if this could possibly create some security issue since the plugin wasn't written this way in the first place. |
Off the top of my head I wouldn't think so - but I haven't looked over the code recently. I've tested it with using anonymous binding before though, and it has worked. Might be your LDAP/AD setup requires a user account to bind? |
Probably is the case of AD requiring a login first. I did get it to work using the method I mentioned. I can share the code if desired. |
Yes, share please. It may help others. On February 11, 2016 11:35:10 AM PST, BrandonH-LSUHSC notifications@github.com wrote:
|
In my experience, the following things have to be changed for Active Directory:
Wikimedia has an LDAP plugin that works: https://www.mediawiki.org/wiki/Extension:LDAP_Authentication |
Also, the following change is necessary:
|
I have YOURLS 1.7.1 installed along with the latest version of the plugin. We are using Active Directory as our LDAP server. I have the info in config.php the same as we used on other AD related systems. When attempting to login with AD credentials I get invalid username or password, but am successful if I use the password that was entered in config.php. (I also tried removing the user all together from config.php, but it made no difference.)
The text was updated successfully, but these errors were encountered: