Added code from Philippe Mingo on June 1, 2001
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 25 Jun 2001 17:47:06 +0000 (17:47 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 25 Jun 2001 17:47:06 +0000 (17:47 +0000)
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.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1428 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/abook_ldap_server.php

index 57b4a43dc5375a559c65b41f948c3cb904cb8e04..5db39cc10780ba6804edc75c15556c43c1f0cd5d 100644 (file)
        return $ret;
      } // end search()
 
        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.
    }
 ?>
    }
 ?>