You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@guacamole.apache.org by ivanmarcus <iv...@yahoo.com.INVALID> on 2020/06/25 02:32:41 UTC

Re: [jira] [Commented] (GUACAMOLE-1081) option to convert usernames to all lowercase

Please excuse me if I'm showing my ignorance here but is the inversion 
of 'UA' to 'AU' in GUAC_USERNAME intended?


On 25/06/2020 1:22 p.m., Nick Couchman (Jira) wrote:
>      [ 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)


Re: [jira] [Commented] (GUACAMOLE-1081) option to convert usernames to all lowercase

Posted by Nick Couchman <ni...@gmail.com>.
On Wed, Jun 24, 2020 at 10:33 PM ivanmarcus <iv...@yahoo.com.invalid>
wrote:

> Please excuse me if I'm showing my ignorance here but is the inversion
> of 'UA' to 'AU' in GUAC_USERNAME intended?
>
>
No, just pointing out my inability to type correctly! ;-)

-Nick