[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Adding problem using ldapadd
- To: openldap-software@OpenLDAP.org
- Subject: Adding problem using ldapadd
- From: Johnny Gonzalez <johnnygonzalezl@yahoo.es>
- Date: Fri, 2 Sep 2005 20:00:51 +0200 (CEST)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.es; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=BR75ckR/1osBYpb3ibJrUx585+nDoMOTsGpBXW1+ZJrMs3blzB4BV/F5j7rDMzJR70UNg9DK85MsIZJjiMqZQFkkVIatU2C4piuvkxzh82xjxHBPDH+6Dn5gPcNYvO+ERlsB9eGFxDKnlXHsIzFDWprOO3K+U56lcQIuREdidhU= ;
Hello Everybody,
I'm trying to add an entry (at the end you will find
the text of the ldiff file) to my tree using ldapadd.
but I get this error:
adding new entry
"serialNumber=8,cn=prueba,ou=Internet,o=Ubiquando,c=CO"
ldapadd: update failed:
serialNumber=8,cn=prueba,ou=Internet,o=Ubiquando,c=CO
ldap_add: No such object (32)
matched DN: ou=Internet,o=Ubiquando,c=CO
additional info: parent does not exist
The command I'm using is:
ldapadd -x -D "cn=manager,c=co" -f 1Modified.ldiff -w
password
a snippet of my tree is this (comand used to get this
output ldapsearch -x -LLL):
can be found in this screenshot (hosted in another
site to avoid overloading the list)
http://www.geocities.com/johnnygonzalezl/images/LdapTreeScreenshot.png
the complete text output is in this link:
http://www.geocities.com/johnnygonzalezl/images/ldapsearchoutput.txt
What could the problem be??
Thanks for any help,
Johnny
Text of the ldiff file:
version: 1
# LDIF Export for:
serialNumber=20,cn=prueba,ou=Internet,o=Ubiquando,c=CO
# Generated by phpLDAPadmin (
http://phpldapadmin.sourceforge.net/ ) on September 1,
2005 9:23 am
# Server: LDAP Server (127.0.0.1)
# Search Scope: base
# Search Filter: (objectClass=*)
# Total Entries: 1
# Entry 1:
serialNumber=20,cn=prueba,ou=Internet,o=Ubiquando,c=CO
dn:
serialNumber=8,cn=prueba,ou=Internet,o=Ubiquando,c=CO
cn: prueba
sn: prueba
serialNumber: 8
mail: prueba@localhost
ou: Internet
o: Ubiquando
street: la dir 1
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: opencaEmailAddress
objectClass: opencaUniquelyIdentifiedUser
objectClass: pkiUser
userCertificate;binary::
MIIGGjCCBAKgAwIBAgIBFDANBgkqhkiG9w0BAQUFADBzMQswCQY
DVQQGEwJDTzESMBAGA1UECgwJVWJpcXVhbmRvMREwDwYDVQQLDAhJbnRlcm5ldDESMBAGA1UEAw
wJY2FtYW5hZ2VyMSkwJwYJKoZIhvcNAQkBFhpjYW1hbmFnZXJAdWJpcXVhbmRvLmNvbS5jbzAeF
w0wNTA4MzExMjM2MTVaFw0wNjA4MzExMjM2MTVaMFIxCzAJBgNVBAYTAkNPMRIwEAYDVQQKDAlV
YmlxdWFuZG8xETAPBgNVBAsMCEludGVybmV0MQ8wDQYDVQQDDAZwcnVlYmExCzAJBgNVBAUTAjI
wMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDisHS+eaDSzbFOwuCxoTNSwgShyCt3cTSqlB
552ATbZsuU1nj+eiFZjMGUrOu4P0hCM/4iTxpaSFeS07+YLBi5JWsdWFo3N3CwDGmFOcP31GEfQ
GL2+JDoKd7aEcNVPaD/FCm2UooIvr52/GOZ3x7zzL3B3jzVmPVBHNYb9HCsEQIDAQABo4ICXDCC
AlgwCQYDVR0TBAIwADA4BgNVHSAEMTAvMC0GBCoDAwQwJTAjBggrBgEFBQcCARYXaHR0cDovL3N
vbWUudXJsLm9yZy9jcHMwEQYJYIZIAYb4QgEBBAQDAgSwMAsGA1UdDwQEAwIF4DApBgNVHSUEIj
AgBggrBgEFBQcDAgYIKwYBBQUHAwQGCisGAQQBgjcUAgIwOwYJYIZIAYb4QgENBC4WLFJlZ2lzd
HJhdGlvbiBBdXRob3JpdHkgT3BlcmF0b3Igb2YgVWJp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wXClF/YW1D7VuppFKHnIU/jnRVNsNoVzTT
vXZGtccT71zRmHr8Zvg5qSYTU8uAPQ/Wtvnx8VSdGUTQHslI9BXJJynkV/T+NeRe0DXp5a4rDRk
SbnelpwVdn+DwujIhslUogpufrsCueIKtiBthqMfR1sqD0fQAsHMkFSGO4JAywvXa7Y/WHOmTOr
5JjKwKAnojn7
______________________________________________
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
http://correo.yahoo.es