Don't forget to chown the index files that it creates to ldap. By
default they will be owned by root and your ldap daemon will not be able
to read them.

Out.

-----Original Message-----
From: David Stults [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, December 24, 2002 7:55 AM
To: [EMAIL PROTECTED]
Subject: Re: Indexing LDAP?

Use slapindex to index it (kill slapd first, of course).  If you just 
add the index options to slapd.conf and don't reindex, then the next 
time you add an account you'll be in for a nastier surprise than mere 
slowness -- it'll fail to look up *any* account info (other than your 
newly added account), because it'll be using incomplete index files.

Dave


K. F. Yim wrote:

>mail & mailAlternateAddress!!!
>
>KF
>----- Original Message ----- 
>From: "Matt" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, December 24, 2002 3:32 AM
>Subject: Indexing LDAP?
>
>
>  
>
>>Ok,
>>My system works fine with a small user base.. but when I add my large
>>database of "working" users (40,000) I get Temporary Errors when I try
>>to pop mail....  someone suggested, and I think it probably is... an
>>access timeout issue....  and that I should index... here's what I
have
>>in my config... do I need to do something else?
>>
>># Indices to maintain
>>index   objectClass     eq
>>index x500uniqueIdentifier      eq
>>index uid eq
>>
>>Is there some command I need to run to have it index the database or
>>something?? or will it do it by itself?
>>
>>
>>
>>    
>>
>
>
>  
>



Reply via email to