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!!
--On December 12, 2007 5:15:19 PM +0100 fabrizio francavilla ffrancavilla@poste.it wrote:
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"
What version of openldap? Are you using back-config or a slapd.conf file? Did you actually query the directory to see where the schema is located in the case of back-config? Do you know how to use ldapmodify, because your syntax doesn't look quite right to me...
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-software@openldap.org