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

Re: ldap_add: Operations Error



On Mon, 2002-08-12 at 10:14, Roché Compaan wrote:
> I installed openldap 2.0.25 on linux and managed to use
> the ldapadd command to add example ldif files used for
> testing purposes.
> 
> I then followed the YoLinux tutorial on how to extend
> the schema to support Outlook and Mozilla.
> 
> I restarted openldap and it didn't complain about any
> misconfiguration in the schema files that I include but
> when I try to add an extremly simple ldif entry I get
> the following error:
> 
> 	ldap_add: Operations error.
> 
> I have no idea how to trace this further or where to look
> for the problem so help would be greatly appreciated.

Check the permissions and ownership of the ldap files. On my RH7.3 box
the directory is /var/lib/ldap and it and all the files within are owned
by user ldap.

This caught me before when I ran slapindex as root and then tried to add
entries with slapadd.

--
Greg