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

Adding new Object Classes



Hi,

When I try to add the attached Object Class, I get the error messages below:

Ldapmodify: invalid format (line 5) entry: “cn=admin,dc=socotherm-africa,dc=com”

Ldapmodify: invalid format (line 19) entry: “ “

Ldapmodify: invalid format (line 29) entry: “ “

Ldapmodify: invalid format (line 37) entry: “ “

 

Please look at the attached file and tell me what I am doing wrong.

 

 

Alexander

dn: cn=admin,dc=socotherm-africa,dc=com
# objectClass: olcSchemaConfig
# cn: new-object
changetype: modify
add: objectClasses
objectclasses: ( 1.3.6.1.4.1.7914.1.2.2.1
        NAME 'qmailUser'
	 DESC 'QMail-LDAP User' 
        SUP top
        AUXILIARY
	MUST ( mail $ uid )
	MAY ( mailMessageStore $ homeDirectory $ userPassword $
	      mailAlternateAddress $ qmailUID $ qmailGID $ mailQuota $
	      mailHost $ mailForwardingAddress $ deliveryProgramPath $
	      qmailDotMode $ deliveryMode $ mailReplyText $
	      accountStatus $ qmailAccountPurge ) )

objectclasses: ( 1.3.6.1.4.1.10018.1.2.1 
        NAME 'CourierMailAccount' 
        DESC 'Mail account object as used by the Courier mail server'
        SUP top 
        AUXILIARY	
	MUST ( mail $ homeDirectory )
        MAY ( uidNumber $ gidNumber $ mailbox $ uid $ cn $ gecos $ description $ loginShell $ quota $
              userPassword $ clearPassword $ defaultdelivery $ disableimap $ disablepop3 $ disablewebmail $ sharedgroup $
              disableshared $ mailhost) )

objectclasses: ( 1.3.6.1.4.1.10018.1.2.2 
        NAME 'CourierMailAlias' 
	DESC 'Mail aliasing/forwarding entry'
	SUP top
        AUXILIARY
        MUST ( mail $ maildrop )
        MAY ( mailsource $ description ) )

objectclasses: ( 1.3.6.1.4.1.10018.1.2.3 
        NAME 'CourierDomainAlias' 
        SUP top
        AUXILIARY
	DESC 'Domain mail aliasing/forwarding entry'
	MUST ( virtualdomain $ virtualdomainuser )
        MAY ( mailsource $ description ) )