Enable PAM Authentication in Ambari

If you use Pluggable Authentication Modules (PAM) for authentication, such as PAM authentication with a corporate directory, you can specify the necessary configuration within the Ambari.

  1. In the Ambari Web interface, select Arcadia Enterprise, and select Configs.

  2. Open Advanced arcadia-visualization-server, and select ArcViz Settings.

  3. Add the following code to the existing settings:
    PAM_AUTH_CREATE_USER=True
    PAM_AUTH_SERVICE='login'
    AUTHENTICATION_BACKENDS = (
     'arcweb.backends.PamBackend',
     'django.contrib.auth.backends.ModelBackend',
    )
  4. If a PAM authentication service for Arcadia has a unique service name, replace the login with the name of that service.

    For example, if the custom PAM authentication service is myPAM, the code you add to the settings in the previous step would be:

    PAM_AUTH_CREATE_USER=True
    PAM_AUTH_SERVICE='myPAM'
    AUTHENTICATION_BACKENDS = (
     'arcweb.backends.PamBackend',
     'django.contrib.auth.backends.ModelBackend',
    )