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

Re: Dumping the database as root

From: Efgé <efge@mail.dotcom.fr>
> So I use ldapsearch -D rootdn -w secret '(objectclass=*)' which returns
> all the base, in correct order. Except that it returns only maxlimit
> entries...
> Would it make sense to ignore maxlimit when binding as root ?

Does -z 0 achieve this?

I suspect using -L is probably useful for you too since that causes
ldapsearch to produce LDIF output. -L also implies -B which prevents the
usual behaviour of suppressing printing non-ASCII values.