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

Re: [a bit ot] Importing entries



Alexandre Hautequest wrote:
> 
> Hi.
> 
> This can be a bit ot, but i'm a bit lost here ;P
> 
> I have an OpenLDAP v1 server up and running, but i need to migrate it to v2. My
> database is still populated, so i need to preserve it.
> 
> I tried to generate a "huge" ldif file w/ command-line tools, but it refuses me
> to got more than 500 entries (i had about 500k).
> 

Hi,

i assume that you mean ldapsearch when talking about command-line tools.
Either you should use ldbmcat, bind as the rootdn when using ldapsearch
or increase the sizelimit option in slapd.conf to retrieve all entries.

>From slapd.conf(5)
...
sizelimit <integer>
              Specify  the  maximum  number  of entries to return
              from a search operation.  The default size limit is
              500.
...

Regards,

Philipp


-- 
Philipp Sacha - Bosch Telecom GmbH 
Business Unit Broadband Network Operations
Zitadellenweg 34, D-13599 Berlin  
Tel.: +49 30 3388 - 1094, Fax.: +49 30 3388 - 1936
begin:vcard 
n:Sacha;Philipp
x-mozilla-html:TRUE
org:Bosch Telecom GmbH
adr:;;;;;;
version:2.1
email;internet:philipp.sacha@de.bosch.com
title:Dipl.-Inform.
x-mozilla-cpt:;0
fn:Philipp Sacha
end:vcard