Hi Chris, When we look at the request logs in our application, we see the REMOTE_USER variable. For some users, they come across in all upper case, for others, they come across in all lower case. And it doesn't matter whether the person authenticates to the CAS server in upper case or lowercase. The variable seems to be set by the CAS server.
-Bryan On Tue, Jan 24, 2017 at 02:20:36PM +0000, Chris Cheltenham wrote: > Brian, > > That is interesting. We have a similar situation where when using Red Hat 5, > mod_auth_cas 1.0.9 would successful pass the REMOTE_USER variable. > However, when we switched to Red Hat 7 using mod_auth_cas 1.1 the application > is NOT picking up the REMOTE_USER variable. > > My question is , How do you know the variable is being passed in lower case? > Do you see it in tcpdump or something similar? > > > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of Bryan K. > Walton > Sent: Tuesday, January 24, 2017 8:46 AM > To: [email protected] > Subject: [cas-user] Converting REMOTE_USER variable to all lower/upper case > in mod_auth_cas v. 1.1? > > I hope I'm not double posting here. If so, I apologize, I first sent this to > the google groups address for cas-community, rather than to the cas-user > email address. > > We have a mod_auth_cas implementation running on Red Hat 7 server. We have > an application authenticating against a CAS server where the majority of > users are passed to the application in uppercase. > > However, that same CAS server passes some users in lowercase. Is there a way > in mod_auth_cas to convert all usernames to either uppercase or lowercase, > overriding what the CAS authentication server sends? > > The application is making use of the REMOTE_USER variable. > > Thanks! > Bryan > > -- > - CAS gitter chatroom: https://gitter.im/apereo/cas > - CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html > - CAS documentation website: https://apereo.github.io/cas > - CAS project website: https://github.com/apereo/cas > --- > You received this message because you are subscribed to the Google Groups > "CAS Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/a/apereo.org/d/msgid/cas-user/20170124134546.GC15928%40iridonia.inside.leepfrog.com. > > -- > - CAS gitter chatroom: https://gitter.im/apereo/cas > - CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html > - CAS documentation website: https://apereo.github.io/cas > - CAS project website: https://github.com/apereo/cas > --- > You received this message because you are subscribed to the Google Groups > "CAS Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/a/apereo.org/d/msgid/cas-user/MWHPR17MB1213405D80462366CAE0F9CCC4750%40MWHPR17MB1213.namprd17.prod.outlook.com. -- Bryan K. Walton 319-337-3877 Linux Systems Administrator Leepfrog Technologies, Inc -- - CAS gitter chatroom: https://gitter.im/apereo/cas - CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html - CAS documentation website: https://apereo.github.io/cas - CAS project website: https://github.com/apereo/cas --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/20170124143613.GE15928%40iridonia.inside.leepfrog.com.
