No connections for header authenticated user

2018-10-13 Thread Adi Linden
Hi, I placed guacamole behind a nginx reverse proxy. The nginx proxy performs basic authentication. I enabled the “guacamole-auth-header.jar” extension per instructions. My “user-mapping.xml” contains users with connections. I installed mysql and it also has users with connections. When I

Re: No connections for header authenticated user

2018-10-13 Thread Mike Jumper
On Sat, Oct 13, 2018, 10:30 Adi Linden wrote: > ... > > Mysql works fine when directly connecting to guacamole, without proxy or > header authentication. DB settings defined in guacamole.properties and user > in mysql match. Do I need to do something else for header authentication to > allow

Re: No connections for header authenticated user

2018-10-13 Thread Mike Jumper
The built-in user-mapping.xml auth will not trust the header auth result, however the MySQL auth will and should work as you expect. What version of Guacamole? Is permission to access specific connections granted to the user in MySQL having the same username as the user authenticating with a

Re: No connections for header authenticated user

2018-10-13 Thread Adi Linden
Hi Mike, I will post my (sanitized) build instructions and configs to Gist or something like that. That should hopefully make it easier to look at. First I built plain vanilla with user-mapping.xml. It works great. Then I added mysql and it works great as well, both with user-mapping.xml and

Re: No connections for header authenticated user

2018-10-13 Thread Adi Linden
Hi Mike, That is very interesting. Without any connections defined for the user, the user has access to create connections when directly connected and authenticated to the SQL database. However, the same user “authenticated” via header cannot access the connections tab nor create connections.