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

Problem with subschemasubentry



Hi

I am very new to LDAP and OpenLDAP. I' ve got some LDIF files which
produce errors when I execute ldapmodify.
Here is an example entry of my LDIF file:

dn: cn=subschemasubentry
changetype: modify
add: attributetypes
attributetypes: ( 2.16.840.1.113894.7.1.1 NAME 'orclVersion' EQUALITY
caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )

The ldapmodify command gives the following error:

modifying entry "cn=subschemasubentry"
ldap_modify: No such object

ldif_record() = 32

Which means that cn=subschemasubentry doesn't exist. So I queried the
rootDSE and the following was reported:

version: 2

#
# filter: (objectclass=*)
# requesting: +
#

#
dn:
namingContexts: dc=domain,dc=ch
supportedControl: 2.16.840.1.113730.3.4.2
supportedExtension: 1.3.6.1.4.1.4203.1.11.1
supportedExtension: 1.3.6.1.4.1.1466.20037
supportedLDAPVersion: 2
supportedLDAPVersion: 3
subschemaSubentry: cn=Subschema

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

So the subschemasubentry seems to be an attribute of subschema.

What do I wrong ? Is something missing in my schema ? ...

Greetings
Peter
begin:vcard 
n:Wasem;Peter
tel;work:++031 720 14 14
x-mozilla-html:FALSE
org:ITAG Information Technology AG
adr:;;Südstrasse 1;Münsingen;Bern;3110;Switzerland
version:2.1
email;internet:peter.wasem@itag.ch
title:Dipl.El.Ing.HTL
end:vcard