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

cannot add entries - Server is unwilling to perform (53)

Hash: SHA1

I'm new to openLDAP and trying to setup an LDAP directory for a small home 
network.  Right now I can't insert any entries at all with ldapadd.

openldap is installed ok and slapd is running under the ldap user account.
Here's what occurs if I try to add myself to the directory (some bits 
changed to protect the innocent):

bacall root # ldapadd -v -D "cn=root,dc=foo,dc=bar,dc=com"
- -f /home/darren/dd.ldif -W
ldap_initialize( <DEFAULT> )
Enter LDAP Password:
add givenname:
add sn:
add cn:
        Darren Davison
add uid:
add mail:
add modifytimestamp:
add objectclass:
adding new entry "cn=Darren Davison,mail=darren@foo.bar.com"
ldapadd: update failed: cn=Darren Davison,mail=darren@foo.bar.com
ldap_add: Server is unwilling to perform (53)
        additional info: referral missing

the ldif file in question (exported from another application):

dn: cn=Darren Davison,mail=darren@foo.bar.com
givenname: Darren
sn: Davison
cn: Darren Davison
uid: ddavison
mail: darren@foo.bar.com
modifytimestamp: 20040407T001612Z
objectclass: top
objectclass: person
objectclass: organizationalPerson

Config is as follows:

bacall root # grep ^[^#] /etc/openldap/slapd.conf
include         /etc/openldap/schema/core.schema
pidfile         /var/run/openldap/slapd.pid
argsfile        /var/run/openldap/slapd.args
database        bdb
suffix          "dc=foo,dc=bar,dc=com"
rootdn          "cn=root,dc=foo,dc=bar,dc=com"
rootpw          {SSHA}xxxxxxxxxx
directory       /var/lib/openldap-data
index   objectClass     eq

and the user 'ldap' does have RW access to the storage
area /var/lib/openldap-data

I searched docs and list archives to no avail - anyone offer any clues?

Many thanks,

- --

Darren Davison
Public Key: http://www.davison.uk.net/key.jsp
Version: GnuPG v1.2.4 (GNU/Linux)