I'm trying to add the following to a new database.
I assume this is therefore an empty database.
I keep getting the error:
ldap_sasl_interactive_bind_s: No such object (32)

Thanks


[dir ~]#
[dir ~]# cat ldap_test_add_file
dn: dc=mydomainname,dc=name,dc=example,dc=com
dc: mydomainname
objectClass: top
objectClass: domain
[dir ~]#
[dir ~]#
[dir ~]#
[dir ~]# /usr/bin/ldapadd -ZZ -H "ldap://mydomainname.name.example.com" \
                          -D "uid=root,dc=mydomainname,dc=name,dc=example,dc=com" \
                          -W -f ldap_test_add_file
Enter LDAP Password: CORRECT pw given
ldap_sasl_interactive_bind_s: No such object (32)
[dir ~]#
[dir ~]#


from /etc/openldap/ldap.conf
URI ldap://xxx.xxx.xxx.xxx/
BASE dc=mydomainname,dc=name,dc=example,dc=com


from /etc/openldap/slapd.conf
include        /etc/openldap/schema/core.schema
include        /etc/openldap/schema/cosine.schema
include        /etc/openldap/schema/inetorgperson.schema
include        /etc/openldap/schema/nis.schema

# Allow LDAPv2 client connections.  This is NOT the default.
allow bind_v2

pidfile        /var/run/openldap/slapd.pid
argsfile    /var/run/openldap/slapd.args

security ssf=1 update_ssf=112 simple_bind=64

access to attrs=userpassword
 by self=xw


#######################################################################
# ldbm and/or bdb database definitions
#######################################################################

database    bdb
suffix        "dc=mydomainname,dc=name,dc=example,dc=com"

rootdn        "uid=root,dc=mydomainname,dc=name,dc=example,dc=com"
rootpw        {SSHA}--------------------------------

directory    /var/lib/ldap

# Indices to maintain for this database
index objectClass                       eq,pres
index ou,cn,mail,surname,givenname      eq,pres,sub
index uidNumber,gidNumber,loginShell    eq,pres
index uid,memberUid                     eq,pres,sub
index nisMapName,nisMapEntry            eq,pres,sub


Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.