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

openldap delete attributetypes



Hi guys,
i'have a problem.
I have to delete an attribute and add another attribute on my openldap server 
schema.
I'have to delete this entry
attributetype ( 1.3.6.1.1.1.1.14 NAME 'nisNetgroupTriple'
DESC 'Netgroup triple'
SYNTAX 1.3.6.1.1.1.0.0 )

and change with this one

attributetype ( 1.3.6.1.1.1.1.14 NAME 'nisNetgroupTriple'
DESC 'Netgroup triple'
EQUALITY caseExactIA5Match
SUBSTR caseExactIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

I'm trying some ldapmodify but everytime i've received a syntax error..
cat delete.ldif
dn:cn=schema
changetype:modify
delete:attributeTypes
attributetypes ( 1.3.6.1.1.1.1.14 NAME 'nisNetgroupTriple' DESC 'Netgroup 
triple' SYNTAX 1.3.6.1.1.1.0.0 )


ldapmodify -x -H ldaps://slave-sv.sv.poste.it:636 -D 
"cn=admin,dc=slapd,dc=cs,dc=poste,dc=it" -w ****** -f delete.ldif
ldapmodify: invalid format (line 4) entry: "cn=schema"

Thanks in advance!!
-- 
-----------------------------------
Fabrizio Francavilla
Service Centers Unit - Servizi Sistemistici
Postecom S.p.A----
-----------------------------------