[ 
https://issues.apache.org/jira/browse/GUACAMOLE-1081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17144576#comment-17144576
 ] 

Nick Couchman commented on GUACAMOLE-1081:
------------------------------------------

[~kangaroo22]: I figured out what's going on with this - turns out the modifier 
is getting canonicalized along with the rest of the token, so:

{code}
${GUAC_USERNAME:lower}
{code}

becomes:

{code}
${GAUC_USERNAME:LOWER}
{code}

and the code didn't taken that into account.  I've submitted the pull request 
so that it pays attention to and both "lower" and "LOWER" should behave the 
same.

> option to convert usernames to all lowercase
> --------------------------------------------
>
>                 Key: GUACAMOLE-1081
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1081
>             Project: Guacamole
>          Issue Type: New Feature
>          Components: Documentation, guacamole-ext
>            Reporter: Jason Keltz
>            Assignee: Nick Couchman
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> When the user logs into Guac with parts of their username in uppercase, the 
> login to Guac is successful, but then subsequent login to Linux systems fails 
> because the username is case sensitive.  It would be useful to have an option 
> in Guacamole to convert usernames to lowercase or uppercase before passing on 
> to the systems.
> One possible suggestion from Nick on the mailing list was something like this:
>  
> ${GUAC_USERNAME} - Pass through as entered
> ${GUAC_USERNAME:lower} - Convert string to lower-case
> ${GUAC_USERNAME:upper} - Convert string to upper-case
>  
> This would work very well.
> I would be likewise happy with a solution that let me set a default somewhere 
> (in my case, all lowercase).
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to