On Fri, Oct 19, 2018 at 10:03 AM Mike Jumper <[email protected]> wrote:
> On Fri, Oct 19, 2018, 06:43 Michael Watne <[email protected]> > wrote: > > > Hello, > > so I need help with something. Currently, I have Apache Guacamole 0.9.14. > > As you are aware, users are allowed access through the user-mapping.xml > > file. I am developing a server-side application through bash (ssh) which > > also has its own set of users (located in /cmc/users). The users have the > > following files prior to login (Example: Jon Doe): > > > > > > Username detection: /cmc/users/JDoe > > > TMIN (Team Member Identification Number): /cmc/users/JDoe/tmin.inf > > > Password (Used in MD5 hash): /cmc/users/JDoe/.Password > > > > > > Any logins are also managed through the application I'm developing. > > > > Is there a way I can reference those in the user-mapping.xml file so > logins > > are managed easier? > > > Yep. Take a look at the extension API. There's no low-level need to use > user-mapping.xml at all, nor to predefine the details of the connection. > You can write an extension which dynamically defines the details of a > connection on-the-fly, and reads or derives username/password details from > however you like. > > > I'm not entirely sure what you're trying to do, here, but you might also consider using Tokens so that you can substitute in the username and password used to authenticate to Guacamole for the connections. Documentation here: http://guacamole.apache.org/doc/gug/configuring-guacamole.html#parameter-tokens This would probably be in addition to the custom extension that Mike mentions, but if the username/password for logging into Guacamole end up being the same as what's used for the SSH connection, this will help avoid the double-login scenario. -Nick
