[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: the permission wrong of the database which created by slapindex.

Quanah Gibson-Mount wrote:

--On Thursday, December 30, 2004 10:01 AM +0800 Penghui Wang <wangpenghui@realss.com> wrote:

My OpenLDAP database would often change. So i have to run the command
slapindex daily.
Or anyother ideas ? I am not clearly now.

Why do you have to run slapindex daily? OpenLDAP updates the indices every time a change is written. The only time you need to run slapindex is if you add a new attribute to be indexed after the database has already been created.

Thanks for your response. I have misundertood it before. You means that if any change happened in the database, OpenLDAP would update the indices authomatic?



Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin