[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Size Limits
Red Hat Enterprise Linux ES release 3 (Taroon)
OpenLDAP 2.2.23
Berkley DB 4.2
Thanks!
Girija
Slapd.conf
include /mydir/install/openldap/etc/openldap/schema/core.schema
include /mydir/install/openldap/etc/openldap/schema/cosine.schema
include
/mydir/install/openldap/etc/openldap/schema/inetorgperson.schema
include /mydir/install/openldap/etc/openldap/schema/nis.schema
include /mydir/dev/mySchema.schema
loglevel 256
pidfile /mydir/dev/slapd.pid
argsfile /mydir/dev/slapd.args
allow bind_v2
password-hash {MD5}
threads 64
access to attrs=userPassword
by self write
by * auth
access to *
by self write
database bdb
suffix "ou=b1,dc=abc,dc=com"
rootdn "cn=mg1,dc=abc,dc=com"
directory /mydir/dev/data1/openldap-data
subordinate
cachesize 10000
limits
dn.regex="cn=(.+),cn=readAllUser,ou=b1,dc=abc,dc=com|cn=oneuser,ou=b1,dc
=abc,dc=com" size=1000
checkpoint 256 60
# Indices to maintain
replica host=hostname:Port
suffix="ou=b1,dc=abc,dc=com"
binddn=
credentials=
bindmethod=
tls=
#Master DB
database bdb
suffix "dc=abc,dc=com"
rootdn "cn=mg1,dc=abc,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /mydir/dev/data/openldap-data
cachesize 10000
checkpoint 256 60
limits
dn.regex="cn=(.+),cn=readAllUser,ou=b1,dc=abc,dc=com|cn=oneuser,ou=b1,dc
=abc,dc=com" size=1000
#####ACL definition
# Indices to maintain
index default pres,eq
replica host=host:port
suffix="dc=abc,dc=com"
binddn=
credentials=
bindmethod=
tls=
-----Original Message-----
From: Pierangelo Masarati [mailto:ando@sys-net.it]
Sent: Monday, February 28, 2005 2:47 PM
To: Parvate,Girija
Cc: openldap-software@openldap.org
Subject: RE: Size Limits
> I tried the search with -Epr=10/prompt it returns me 10 records while
> -Epr=12/prompt returns 12. The noprompt option does the same thing.
> This user can search upto 500 records. Do I need to set anything in my
> slapd.conf for limits? Something that I am missing?
No. I forgot to ask the obvious: can you post your complete slapd.conf
(anonymized, i.e. no passwords or sensitive info) and some info on your
system (e.g. OS, what configure options you used and so)?
p.
--
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax:
+390382476497