Support » Fixing WordPress » WP 2.7 and LDAP

  • Resolved andremta


    I’m struggling to make WP2.7 working with LDAP but without success.

    The problem seems that most LDAP plugins are compatible with old WP login hashing (MD5) and aren’t compatible with the new phpass login system implemented with 2.6+

    Anyone knows any HACK so I can make WP 2.7 working with LDAP authentication?

Viewing 15 replies - 1 through 15 (of 15 total)
  • What exactly are you trying to do, and where is it failing? I use LDAP authentication for my installation, but I also have a custom login page; so the way I did it bypasses the WP login system.

    I have tried all LDAP plugins available at the plugin directory and all failed to work!

    Which plugin do you use for WP 2.7?

    Well, I wrote my own because those plugins didn’t really fit my situation. How are they failing? And are you certain that you have LDAP support installed with PHP?

    I have the “Invalid username” error. No matter what I insert, this errors pops up. But it works correctly with local WP accounts.

    I’m sure that the username exists in the LDAP. I have the php/LDAP mod installed.

    I’m using the Zimbra (OpenLDAP) as my LDAP server.

    Can you share with the WP community your LDAP plugin? It would be nice!

    Yeah, actually I submitted it earlier this afternoon, just haven’t heard back yet :-). I’ll post a link as soon as it’s up.

    Thanks mate 🙂

    Hope to ear from you soon!

    Okay, just added it via svn, so it should show up in the next few minutes:

    I had to modify it a bit, and it’s not as secure as it should be for a production site; so I wouldn’t use it outright, but hopefully there is some code in there that can help.

    Hello Sojweb!

    I installed the plugin but when I try to login the “wp-login.php” is not found! Maybe is there any error with the URI?

    I tried to DEFINE(‘CAS_URI’, ‘’); but after this a blank page is showed.

    I have some sort of “Redirect Loop”

    If you’re not using CAS, the plugin won’t work. In the file, though, there might be some LDAP functions that could help you.

    This is a pretty specific plugin, and I doubt many could use it as is… there might be some helpful code in there, though.

    I only need it for LDAP, not for CAS.

    Is there any way to hack the code to make it work?

    Probably… I would like to help, but don’t have the time for it. Sorry. Have you tried talking to the authors of the other LDAP plugins?

    I have tried, so far, without success!

    Unfortunately I think there is no LDAP plugin that works perfectly for WP 2.7+

    Thanks anyway sojweb!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘WP 2.7 and LDAP’ is closed to new replies.