在OpenLdap中为架构对象添加别名

是否可以在openldap中为架构atrribute类型添加别名?任何人都可以提供命令行指令来完成此任务吗?

例如,

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

我想将别名从无更新为“Test1”

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

点赞