在OpenLDAP中增加生日和性别的schema

新建一个schema文件,或者在随便哪个schema文件中添加如下内容

 attributetype  ( 1.3.6.1.4.1.33592.1.3.5 NAME 'gender'
        EQUALITY integerMatch
        ORDERING integerOrderingMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
        SINGLE-VALUE )
 attributetype  ( 1.3.6.1.4.1.33592.1.3.2 NAME 'birthDate'
           EQUALITY generalizedTimeMatch
           ORDERING generalizedTimeOrderingMatch
           SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
           SINGLE-VALUE )

参考:
http://tools.ietf.org/html/draft-gryphon-ldap-schema-vcard4-00

在OpenLDAP中增加生日和性别的schema》有1个想法

笑八达进行回复 取消回复

邮箱地址不会被公开。 必填项已用*标注