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

Re: A Few Newbie Questions...

At 09:21 PM 10/6/2006, Ted Johnson wrote:
>I've just read the documentation twice and still have a few questions that should be relatively easy to answer:
>The following should be put in DB_CONFIG, but where is that file??
>    olcDbConfig: set_cachesize 0 10485760 0 
>    olcDbConfig: set_lg_bsize 2097512 
>    olcDbConfig: set_lg_dir /var/tmp/bdb-log 
>    olcDbConfig: set_flags DB_LOG_AUTOREMOVE

The file belongs in the directory named in the database's
'directory' directive.

>What do these attibutes mean,

It's not clear what you refer to as 'attributes' here.
I would have thought you were referring to DB_CONFIG
configuration items here but with:

>how are they applicable and why would I want to index them?

you lost me.  One cannot index DB_CONFIG configuration items.

The only LDAP attribute so far named is olcDbConfig.  It
doesn't need to be indexed. It's meaning is explained in the
admin guide.

>This line causes an equality index for the objectClass attribute type, but what does that mean?

It means that the server will maintain an equality index for
this attribute.

>Can you give me an example?
>    index objectClass eq

The above is an example of a configuration directive telling
the server to maintain an equality index for the objectClass
attribute.  If you meant an example of the index itself, that's
irrelevant.  An index is a internal table used to speed up
searching.  It's format is only relevant to slapd(8) and
associated tools.  It's never exposed to admins (or users).

The remainder of your message contains general LDAP questions
not appropriate for discussion here.  Please direct general
LDAP questions to a general LDAP list, such as <ldap@umich.edu>.

-- Kurt