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"

  • 相关阅读:
    Fidder
    常见正则表达式使用
    HTML5 Boilerplate
    微信公众号开发--微信机器人
    sublime text插件推荐
    个人博客开发-笔记
    css之图像替换
    关于浮动与清除浮动
    css定位机制
    Java 集合类实现原理
  • 原文地址:https://www.cnblogs.com/amonw/p/5931487.html
Copyright © 2011-2022 走看看