[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Modifying schemas
- To: openldap-software@OpenLDAP.org
- Subject: Modifying schemas
- From: renato oliveira <renattos@gmail.com>
- Date: Wed, 8 Feb 2006 17:50:09 -0200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=draGzfKaLwDf6HnCMb8jUIF5MLWeEO/5oc3WqFFk563ya3R7n+LhjoQqrbyhwNXW4lERMgnOs8jk3jOjvRPdiiyJLW74H/pmMaaitrGjHSF6OZbR9oL7H/oSWNxWBORE3loxWAI1GxbxTk/Ql9Pzu6mO0B35ZoKyzgH8PQOKN/k=
Hi, I need for help, I'm trying manage my schemas using the config tree, but
it doesn't work. The entry was added but the openldap don't allow modify it.
To add the entry I'm using the follow ldif file:
-------------------------------------------------------------------------------------------------------------
dn: cn={1}test,cn=schema,cn=config
objectClass: olcSchemaConfig
cn: {1}test
olcAttributeTypes: ( 2.5.4.55 NAME 'version'
EQUALITY caseIgnoreMatch
ORDERING caseIgnoreOrderingMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
-------------------------------------------------------------------------------------------------------------
I use ldapadd to add this entry. I'm trying to modify the NAME to 'version1'
for example but the openldap do not allow. I'm using ldapmodify with the
follow ldif file:
-------------------------------------------------------------------------------------------------------------
dn: cn={1}test,cn=schema,cn=config
changetype: modify
olcAttributeTypes: {0}( 2.5.4.55 NAME 'version1'
EQUALITY caseIgnoreMatch
ORDERING caseIgnoreOrderingMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
------------------------------------------------------------------------------------------------------------
The error that was returned is:
ldap_initialize( <DEFAULT> )
replace olcAttributeTypes:
{0}( 2.5.4.55 NAME 'version' EQUALITY caseIgnoreMatch
ORDERING caseIgnoreOrderingMatch SYNTAX
1.3.6.1.4.1.1466.115.121.1.15SINGLE-VALUE )
modifying entry "cn={1}test,cn=schema,cn=config"
modify complete
ldap_modify: Internal (implementation specific) error (80)
additional info: cannot delete olcAttributeTypes
The same occur when I try to modify a olcObjectClasses, but the message is
"cannot delete olcObjectClasses"
Some body can help me?
I'm using the OpenLDAP 2.3.11
-----------------------------------------------------------
thanks, and sorry my english
Renato Oliveira.