The MU forums have moved to WordPress.org

How to get LDAP plugin v1.3.0 working with WPMU??? HELP! (5 posts)

  1. heebz
    Member
    Posted 15 years ago #

    If anyone could help me or give some tips on how to get the WPMU LDAP plug-in to work that would be great. I will use any version of wordpress mu and any version or the ldap plugin just tell me what works! or what hack i need to get it to work. If anyone has a working install of wordpress mu and the ldap plugin please respond to this and tell me your version numbers and plug-in settings.

    Thanks

  2. tdjcbe
    Member
    Posted 15 years ago #

    Telling us what issues you;re facing would be a great way to get help. You may want to review the previous threads on the topic as well since others have discussed the plugin in the past.

  3. heebz
    Member
    Posted 15 years ago #

    Basically I am trying to get the new LDAP plugin (version 1.3) or any version to work with any version of WPMU. I am testing the installs locally on a windows xp machine using xampp. I have confirmed that the php ldap module is working but still can't authenticate against the plug-in. I'm currently trying to get it to work with WPMU 1.3 because i read in one of the threads that the ldap plug-in doesn't work with the new WPMU 1.5.1 yet. When I try and log in I am getting "Error:Wrong username / password combination." I have tried many combinations of settings with the plug-in but can't figure it out and can't find any log files with helpful errors anywhere.

    Any help is much appreciated.
    Thanks again.

  4. vikramap
    Member
    Posted 15 years ago #

    I have been able to authenticate the user through LDAP plugin 1.3.0 with
    WordPress Mu 1.3.3.
    I was getting "white screen of death" .Becoz,I had not configured Ldap
    properly with PHP. Then later, it was redirecting me to the login screen
    saying wrong username or password.

    The problem was with the code !!!. (the Ldap Entry structure based on
    which the search is done)
    The problem that occurs are bcoz of these lines
    1.inside LDAP_ro Authenticate function :
    $attributes_to_get = array ("fullName", "mail", "givenName", "sn",
    "phone");

    I dint have the Ldap entry with following attributes.
    I donno from where these attributes are defined. It was not available in
    OPENLDAP.
    I changed it according to my Ldap entry structure.

    2. The search criteria!!!!!!

    $this->SetSearchCriteria ("(samaccountname=$in_username)",
    $attributes_to_get);
    I donno in which Ldap we will have this attribute !!! samaccountname!!!!

    I changed it to
    $this->SetSearchCriteria ("(cn=$in_username)", $attributes_to_get);

    I did not find any documentation for this plugin apart from the
    description of fields in the Ldap options admin screen.The Ldap is
    different for different people. there should be an option for setting
    search criteria(filter) & for getting the attributes.

  5. vikramap
    Member
    Posted 15 years ago #

    But I have a different problem with Ldap plugin.
    I am able to login with new usernames. The WPMU account & blog are automatically created. But It is only for 1 time!!.
    But i am not able to login again with same username. Plugin is creating some problem with existing users. I need to debug it.!!! :(. I think , there is some problem in getting the user info from the existing users! I donno the use of the following functions in the plugin
    1. GetUserInfo ()
    2.GetEmailList()
    3.GetDNParts ()
    4.GetLDAPInfo()
    Please help.

    Thanks in advance.

About this Topic