问题描述
我正在尝试将 OrientDB 配置为使用 LDAP,遵循 example in their documentation,并使用 this test server。我的配置如下:
...
"ldapImporter": {
"class": "com.orientechnologies.security.ldap.OLDAPImporter","enabled": true,"debug": false,"period": 60,"databases": [
{
"database": "demodb","ignoreLocal": true,"domains": [
{
"domain": "example.com","authentication": "GSSAPI","servers": [
{
"url": "ldap://ldap.forumsys.com:389"
}
],"users": [
{
"basedn": "CN=read-only-admin,DC=example,DC=com","filter": "(objectClass=*)","roles": ["admin"]
}
]
}
]
}
]
},...
运行 OrientDB 大约一分钟后(大概这是它第一次尝试执行 LDAP 导入时),我收到以下错误:
SEVER {db=demodb} OLDAPImporter.importLDAP() Could not obtain an LDAP Subject for Database demodb [OLDAPImporter]
启用 debug: true
似乎没有提供任何进一步的信息,而且我之前没有使用 LDAP 的经验,所以我不知道可能是什么问题。
有什么让它发挥作用的建议吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)