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.