我有一个必须用我现有的LDAP服务器实现的模式文件 . 我唯一做的就是创建模式文件 . 以下是我的架构文件:
# userControl.schema
attributetype ( 1.3.6.1.4.1.*****.1.1.1
NAME 'attribute1'
DESC 'gender'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributetype ( 1.3.6.1.4.1.*****.1.1.2
NAME 'attribute2'
DESC 'dateOfBirth'
EQUALITY generalizedTimeMatch
ORDERING generalizedTimeOrderingMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 )
attributetype (1.3.6.1.4.1.*****.1.1.3
NAME 'attribute3'
DESC 'languages known'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.*****.1.1.4
NAME 'attribute4'
DESC 'motherTongue'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.*****.1.1.5
NAME 'attribute5'
DESC 'nationality'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributetype ( 1.3.6.1.4.1.*****.1.1.6
NAME 'attribute6'
DESC 'worksAt'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributetype ( 1.3.6.1.4.1.*****.1.1.7
NAME 'attribute7'
DESC 'qualification'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributetype ( 1.3.6.1.4.1.*****.1.1.8
NAME 'attribute8'
DESC 'school'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributetype ( 1.3.6.1.4.1.*****.1.1.9
NAME 'attribute9'
DESC 'college'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributetype ( 1.3.6.1.4.1.*****.1.1.10
NAME 'attribute10'
DESC 'address'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributetype ( 1.3.6.1.4.1.*****.1.1.11
NAME 'attribute11'
DESC 'pinCode'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
objectclass ( 1.3.6.1.4.1.*****.1.2.1
NAME 'userControl'
DESC 'RFC2798: New Customized Schema'
SUP organizationalPerson
STRUCTURAL
MAY (
gender $ dateOfBirth $ languagesKnown $ motherTongue $ nationality $ worksAt $ qualification $ school $ college $ address $ pinCode $ contactNumber $ interestedIn )
)
你下一步怎么做?我该如何实现这个架构?我正在使用Ubuntu 2.04 .