The MU forums have moved to

WordPress LDAP CAS (4 posts)

  1. samaka
    Posted 17 years ago #


    I want to integrate WordPress MU + OpenLDAP + CAS.

    I have used for WordPress MU + OpenLDAP :
    This was succesful

    For WordPress CAS + OpenLDAP :
    I have used the offcial documentation
    This was succesful

    and for integration CAS + WordPress MU : for integration CAS + WordPress MU

    But, When I try to connect to URL of my WordPress MU, I have a blank page.

    In checking the apache error log, I found this error :

    [client] PHP Fatal error: Cannot redeclare wp_login() (previously declared in /var/www/html/ in /var/www/html/ on line 21

    Any body had this error? How could I resolve this error?

    Thanks in advance!

  2. samaka
    Posted 17 years ago #


    Any reply?

    Please Help me !

    Thanks in advance

  3. seanwedig
    Posted 17 years ago #

    I have not encountered this error, but I have a guess as to what's going on...

    Did you overwrite pluggable.php in the mu-plugins file with the version from the WPMU LDAP Plugin? Since it is trying to override base WPMU Authentication, it needs to redefine the login method (the function wp_login), and it does that by conditionally declaring a custom version of the method. In essence, it's something of a hack to make the code customizable.

    So what does this mean that you may have to do?

    For now, make sure you have the latest version of the WPMU LDAP plugin, and that the version of pluggable.php in mu-plugins/ is the same as what was released with the plugin. If not, try re-installing the plugin per the instructions in the "ldap_auth.txt" file.


  4. misterbisson
    Posted 15 years ago #

    @samaka: I struggled with CAS integration too. Now, I've released the plugin that we're using at my school to do this:

    It uses CAS to authenticate users in both regular WordPress and WordPress MU versions 2.5 through current. If the CAS user doesn't have an account in WordPress, it can call a function you define to provision a WP account for them or do other things.

About this Topic

  • Started 17 years ago by samaka
  • Latest reply from misterbisson