Cet article a été archivé et ne sera plus mis à jour par 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.

Les informations se rapportant à des produits non fabriqués par Apple, ou à des sites Web indépendants qui ne sont ni contrôlés ni testés par Apple, sont fournies uniquement à titre indicatif et ne constituent aucune recommandation. Apple ne saurait être tenu responsable de problèmes liés à l’utilisation de tels sites ou produits tiers, ou à leurs performances. Apple ne garantit en aucune façon la fiabilité d’un site Web tiers ni l’exactitude des informations que ce dernier propose. Contactez le fournisseur pour plus d’informations.

Date de publication: