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


I tried openldap 1.1 on Solaris 2.6 with db 2.5.9 as backend. But
I  get  the same ldif2ldbm failure during the tests as Franky Van
Liedekerke reports:
>  [...]
>  Running ldif2ldbm to build slapd database...
>  id2entry ldbm_store failed
>  stopping: child exited with status 1
>  ldif2ldbm failed!
>  [...]
putting in some fprintfs only reveals that db_put returns EINVAL,
but none of the conditions for an EINVAL in db seem to apply:
>     EINVAL
>            An invalid flag value or parameter was specified.
>            A record number of 0 was specified.
>            An attempt was made to add a record to a fixed-length database
>            that was too large to fit.
>            An attempt was made to do a partial put.
 * the flag value is 17, which is ok
 * record numbers are not used
 * the db is not fixed-length, as far as I understand
 * partial put?
So it seems one of the key/data arguments or the database  itself
must  be  invalid. I confess that my limited understanding of the
code blocks me from making progress at this point.

Has anybody got openldap 1.1 with some version of db2 running  on
Solaris 2.x?

Best regards

                                        Andreas Mueller

Dr. Andreas Mueller                 Beratung und Entwicklung
Bubental 53, CH - 8852 Altendorf            <afm@othello.ch>
Voice: +41 55 462 1483             Fax/Data: +41 55 462 1485