Jelajahi Sumber

Added code from Philippe Mingo on June 1, 2001
Disabled by default, but you can make the "List All" button show everyone
in the LDAP server. Usually an unwise decision, but can be helpful for
small sites.

Tyler Akins 24 tahun lalu
induk
melakukan
623e3d6b55
1 mengubah file dengan 9 tambahan dan 0 penghapusan
  1. 9 0
      functions/abook_ldap_server.php

+ 9 - 0
functions/abook_ldap_server.php

@@ -222,5 +222,14 @@
        return $ret;
        return $ret;
      } // end search()
      } // end search()
 
 
+
+     // If you run a tiny LDAP server and you want the "List All" button
+     // to show EVERYONE, then uncomment this tiny block of code:
+     //
+     // function list_addr() {
+     //    return $this->search("*");
+     // }
+     //
+     // Careful with this -- it could get quite large for big sites.
    }
    }
 ?>
 ?>