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

Michael Jumper commented on GUACAMOLE-647:
------------------------------------------

The built-in user-mapping.xml authentication does not support authentication 
through other extensions. It will provide data only for the users that it 
itself authenticates. See:

https://lists.apache.org/thread.html/22bdb227b525e2b78d9760bb8fc664673f6987ed19f52513faf1e3f2@%3Cuser.guacamole.apache.org%3E

Currently only the database authentication extensions support delegating 
authentication to other extensions. If you wish to provide access to 
connections for users that are authenticated using HTTP headers, you will need 
to use one of those extensions, or write your own extension which integrates 
things as you see fit (perhaps even generating the connection information 
dynamically based on the header).

http://guacamole.apache.org/doc/gug/jdbc-auth.html

> Connections are not loaded from user-mapping.xml
> ------------------------------------------------
>
>                 Key: GUACAMOLE-647
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-647
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-auth-header
>    Affects Versions: 0.9.14
>         Environment: CentOS 7
>            Reporter: Stanislav Kogan
>            Priority: Critical
>
> When using the auth-header extension, the home page shows no connections 
> available, even though the user has connections defined in user-mapping.xml.
> The same configuration works properly with the auth-header extension disabled.
> Here is an example of user-mapping.xml:
> <user-mapping>
>  <authorize username="user" password="password">
>  <connection name="Some Name">
>  <protocol>vnc</protocol>
>  <param name="hostname">10.8.0.4</param>
>  <param name="port">15900</param>
>  <param name="color-depth">16</param>
>  <param name="cursor">remote</param>
>  </connection>
>  </authorize>
> </user-mapping>



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to