新建一个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