英文:
How do I add cn;phonetic attribute to ldap schema?
问题
My ldap version is 2.4.42.0, when I tried to add an entry, which has an indispensible attribute called cn;phonetic, to the server, I received error code 17.
Any modification in core.schema around cn is not possible, and when I tried to input some commands to modify the cn attribute like this one: https://github.com/osixia/docker-openldap/issues/321, I kept received invalid dn error.
My question is, what should I do to make cn;phonetic available on the server?
By the way, My root dn is something like cn=testadmin,o=test.com.
英文:
My ldap version is 2.4.42.0, when I tried to add an entry, which has an indispensible attribute called cn;phonetic, to the server, I received error code 17.
Any modification in core.schema around cn is not possible, and when I tried to input some commands to modify the cn attribute like this one:<https://github.com/osixia/docker-openldap/issues/321>, I kept received invalid dn error.
My question is, what should I do to make cn;phonetic available on the server?
By the way , My root dn is something like cn=testadmin,o=test.com
答案1
得分: 1
看起来 ldap 在版本 2.3 之后已经弃用了一些配置选项。
根据这个页面 OpenLDAP 使用 OLC,我使用 OLC 来在 cn=config.ldif 中设置 olcattributeoptions 为:
olcAttributeOptions: lang-phonetic
然后我可以将 cn;phonetic 属性添加到我的服务器。
英文:
So it seems that ldap has deprecated some configuration options after version 2.3.
According to this page OpenLDAP using OLC , I use OLC to set olcattributeoptions in cn=config.ldif as:
olcAttributeOptions: lang- phonetic
Then I can add cn;phonetic attribute to my server.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论