[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldap_add: Operations error (FreeBSD/openldap-2.0.25_1)
I've added to FAQ entries regarding the OperationsError and
Other result codes:
http://www.openldap.org/faq/index.cgi?file=746
http://www.openldap.org/faq/index.cgi?file=747
In short, other error (and operationsError in some versions)
is used to indicate an internal error. The additional information
provided with the result code may provide some hint, but generally
one has to consult the server's logs.
Kurt
At 10:40 PM 2002-09-01, Adrian wrote:
>Hi,
>
>I've installed the FreeBSD port and its dependencies
>(which included Berkeley DB).
>
>When I try and add a user, I get an "operations error".
>I can't find a solution in the FAQ's or usenet. I've
>tried changing the dn,cn's etc but with no luck.
>
>>ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f example.ldif
>
>adding new entry "dc=example,dc=com"
>ldap_add: Operations error
>
>ldif_record() = 1
>
>--- example.ldif -------------------
>
>dn: dc=example,dc=com
>objectclass: dcObject
>objectclass: organization
>o: Example Company
>dc: example
>
>dn: cn=Manager,dc=example,dc=com
>objectclass: organizationalRole
>cn: Manager
>
>
>--- slapd.conf ----------------------
>
>snip snip
>
>
>database ldbm
>suffix "dc=example,dc=com"
>rootdn "cn=Manager,dc=example,dc=com"
>rootpw secret
>directory /usr/local/var/openldap-ldbm
>
>--
>
>I'd really appreciate any help.
>Thanks,
>Adrian.