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

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



-----BEGIN PGP SIGNED MESSAGE-----
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:
        Darren
add sn:
        Davison
add cn:
        Darren Davison
add uid:
        ddavison
add mail:
        darren@foo.bar.com
add modifytimestamp:
        20040407T001612Z
add objectclass:
        top
        person
        organizationalPerson
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAdJ6BKLMLAN01aw0RAv3iAJ9vBGn3IJoXUJ9p8/e9Mxc3DYT5vgCgmx1A
jngFw2Ff8RgG0NoKkfbxwac=
=rd3A
-----END PGP SIGNATURE-----