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

ldapadd error

LDAP Gurus!!

this is my ldif file

dn: cn=testuser ou=system, dc=xyz, dc=com, dc=np
objectClass: top
objectClass: person
objectClass: organization
objectClass: inetOrgPerson
objectClass: qmailuser
cn: Test User
ou: system
userpassword: {crypt}i3UprpInntJS6
uid: testuser
realname: Test User
mail: testuser@xyz.com.np
mailmessagestore: /home/testuser
accountstatus: active
deliverymode: normal

Then i used the following command to add

dapadd -v -x -f aadish.ldif -D "cn=ldapadmin, dc=xyz, dc=com, dc=np" -W

and i get the following error

ldap_add: Undefined attribute type
	additional info: attribute type undefined

As far as i know those the attributes that i used are defined in qmail
schema. So what is wrong with the ldapadd operation??

help help help