我一直在寻找将OU请求转发到远程LDAP OU的解决方案。
- ou=remote-accounts
- _ALL OBJECTS FROM PRE DEFINED REMOTE LDAP_主要问题是,我必须将整个用户身份验证转发到不同的服务器。
我希望你们能帮我解决这个问题。
亲切的问候,Marvyn :)
发布于 2015-10-21 14:39:15
我通过使用元后端和rwm覆盖解决了这个问题。这是解释这一切的slapd.conf。
overlay rwm
rwm-suffixmassage "ou=remote-accounts,ou=accounts,dc=domain" "ou=accounts,dc=meta"
database bdb
directory /var/lib/ldap
suffix "dc=domain"
rootdn "cn=root,dc=domain"
rootpw root
index objectclass eq
index uid eq,sub
lastmod off
readonly off
database meta
suffix "dc=local"
readonly off
lastmod off
uri "ldap://remote.ldap/ou=accounts,dc=meta"
suffixmassage "ou=accounts,dc=meta" "ou=accounts,dc=remote-domain"
idassert-bind bindmethod=simple
binddn="DN-TO-ADMIN-USER-AT-REMOTE-DOMAIN"
credentials="PASSWORD"
mode=none
flags=non-prescriptive
idassert-authzFrom "dn.exact:cn=root,dc=meta"https://serverfault.com/questions/730217
复制相似问题