Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 831 Bytes

install-mapping-script.rst

File metadata and controls

28 lines (19 loc) · 831 Bytes

Install User Mapping Script

You will need to map the Apache authenticated user to the local system user. This is done with the ood-auth-map tool.

  1. Clone and check out the latest tag:

    cd ~/ood/src
    scl enable git19 -- git clone https://github.com/OSC/ood_auth_map.git
    cd ood_auth_map/
    scl enable git19 -- git checkout v{{ ood_auth_map_version }}
  2. Install it to its global location:

    sudo scl enable rh-ruby22 -- rake install
    # => mkdir -p /opt/ood/ood_auth_map/bin
    # => cp ...

The principle behind this script is that you call it with a URL encoded REMOTE_USER user name as the only argument, and it will return the mapping to the local system user name if it exists.