Hi, I had extract ldif file from openldap-2.0.27. When I try charge ldif into openldap-2.2.23 I obtain error: no structural object class provided. Have you any idea about it? I am using the same schema of 2.0.27.
Thank You.
Did you try with a google search? The first result I get points to: http://www.openldap.org/faq/data/cache/650.html
BTW both versions you are using are historical and not supported anymore. Current stable is 2.3.27.
Jose Manuel Lopez wrote:
Hi, I had extract ldif file from openldap-2.0.27. When I try charge ldif into openldap-2.2.23 I obtain error: no structural object class provided. Have you any idea about it? I am using the same schema of 2.0.27.
Thank You.
Ing. Luca Scamoni Responsabile Ricerca e Sviluppo
SysNet s.n.c. Via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it ------------------------------------- Office: +39.0382.573859 (137) Mobile: +39.347.1014425 Email: luca.scamoni@sys-net.it -------------------------------------
Sorry, I actually use openldap-2.3.27.
Luca Scamoni wrote:
Did you try with a google search? The first result I get points to: http://www.openldap.org/faq/data/cache/650.html
BTW both versions you are using are historical and not supported anymore. Current stable is 2.3.27.
Jose Manuel Lopez wrote:
Hi, I had extract ldif file from openldap-2.0.27. When I try charge ldif into openldap-2.2.23 I obtain error: no structural object class provided. Have you any idea about it? I am using the same schema of 2.0.27.
Thank You.
Ing. Luca Scamoni Responsabile Ricerca e Sviluppo SysNet s.n.c. Via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it
Office: +39.0382.573859 (137) Mobile: +39.347.1014425 Email: luca.scamoni@sys-net.it
Hello
The 2.3.xx version is rather less tolerant than the oldest releases.
Each entry MUST have at least one object class which is "structural".
Let me give an example: with 2.0.xx (2.1.xx too if I remember well), it was possible to create an entry with the "dcobject" class. This is now impossible since "dcobject" is an auxiliary class. The "domain" class is structural and should be used instead.
Hope this helps.
-- Michel Gardie Institut National des Télécommunications 9, rue Charles Fourier 91011 Evry Cedex tel: +33 1 60 76 47 89 fax: +33 1 60 76 47 11 web: http://www-public.int-evry.fr/~gardie
Jose Manuel Lopez a écrit :
Sorry, I actually use openldap-2.3.27.
Luca Scamoni wrote:
Did you try with a google search? The first result I get points to: http://www.openldap.org/faq/data/cache/650.html
BTW both versions you are using are historical and not supported anymore. Current stable is 2.3.27.
Jose Manuel Lopez wrote:
Hi, I had extract ldif file from openldap-2.0.27. When I try charge ldif into openldap-2.2.23 I obtain error: no structural object class provided. Have you any idea about it? I am using the same schema of 2.0.27.
Thank You.
Ing. Luca Scamoni Responsabile Ricerca e Sviluppo SysNet s.n.c. Via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it
Office: +39.0382.573859 (137) Mobile: +39.347.1014425 Email: luca.scamoni@sys-net.it
This is the result with ldapadd: makela:/usr/local/openldap-2.3.27/var/openldap-data# /usr/local/openldap-2.3.27/bin/ldapadd -v -c -x -h localhost -D "cn=admin,c=es" -W -f /tmp/oracle.ldif ldap_initialize( ldap://localhost ) Enter LDAP Password: add orclMailDisplayDeleted: false add orclMailDisplayXHeaders: false add orclMailReplyFormat: inline add orclMailForwardFormat: attach add orclMailCopytoSent: true add orclMailBgColor: #84BA63 add objectClass: orclmailapplicationpreferences add orclMailTimeZone: ECT add associatedDomain: webmail.andaluciajunta.es add orclMailFgColor: #000000 add orclMailExternalAccess: false add orclMailOffColor: #EFD87D add orclMailNumDisplay: 20 add cn: CHONCHONA add orclMailOnColor: #FFFFFF add orclMailActionColor: brown add orclMailName: CHONCHONA adding new entry "objectclass=orclmailapplicationpreferences,aplicacion=CC,usuario=CHONCHONA,o=usuarios,o=domain,c=es" modify complete ldap_add: Internal (implementation specific) error (80) additional info: no structuralObjectClass operational attribute
Luca Scamoni wrote:
Did you try with a google search? The first result I get points to: http://www.openldap.org/faq/data/cache/650.html
BTW both versions you are using are historical and not supported anymore. Current stable is 2.3.27.
Jose Manuel Lopez wrote:
Hi, I had extract ldif file from openldap-2.0.27. When I try charge ldif into openldap-2.2.23 I obtain error: no structural object class provided. Have you any idea about it? I am using the same schema of 2.0.27.
Thank You.
Ing. Luca Scamoni Responsabile Ricerca e Sviluppo SysNet s.n.c. Via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it
Office: +39.0382.573859 (137) Mobile: +39.347.1014425 Email: luca.scamoni@sys-net.it
Did you read the FAQ page I referred you to? I believe not, 'cause it clearly states that none of the objectclass values listed in your ldif is structural. So, until you provide a valid structural objectclass in your entry ldif, it won't be able to add it. By the way, when asking for help on this kind of issues, it's good to provide at least the ldif part that is giving you issues.
Jose Manuel Lopez wrote:
This is the result with ldapadd: makela:/usr/local/openldap-2.3.27/var/openldap-data# /usr/local/openldap-2.3.27/bin/ldapadd -v -c -x -h localhost -D "cn=admin,c=es" -W -f /tmp/oracle.ldif ldap_initialize( ldap://localhost ) Enter LDAP Password: add orclMailDisplayDeleted: false add orclMailDisplayXHeaders: false add orclMailReplyFormat: inline add orclMailForwardFormat: attach add orclMailCopytoSent: true add orclMailBgColor: #84BA63 add objectClass: orclmailapplicationpreferences add orclMailTimeZone: ECT add associatedDomain: webmail.andaluciajunta.es add orclMailFgColor: #000000 add orclMailExternalAccess: false add orclMailOffColor: #EFD87D add orclMailNumDisplay: 20 add cn: CHONCHONA add orclMailOnColor: #FFFFFF add orclMailActionColor: brown add orclMailName: CHONCHONA adding new entry "objectclass=orclmailapplicationpreferences,aplicacion=CC,usuario=CHONCHONA,o=usuarios,o=domain,c=es"
modify complete ldap_add: Internal (implementation specific) error (80) additional info: no structuralObjectClass operational attribute
Luca Scamoni wrote:
Did you try with a google search? The first result I get points to: http://www.openldap.org/faq/data/cache/650.html
BTW both versions you are using are historical and not supported anymore. Current stable is 2.3.27.
Jose Manuel Lopez wrote:
Hi, I had extract ldif file from openldap-2.0.27. When I try charge ldif into openldap-2.2.23 I obtain error: no structural object class provided. Have you any idea about it? I am using the same schema of 2.0.27.
Thank You.
Ing. Luca Scamoni Responsabile Ricerca e Sviluppo SysNet s.n.c. Via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it
Office: +39.0382.573859 (137) Mobile: +39.347.1014425 Email: luca.scamoni@sys-net.it
Ing. Luca Scamoni Responsabile Ricerca e Sviluppo
SysNet s.n.c. Via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it ------------------------------------- Office: +39.0382.573859 (137) Mobile: +39.347.1014425 Email: luca.scamoni@sys-net.it -------------------------------------
openldap-software@openldap.org