這篇文章已封存,而且 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 對於第三方網站的準確性或可靠性不做任何保證。如需其他資訊,請聯絡廠商

發佈日期: