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

Error while Adding the data



I have Started Ldap server .. 
I am getting the below error while adding contents from sunil.ldif file 
What could be the problem & solution for it ..

ldapadd -x -D "cn=root,dc=philnet" -W -f sunil.ldif
Enter LDAP Password:
adding new entry "uid=sverek,dc=philnet"
ldap_add: Object class violation
ldif_record() = 65

Contents of sunil.ldif is :

dn: uid=sverek,dc=philnet
uid: sverek
cn: SUNIL VEREKAR
roomnumber: SOFTWARE-TIVIM
givenname: SUNIL
sn: VEREKAR
mail: sverek@phil.com.sg
objectClass: mailRecipient
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: kerberosSecurityObject
objectClass: shadowAccount
userPassword: {crypt}$1$zikD7ezMllrK/zK0gyxITS/
shadowLastChange: 11424
shadowMax: 99999
shadowWarning: 7
krbname: sverek@PHIL.COM.SG
loginShell: /bin/bash
uidNumber: 296
gidNumber: 200
homeDirectory: /home/sverek
gecos: SUNIL VEREKAR,SOFTWARE-TIVIM



Regards
Sunil Verekar
email:sverekar@phildigital.com
      sverekar@yahoo.com