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

Re: ldapsearch for backup

In your slapd.conf on the master server add (or modify) the following line (and then restart slapd):

SIZELIMIT       8000

the default is 500

   good luck,

Emanuele Zanotti wrote:

Hi all,

I am using the following command (SUN Solaris 8) to perform a backup of my
master LDAP server:

ldapsearch -L -D $BIND_USER -w $BIND_PASS -h $MASTERLDAP_IP -p 389 -b
'dc=mydomain,dc=com' -s sub '(objectclass=*)' > $OUTPUT_FILE

but it only exports 500 entries (while the server has more than 7000
Any hints?
Thank you in advance.