[horde] Re: ldap and imap

Chuck Hagenbuch chuck at horde.org
Thu Mar 3 16:25:33 PST 2005


Quoting LALOT Dominique <lalot at univ-aix.fr>:

> But, it's slow. As I'm specialized on ldap servers, I've had a look to
> the logs of my server. There is no attr defined, so for each entries,
> you're getting all the entry, consuming time and CPU
> On line 356 of ./lib/Horde/Auth/ldap.php, I changed for:
> $search = ldap_search($ldap, $this->_params['basedn'],
> $filter,array('uid'));
> And listusers (3500 users) is very fast

I've made this change in CVS and for 3.0.4, thanks!

> But It would have been great to display cn instead of uid, or a mix..
> I put no bind password, and the interface is active for deleting users,
> is it normal?.

Does it work? Not sure.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the horde mailing list