【发布时间】:2013-09-28 06:49:07
【问题描述】:
我想通过 Active Directory 建立一个具有 SSO 身份验证的 Intranet。我搜索了一下,发现可能有两种方法:
-
使用 apache 模块 mod_authnz_sspi。我可以获得用户名和域,但似乎没有身份验证。也许我真的不明白...
这里是这个模块的 apache conf:
AuthType SSPI SSPIAuth 开启 SSPIAuthoritative On SSPIOffer基本开 SSPIOmitDomain 关闭 SSPIDomain MyDOMAIN 需要有效用户所以我猜“连接”并不是很安全……
-
使用 apache 模块 mod_authnz_ldap 但我无法使其正常工作...
这里是这个模块的 apache conf:
AuthName "LDAP 身份验证" AuthType 基本 AuthBasicProvider ldap AuthLDAPBindAuthoritative 关闭 AuthLDAPURL "ldap://ad.server.fr:389/DC=server,DC=local?sAMAccountName?sub?(objectClass=person)" 无 AuthLDAPBindDN ldap@server.local AuthLDAPBindPassword 密码 AuthLDAPRemoteUserAttribute 开启 LDAPReferrals 关闭我收到此错误
LDAP: SSL support unavailable: LDAP: CA certificates cannot be set using this method, as they are stored in the registry instead.,但我不想使用 SSL 进行连接...实际上,我真的不明白这是如何工作的。我的活动目录没有从我的 apache 获得连接,或者可能只是匿名的。
现在我不知道如何在我的 Intranet 上进行 SSO 身份验证。 哪种方式更好?还有一个吗?
我在 apache 2.4.4 中使用 wamp(for windows)。
【问题讨论】:
标签: php apache authentication