我目前正在使用 Apache Directory Studio 创建自定义属性,因此我创建了一个新架构项目、新架构、新属性和
新对象类。
(使用本指南)
https://directory.apache.org/apacheds/basic-ug/2.3.1-adding-schema-elements.html
然后我导出我的新架构,最后导入到我的根 DSE(位于虚拟机 ubunutu 上)。
导游接着说:
You must restart the server if you want to use the added AttributeTypes or ObjectClasses. The schema is currently not dynamic in ApacheDS
ERR_13215_VALUE_EXPECT_STRING The value is expected to be a String
ERR_16009_LDIF_LOAD_FAIL Failed to load schema LDIF file cn=sevenseas.ldif
org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException: ERR_13215_VALUE_EXPECT_STRING The value is expected to be a String
最佳答案
我刚刚遇到了同样的问题。这是我为解决问题所做的工作:
在LDAP服务器实例的schema目录中找到并打开cn=mycustomschema.ldif并修改
creatorsname::...(2 行 b64)
进入:
创作者姓名:uid=admin,ou=system
https://stackoverflow.com/questions/52895796/
相关文章:
abap - 没有 BY 的 SORT 在标准内部表上的行为?安全吗?
azure - 如何通过 Azure Logic App 和 Outlook 发送 html 电子邮
react-native - 如何在不影响内部 View 元素的情况下应用阴影来 react 原生
powershell - 在 Powershell 中实现装饰器模式
authentication - Kubernetes 基于 LDAP 的用户身份验证
string - 在 Fortran 中读取带有名称列表的可分配字符串