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

Re: Impossible to populate database



>
> I can run
> ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
> successfully, I get what I entered in the suffix.
>
> Now, I want to add entries to my database.
> I tried to add the following ldif file:
>
> dn: o=mycomp, c=com
> objectclass: top
> objectclass: organization
> o: mycomp
>
> with ldapadd, I get a return code 32: no such object,
> with slapadd, the log says the "o" attribute on line 5 ( Why 5???) is not
> allowed.

make sure not to have special chars in your file. there must be a difference
between your suffix entry in slapd.conf and the 'dn: o=mycomp, c=com'-line, i
think.

> I double checked my schema has been loaded....
>
> [btw, I am unable to redirect the log to a file. Is there an option to set
> somewhere???]

logging is done on STDERR, did u try '2>log.file'? that works for me.

regards
--
Daniel Tiefnig
Servertechnology

INFONOVA IT GmbH
Karlauergürtel 1
A-8020 GRAZ