- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试通过 LDIF 文件应用配置。我在我的 LDAPs 服务器上以管理员身份绑定(bind),我收到以下错误消息:
LDAP: Error 50 - Insufficient Access Rights
dn: olcDatabase={1}hdb,cn=config
changetype: modify
add: olcAccess
olcAccess: {0}to attrs=userPassword,shadowLastChange
by cn=replicator,ou=Users,dc=example,dc=com write
-
add: olcDbIndex
olcDbIndex: entryUUID eq
-
add: olcDbIndex
olcDbIndex: entryCSN eq
dn: cn=module{0},cn=config
changetype: modify
add: olcModuleLoad
olcModuleLoad: {1}syncprov
dn: olcOverlay=syncprov,olcDatabase={1}hdb,cn=config
changetype: add
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: {0}syncprov
olcSpCheckpoint: 100 10
olcSpSessionlog: 100
最佳答案
正如我在上面的评论中所预期的那样:如果您连接为 cn=admin,dc=yourdomain,dc=tld
连接到您的 LDAP 服务器,您以特定 LDAP 数据库(它只是 LDAP 服务器中的一个数据库)的管理员身份连接。
因此,您必须使用用户 cn=config
创建另一个到 LDAP 服务器的连接。和您的 LDAP 管理员密码:
如果您不知道或忘记了 LDAP 密码,请查看 how to view or modify it .
或者,从命令行导入 LDIF:
ldapadd -Q -Y EXTERNAL -H ldapi:/// -W -f file.ldif
关于ldap - 应用 LDIF - OpenLDAP 时出现错误 50(访问权限不足),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30404788/
我想在我公司的 Intranet 中,在 Internet 上放置一个 Web 服务,以使合作伙伴能够访问该 Web 服务提供的信息。 目前,Web 服务位于 SOA 中,我决定将所有内容都迁移到 R
是the Scribe OAuth library (用Java编写)支持3足OAuth ? 这里有人说它只适用于两条腿: How do I use OAuth within my GWT appli
在 React 中使用 Redux 进行 OAuth2 身份验证的可接受方法是什么? 我当前的设置涉及使用 Redux-Auth-Wrapper 包装 react 路由器组件,如果用户未经过身份验证,
OAuth 1.0a 凭证需要以明文形式(或以明文形式检索的方式)存储在服务器上,至少在进行 2 腿身份验证时,我是否正确?假设您使用的是 HTTPS 或其他 TLS,这不是比使用用户名和加盐 + 哈
我是一名优秀的程序员,十分优秀!