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

ldap_add: Operations error (FreeBSD/openldap-2.0.25_1)


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.