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

Re: OpenLDAP 2.4.10 inconsistent performance



Hi,

"Howard Bryden" <hdbryden@emergency.qld.gov.au> writes:

> Folks,
>
> I'm using OpenLDAP under HPUX 11iv3 and am seeing inconsistent query response

I'm not familiar with HPUX, but the following recommendations apply to
any OS:

> DB_CONFIG contents:
> set_flags db_auto_commit
> set_flags db_log_autoremove
> set_lg_dir /var/adm/ldap/dvesv

Add a set_cachesize <value> to DB_CONFIG

> slapd.conf contents:
> include         /usr/local/etc/openldap/schema/core.schema
> include         /usr/local/etc/openldap/schema/cosine.schema
> include         /usr/local/etc/openldap/schema/inetorgperson.schema
> include         /descl/dvesv2/openldap/etc/qgov.schema
>
> pidfile         /descl/dvesv2/openldap/var/dvesv2-slapd.pid
> argsfile        /descl/dvesv2/openldap/var/dvesv2-slapd.args
>
> sizelimit       100000
> loglevel        3311

set loglevel 0

> access to dn.regex="(.+,)?ou=users,o=QLDGOV,c=au"
>         by * auth
> access to dn.subtree="ou=Department of Emergency Services,o=QLDGOV,c=au"
>         by anonymous none
>         by dn.exact="cn=wl_ph_user,ou=users,o=QLDGOV,c=au" write
>         by dn.regex=".+,ou=users,o=QLDGOV,c=au" write

This access rule would not work as expected

[...]
>
> Any ideas on how to resolve this would be much appreciated.

-Dieter

-- 
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:8EF7B6C6