Logged in as ?
Posted: Tue Nov 26, 2019 9:20 am
I am using Shibboleth and SSL when authenticating to nagios but I am always seeing a "Logged in as ?" once I authenticate.
I created a dump of my environment variables and I notice there's no http_remote_user in this failing instance but in another, working instance this variable is in the dump with the correct username.
I have a http_kduser environment variable that's set to my username.
I have the following as part of my cgiauth.c file:
temp_ptr=getenv("HTTP_REMOTE_USER");
if(temp_ptr==NULL){ temp_ptr=getenv("HTTP_KDUSER"); }
I'm attaching a copy of my nagios.conf found in /etc/httpd/conf.d.
Any help would be greatly appreciated.
I created a dump of my environment variables and I notice there's no http_remote_user in this failing instance but in another, working instance this variable is in the dump with the correct username.
I have a http_kduser environment variable that's set to my username.
I have the following as part of my cgiauth.c file:
temp_ptr=getenv("HTTP_REMOTE_USER");
if(temp_ptr==NULL){ temp_ptr=getenv("HTTP_KDUSER"); }
I'm attaching a copy of my nagios.conf found in /etc/httpd/conf.d.
Any help would be greatly appreciated.