Add an alias to a schema object in OpenLdap

时间:2015-07-31 19:20:48

标签: openldap

Is it possible to add an alias to a schema atrribute type in openldap? Could anyone provide the command line instruction to accomplish this?

For example,

Description RFC2256: Telephone Number
OID 2.5.4.20
Obsolete    No
Inherits from   
Equality    telephoneNumberMatch
Ordering    (not specified)
Substring Rule  telephoneNumberSubstringsMatch
Syntax  Telephone Number (1.3.6.1.4.1.1466.115.121.1.50)
Single Valued   No
Collective  No
User Modification   Yes
Usage   (not specified)
Maximum Length  32 characters
Aliases (none)
Used by objectClasses   dmd documentSeries domain organization            organizationalPerson organizationalRole organizationalUnit person    residentialPerson RFC822localPart room
Force as MAY by config  No

I want to update the Aliases from none to "Test1"

1 个答案:

答案 0 :(得分:2)

您需要在schemas目录中的一个文件中找到方案条目,并在那里添加别名。您可以在这些文件中找到别名的其他示例。然后只需重新启动服务器。

相关问题