OK, I did figure out what the issue was for my site. I had to remove the && ($this->dn)
test at the beginning of the Search function in ldap_core.php.
diff -urp wpmu-1.3-ldap-plugin-v1.3.0/ldap/lib/ldap_core.php wpmu-1.3-ldap-plugi
n-v1.3.0-rlh/ldap/lib/ldap_core.php
--- wpmu-1.3-ldap-plugin-v1.3.0/ldap/lib/ldap_core.php 2007-11-17 14:37:39.0000
00000 -0500
+++ wpmu-1.3-ldap-plugin-v1.3.0-rlh/ldap/lib/ldap_core.php 2007-11-28 14:13
:11.000000000 -0500
@@ -140,7 +140,7 @@ class LDAP {
}
function Search() {
- if (($this->connection_handle) && ($this->dn)) {
+ if ($this->connection_handle) {
if ($this->debug) {
$this->search_result = ldap_search ($this->conne
ction_handle, $this->search_dn, $this->search_string, $this->attributes_to_get);
$this->info = ldap_get_entries ($this->connectio
n_handle, $this->search_result);
[rusharri@rusharri-lnx WordPress]$ more wpmu-1.3-ldap-plugin-search-dn-rlh.patch
diff -urp wpmu-1.3-ldap-plugin-v1.3.0/ldap/lib/ldap_core.php wpmu-1.3-ldap-plugin-v1.3.0-rlh/ldap/lib/ldap_core.php
--- wpmu-1.3-ldap-plugin-v1.3.0/ldap/lib/ldap_core.php 2007-11-17 14:37:39.000000000 -0500
+++ wpmu-1.3-ldap-plugin-v1.3.0-rlh/ldap/lib/ldap_core.php 2007-11-28 14:13:11.000000000 -0500
@@ -140,7 +140,7 @@ class LDAP {
}
function Search() {
- if (($this->connection_handle) && ($this->dn)) {
+ if ($this->connection_handle) {
if ($this->debug) {
$this->search_result = ldap_search ($this->connection_handle, $this->search_dn, $this->search_string, $this->attributes_to_get);
$this->info = ldap_get_entries ($this->connection_handle, $this->search_result);