hrm weird.  slapindex didn't create an index all it did was fubar my 
LDAP tree.  ahh well I just turned on the indexing and used ldapadd with 
the ldif that I have backed up. It's working fine now, doesn't seem any 
faster but of course not many people use my server so the indexes 
probably aren't really needed but might as well leave them there.

--Mike

Oscar Bonilla wrote:
> 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
> 

Reply via email to