【问题标题】:LDAP parameters settingsLDAP 参数设置
【发布时间】:2012-04-23 08:26:58
【问题描述】:

我正在尝试使用 openldap 为可在以下位置访问的页面设置 LDAP 用户身份验证:

http://serverip/uploadify-php/index.php

我很难理解我应该在 dc=my-domain 和 dc=com 参数下设置什么。

【问题讨论】:

    标签: ldap openldap


    【解决方案1】:

    您所引用的参数似乎是服务器支持的命名上下文的base objectbase DN。此处使用的值(可以是任何专有名称,不一定是dc=company,dc=com 形式)。该参数的值由命名上下文确定,可以从以下位置获得:

    • 服务器管理员或
    • 根 DSE

    有关根 DSE 的更多信息,请参阅LDAP: The Root DSE

    【讨论】:

    • 我在虚拟机上运行这个,所以我m the admin of this computer. Im only trying to test this solution before moving it to a real server which has a domain in that form. Im sorry if im stupid, but i dont 知道如何在没有域的情况下设置这两个参数。
    • @RunoTheDog 它与“拥有域”无关。它与您在 LDAP 数据库中定义根对象的方式有关。只有你知道答案。
    • 好吧,我正在学习这个教程:google.si/…
    • 该示例使用命名上下文dc=example,dc=com
    • @RunoTheDog 它还说“编辑行:olcSuffix: dc=my-domain,dc=comolcSuffix: dc=example,dc=com 或其他”。 “随便”的新价值完全取决于您。您必须在设计 LDAP 数据库时决定它,并且您的 LDAP 客户端在查找它时必须使用它。
    猜你喜欢
    • 2012-02-29
    • 1970-01-01
    • 1970-01-01
    • 2013-02-11
    • 2022-10-21
    • 2014-07-24
    • 2016-10-16
    • 2019-02-02
    • 1970-01-01
    相关资源
    最近更新 更多