【发布时间】:2012-04-23 08:26:58
【问题描述】:
我正在尝试使用 openldap 为可在以下位置访问的页面设置 LDAP 用户身份验证:
http://serverip/uploadify-php/index.php
我很难理解我应该在 dc=my-domain 和 dc=com 参数下设置什么。
【问题讨论】:
我正在尝试使用 openldap 为可在以下位置访问的页面设置 LDAP 用户身份验证:
http://serverip/uploadify-php/index.php
我很难理解我应该在 dc=my-domain 和 dc=com 参数下设置什么。
【问题讨论】:
您所引用的参数似乎是服务器支持的命名上下文的base object 或base DN。此处使用的值(可以是任何专有名称,不一定是dc=company,dc=com 形式)。该参数的值由命名上下文确定,可以从以下位置获得:
有关根 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 知道如何在没有域的情况下设置这两个参数。
dc=example,dc=com
olcSuffix: dc=my-domain,dc=com 到 olcSuffix: dc=example,dc=com 或其他”。 “随便”的新价值完全取决于您。您必须在设计 LDAP 数据库时决定它,并且您的 LDAP 客户端在查找它时必须使用它。