From 623e3d6b557f352f541e0aa65d13f3ae5bdabdcb Mon Sep 17 00:00:00 2001 From: Tyler Akins Date: Mon, 25 Jun 2001 17:47:06 +0000 Subject: [PATCH] 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. --- functions/abook_ldap_server.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/functions/abook_ldap_server.php b/functions/abook_ldap_server.php index 57b4a43dc..5db39cc10 100644 --- a/functions/abook_ldap_server.php +++ b/functions/abook_ldap_server.php @@ -222,5 +222,14 @@ return $ret; } // 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. } ?>