我想将一些模式导入 LDAP。但我得到这个错误:
ldapadd: invalid format (line 21) entry: ""
这是带有架构的文件:
# ****-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 ) )
我刚刚用 **** 替换了这个网站的我们组织的名称。
为什么我会收到此错误?
谢谢您的帮助。
制造商
保罗