...
Numberedheadings |
---|
System PreparationAdd the Moonshot libraries.If you have not already done so, you first need to follow the instructions on how to Install some prerequisitesBuilding the Apache mod_auth_kerb module requires you to have several packages already installed on the machine. To install them:
Build the moduleWe are now ready to build the Apache module.
Installation Instructions
Configuration InstructionsPlease read Section 6.2 in Protecting a location with MoonshotTo protect a particular location on your Apache server, you must configure it with an AuthType of "Negotiate". To allow anyone with a valid Moonshot account to access Exporting GSS API attributes as environment variablesThe module includes an option called GssapiNameAttributes that allows controlling which GSS API attributes (either SAML or RADIUS) are exported as environment variables. It is used as follows: This option can be specified multiple times, once for each attribute to expose. The Special value "json" is used to expose all attributes in a json formatted string via the special environment variable GSS_NAME_ATTRS_JSON. Example: The special environment variable GSS_NAME_ATTR_ERROR is set with the GSS API returned error string in case the inquire name function fails to retrieve attributes, and with the string "0 attributes found", if no attributes are set. In addition to this, in the event of an authentication failure, the module exports an environment variable called MAG_ERROR which contains one of the following values:
Finally, whenever MAG_ERROR takes a value of "GSS_MECH_ERROR", an additional environment variable named GSS_ERROR_STR is sourced. This variable contains the result of the gss_display_status() call and may help web developers to show a more appropriate error page/string to the user. Populating REMOTE_USERWeb services often rely on the To populate HTTPS Internet Explorer compatibilityFor updated best practice with Internet Explorer connections, you should also read Microsoft's HTTPS and Keep-Alive Connections article. |