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

interpreting ldapmodify error messages



Hi, I ran the following command :

$ ldapmodify -D cn=root -w **** -f 
avs.schema.ldif.add
ldapmodify: invalid format (line 8 of entry: cn=schema

when my avs.schema.ldif.add contains the following:

dn: cn=schema
changeType: modify
add: attributeTypes
attributeTypes: ( 1.3.6.1.4.1.10725.4.11.1.1 NAME 'antiVirusEnabled' DESC 
'antiVirus scanning
' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )
-
add: attributeTypes
attributeTypes: ( 1.3.6.1.4.1.10725.4.11.1.2 NAME 'antiSpamEnabled' DESC 
'antiSpam scanning'
EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )
-
add: objectClasses
objectClasses: ( 1.3.6.1.4.1.10725.4.11.2.1 NAME 'AVSUserProfile' DESC 
'antivirus and antispa
m user profile' MUST ( antiVirusEnabled ) MAY (antiSpamEnabled) )

I am really puzzled since the syntax is fine.

Hope that somebody could throw some light 

Thanks.