zoukankan      html  css  js  c++  java
  • Minimum configuration for openldap to proxy multiple AD into a single search base

    [root@localhost ~]# cd /etc/openldap
    [root@localhost openldap]# cat slapd.conf
    loglevel 0x900
    include /etc/openldap/schema/core.schema
    pidfile /var/run/openldap/slapd.pid
    argsfile /var/run/openldap/slapd.args
    moduleload back_ldap.la
    moduleload back_meta.la
    database meta
    suffix "dc=test"

    uri "ldap://192.168.159.3/dc=test"
    suffixmassage "dc=test" "dc=smallbusiness1,dc=local"
    idassert-bind bindmethod=simple
    binddn="cn=guest1,cn=Users,dc=smallbusiness1,dc=local"
    credentials="Test1234"
    idassert-authzFrom "*"
    uri "ldap://192.168.159.4/dc=test"
    suffixmassage "dc=test" "dc=smallbusiness2,dc=local"
    idassert-bind bindmethod=simple
    binddn="cn=guest2,cn=Users,dc=smallbusiness2,dc=local"
    credentials="Test1234"
    idassert-authzFrom "*"

    [root@localhost openldap]# ldapsearch -x -h localhost -b "cn=Users,dc=test"

  • 相关阅读:
    分布式事务--AT+TCC
    Java基础面试题
    JVM问题
    集合问题
    线程问题
    微服务面试题
    【入职准备】安装STS以及整合maven
    事务----四大特性
    html小知识--创建表单
    通过css润色html表格
  • 原文地址:https://www.cnblogs.com/amonw/p/5931487.html
Copyright © 2011-2022 走看看