Open mkran opened 11 years ago
Check with IT to make sure a firewall is not blocking requests from your web server to the ldap server.
I was able to ping the LDAP server and it was listening. I dont think firewall is the issue..
Also getting this problem at the moment. Running EE 2.7. Does anyone have a solution to this?
Mkran, are you running EE 2.7 also?
I'm running EE 2.6.1..
@mattlgb - If you want to disable the LDAP plugin temporarily..
Go to - system/expressionengine/config/config.php change $config['allow_extensions'] = "y"; to $config['allow_extensions'] = "n"; You will now be able to log in to EE control panel ... Go to Add-ons->extensions->Enable extensions->disable LDAP....
You are DONE!! But this doesn't solve our issue..any suggestions??
Thanks @mkran. I've actually just been going straight into the db and setting the respective exp_extensions entries to 'n'. Really would like to get to the bottom of this like you :). I don't really want to have to mess about with the code, but I might take a look if no-one can offer a suggestion any time soon.
I've submitted Pull Request #19 to update deprecated function hash()
I know it works in 2.5.5 (I'm working to update my development server to 2.7 now), I don't think there are any other breaking-changes in 2.6 or 2.7, so this may work for you all as well: https://github.com/lightfuze/LDAP-Authentication-for-ExpressionEngine
Ok so it doesn't give me a 500 error any more, but simply white-screens instead
You might try re-uploading the LDAP extension files and disabling and re-enabling the extension.
I just did a fresh install of EE 2.7.1 and then installed LDAP auth from: https://github.com/lightfuze/LDAP-Authentication-for-ExpressionEngine Plugged in my LDAP settings (from my EE 2.5.5 production server)
I am able to log in as EE admin (EE Authentication) and as my LDAP user.
Funny story. I'm now working on this same implementation that mkran was rocking back in 2013. I guess that means we never resolved the issue, because when I enable LDAP I get the white screen after attempting to authenticate.
I set up a dev server and am running 2.8.1. I have the latest code for LDAP from the repo. I've even used a partner site's config (theirs is working!) and tried it - I get the white screen. I'm wondering if it's not interference from another plugin or something...? Is there any way to tell? I'm not seeing much by way of logging. Thoughts?
I've solved the "white screen" error - it's a little embarrassing, but since it will help the next guy or mattlgb, I'll share. You need to be sure you have ldap compiled into php, and that the ldap module is enabled in apache2. Never crossed my mind that it might not be there...but...there ya go.
On Ubuntu the fix was:
sudo apt-get install php5-ldap sudo a2enmod ldap
I maximized all logging/debugging output and was able to see that calls to the basic ldap_connect function were breaking, which put me on that trail.
So - no more white screen. Still having authentication problems, but I'm hoping it's some settings I need to clear up with our LDAP admins. I'll update when I get it working (because I will). I WILL.
I just installed the LDAP plugin. I got the settings information from IT and filled them out. Here are my settings:
Once I update the settings I am not able to log into EE control Panel -- both my Active Directory and ExpressionEngine uname and password aren't working. It just goes to http://myuniversity.edu/admin.php?S=0&D=cp&C=login&M=authenticate and returns server error.
Assuming that the settings are correct, could there be any other reason why this is happening?
Please help.. Muthu