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

RE: error while adding record



What does your slapd.conf look like?  You need to have 
suffix    "o=pes.edu".

I use suffix   dc=reph,dc=org which would mean that my first line
in the ldif file is dn: 
dc=reph,dc=org 
objectclass top
objectclass dcObject
objectclass organization
dc: reph
o: The Great Moocows
description: My wonderful ldap

Theodore Reph
treph@att.net


-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Rajeev Kumar
Sent: Friday, December 13, 2002 7:48 AM
To: openldap-software@OpenLDAP.org
Cc: nirmal_rajeev@linuxmail.org
Subject: error while adding record

Greeting every body

I m learning ldap.

I have openldap in my system.

I made a record file and tried to add record.
But it could not happen.

To add I m giving following comamnd
#ldapadd -D "cn=manager, o=pes.edu" -w secret < /home/raj/pes.edu.ldif

After this command I got following error msg:
     adding new entry "o=pes.edu"
     ldapadd: update failed: o=pes.edu
     Ldapadd: Allready exists (68)




my /home/raj/pes.edu.ldif is as follows:
  dn: o=pes.edu
  o: pes.edu
  objectclass: top
  objectclass: organization

  dn: ou=mca, o=pes.edu
  ou: mca
  objectclass: organizationalUnit

  dn: uid=rajeev, ou=mca, o=pes.edu
  uid: rajeev
  cn: rajeev kumar
  objectclass: person
  mailacceptinggeneralid: nirmal_rajeev@linuxmail.org
  ou: mca

  dn: uid=swamy, ou=mca, o=pes.edu
  uid: swamy
  cn: kumar swamy
  objectclass: person
  mailacceptinggeneralid: swamy@yahoo.com
  ou: mca






with regards 
Rajeev
-- 
______________________________________________
http://www.linuxmail.org/
Now with POP3/IMAP access for only US$19.95/yr

Powered by Outblaze