"/opt/ood/ood_auth_map/bin/ood_auth_map.regex" doesn't exist

I’m installing OOD 2.0.18 on a test server before putting it on our cluster and trying to set it up with PAM authentication per this document: Add PAM Authentication — Open OnDemand 2.0.13 documentation

The instruction say to add the line below to /etc/ood/config/ood_portal.yml:
user_map_cmd: “/opt/ood/ood_auth_map/bin/ood_auth_map.regex”

And the portal generator completes, but that file does not exist on the server so I’m unclear if that’s why this isn’t working for me.

I have installed from RPM using the ansible script from here: GitHub - OSC/ood-ansible: An ansible playbook for Open Ondemand

Should the portal generator be creating this file or is there someplace I should be getting it?

Thanks in advance!

Hi and welcome!

That file was removed in 2.0. user_map_match in 2.0 should work for you I think.