本文章已经归档,因此 Apple 将不再对其进行更新。

OS X Server (Mountain Lion): Configuring Web realm access for Active Directory or LDAP accounts

The Web service with realms uses HTTP Digest authentication by default to provide secure access to the realms. Learn how to enable basic authentication over SSL to support user accounts defined in Active Directory or third-party LDAP Servers.

You should make a backup copy of the /Library/Server/Web/Config/apache2/WebConfigProperties.plist file prior to editing it.

  1. Stop the Web service in Server app.

  2. Recommended: Acquire and install a trusted SSL certificate, then use Server app to configure Web Service to use the certificate. You can use the server's default, self-signed certificate for web access, but web browsers may warn that the certificate is "invalid".

  3. Using root access and the guidelines in How to edit configuration files, edit the /Library/Server/Web/Config/apache2/WebConfigProperties.plist .

    <key>RealmAuthType</key> <string>Digest</String>

  4. Change Digest to Basic. This makes realm access use Basic authentication, which is required for Active Directory and LDAP users.

  5. Start the Web service.

有关非 Apple 制造的产品或非 Apple 控制或测试的独立网站的信息仅供参考,不代表 Apple 的任何建议或保证。Apple 对于第三方网站或产品的选择、性能或使用不承担任何责任。Apple 对于第三方网站的准确性和可靠性不作任何担保。联系供应商以了解其他信息。

发布日期: