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

ldapadd - No such object



Hi,

I'am new to OpenLDAP and I have some problems.


Here is my database definition in slapd.conf file :

database	ldbm
suffix		"dc=vds, dc=ca"
rootdn		"cn=Manager, dc=vds, dc=ca"
rootpw		secret
directory	openldap-ldbm
index		objectClass	eq


And here is my command with his associated error :

1)	Ldapmodify -a -D "cn=Manager, dc=vds, dc-ca" -w secret -f
"test.ldif"
error : 	ldap_sasl_interactive_bind_s: No such attribute

2)	Ldapmodify -a -D "cn=Manager, dc=vds, dc-ca" -x -w secret -f
"test.ldif"
error : 	ldap_add: No such object
	ldif_record() = 32


And here is my test.ldif file :

dn: cn=User Name, dc=vds, dc=ca
cn: User Name
objectclass: person
sn: username


Thanks,

Francis