I want to import some schemas into the LDAP. But I get this error:
ldapadd: invalid format (line 21) entry: ""
This is the file with the schemas:
# ****-Schema-Datei.
#
# OID prefix: 1.3.6.1.4.1.29508
# Attributes: 1.3.6.1.4.1.29508.1.1
#
# Depends on: nis.schema, which depends on cosine.schema
attributetype: ( 1.3.6.1.4.1.29508.1.1.1 NAME 'domain'
DESC 'A mail domain'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )
attributetype: ( 1.3.6.1.4.1.29508.1.1.2 NAME 'forward'
DESC 'Forward to mail address'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
objectclass: ( 1.3.6.1.4.1.29508.1.2.1 NAME '****Domain' SUP top STRUCTURAL
DESC 'Domain used for mail server'
MUST ( domain )
MAY ( description ) )
objectclass: ( 1.3.6.1.4.1.29508.1.2.2 NAME '****MailAccount' SUP top STRUCTURAL
DESC 'Mail account object'
MUST ( mail $ uidNumber $ gidNumber $ userPassword )
MAY ( description ) )
objectclass: ( 1.3.6.1.4.1.29508.1.2.3 NAME '****MailAlias' SUP top STRUCTURAL
DESC 'Mail aliasing forwarding entry'
MUST ( mail $ forward )
MAY ( description ) )
objectclass: ( 1.3.6.1.4.1.29508.1.2.4 NAME '****Account' SUP top AUXILIARY
DESC 'User account'
MUST ( homeDirectory )
MAY ( uidNumber $ gidNumber $ uid $ cn $ description $ loginShell $ userPassword $ mail ) )
I just replaced the name of our organisation with **** for this website.
Why do I get this error?
Thank you for your help.
MfG
Paul