On Tuesday, August 27, 2002, at 11:43 AM, Mike Roest wrote: > Wouldn't it also be effective to index the uid field? Especially in this > case where the users are popping there account's every minute.
Well, it depends on how the pop daemon looks up information. For instance, courier (and I think qmail's popd too) look up the user information by appending the domain and looking for a mail attribute. I'm sure I have an index on the uid too, I probably skipped that line. > Also a quick question I added the indexes you provided to my slapd.conf > and restarted slapd. After this my qmail-ldap couldn't lookup any user > via mail/mailAlternateAddress but could by uid. Do the indexes need to > be setup before any data is entered into the LDAP or should the indexes > be created from existing data? If you add the indexes to an existing openldap intallation you should bring down your slapd and run slapindex. Regards, -Oscar -- pgp fingerprint: BC64 2E7A CAEF 39E1 9544 80CA F7D5 784D FB46 16C1
