Error - failed to map user

Try keeping user_map_cmd commented, and just let us set the default. Also be sure it’s getting populated in the /opt/rh/httpd24/root/etc/httpd/conf.d/ood-portal.conf and be sure to bounce httpd24 - just in case just to be extra double sure changes get propogated.

That lua code only reads 1 line from whatever command is being invoked. That log line tells me that you’re definitely passing the right thing to the command. So the question is, is the actual command valid. You may be able to check /var/log/httpd/error_log for an error message (note it’s just the error log, not the error_site_log).

I was able to set my user_map_cmd to ssafsdf, which doesn’t exist, and got the same error page. So maybe that’s what’s happening to you too.

[Thu Dec 10 19:13:43.868425 2020] [lua:debug] [pid 21:tid 140296408008448] lua_request.c(1852): [client 127.0.0.1:54194] AH01487: request_rec->dispatching escape -> lua_CFunction
sh: ssafsdf: command not found
[Thu Dec 10 19:13:43.878458 2020] [lua:debug] [pid 21:tid 140296408008448] lua_request.c(1852): [client 127.0.0.1:54194] AH01487: request_rec->dispatching clock -> lua_CFunction
[Thu Dec 10 19:13:43.878482 2020] [lua:debug] [pid 21:tid 140296408008448] lua_request.c(1852): [client 127.0.0.1:54194] AH01487: request_rec->dispatching debug -> lua_CFunction
[Thu Dec 10 19:13:43.878520 2020] [lua:debug] [pid 21:tid 140296408008448] @/opt/ood/mod_ood_proxy/lib/ood/user_map.lua(14): [client 127.0.0.1:54194] Mapped 'jeff' => '' [10.056 ms]