Gleison Amaral dos Santos wrote: > > >> Hello. >> I've configured squirrelmail to read contacts from a ldap server. >> I have about 2000 contacts. >> My ldap server is slapd in a linux system and the number of entries to >> return for a search operation is configured unlimited. >> When I do a full search from squirrelmail I see that there are not all >> contacts. >> It return only a limited number of contacts. >> There is something to configure to be able to return the full list? > > I have the same problem. > Edit the file 'abook_ldap_server.php' in 'functions' folder. > Change the line: > var $maxrows = n; > where "n" is the value of your needs. > You don't have to edit abook_ldap_server.php. maxrows value is configurable. It can be set, when you add ldap directory in conf.pl. Mauro-27 wrote: > > I've to put a value? > I've to change the value whenever my contacts grow. > There is something like unlimited? > When you add ldap directory to SquirrelMail configuration in conf.pl, script asks for max number of results. You can put any number there. See sizelimit option in http://php.net/ldap-search. According to documentation sizelimit is integer, so it should be limited to 2147483648 in 32bit PHP. If you set it to zero, number of results is not limited and you might be restricted only by timelimit. -- Tomas -- View this message in context: http://old.nabble.com/ldap-list.-tp27257454p27272847.html Sent from the squirrelmail-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users