Re: guacamole behind haproxy

2018-02-02 Thread StephenDart
Will post the config when i am back home, but actually there is only one backend so sticky sessions arent a problem, there is only one possible in the config to go to. Any traffic for /guacamole will go to a single server. I think there must be something regarding how haproxy maybe waits for a se

LDAP Guacamole 9.14

2018-02-02 Thread Ferron Nijland - Switch IT Solutions
Hello Everyone, I've installed a new installation of Guacamole 9.14. I can access the GUI and login with sql authentication. Now I've added LDAP authentication, but it doesn't seem to work. The guacd service starts without problems, so I've no idea where to look. My guacamole.properties in /etc/g

Re: New user, Debian HowTo, some suggestions

2018-02-02 Thread Fabián Rodríguez
Hi, On 01/02/18 04:24 PM, Nick Couchman wrote: > [..] Yeah, but if you have requests for improvements, they should go > into JIRA. OK, will do next time - thanks for clarifying. >   > > * In Settings > Users > $USER > Permissions, I'd like to be able > to set two extra permissions

Re: LDAP Guacamole 9.14

2018-02-02 Thread Mike Jumper
On Fri, Feb 2, 2018 at 5:25 AM, Ferron Nijland - Switch IT Solutions < f.nijl...@switch.nl> wrote: > Hello Everyone, > > > Hello Ferron, I’ve installed a new installation of Guacamole 9.14. > > I can access the GUI and login with sql authentication. > > Now I’ve added LDAP authentication, but it

Re: LDAP Guacamole 9.14

2018-02-02 Thread Jerry
For what it's worth, using ldap-username-attribute sAMAccountname never worked for me on 0.9.13-incubating (though it seemed to work for other people based on my googling), but CN worked fine. -- Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

Re: LDAP Guacamole 9.14

2018-02-02 Thread Nick Couchman
On Fri, Feb 2, 2018 at 5:00 PM, Jerry wrote: > For what it's worth, using ldap-username-attribute sAMAccountname never > worked for me on 0.9.13-incubating (though it seemed to work for other > people based on my googling), but CN worked fine. > I have no issue with using sAMAccountName against

Re: LDAP Guacamole 9.14

2018-02-02 Thread Aaron Newsome
Hello Ferron. I've got 0.9.14 running with LDAP authentication. I've actually used an identical config since 0.9.12 without any problems. Here's the LDAP section of my guacamole.properties file: ldap-hostname: ads-001.swiftlab.local ldap-port: 389 ldap-max-search-results: 3000 ldap-search-bind-

Re: LDAP Guacamole 9.14

2018-02-02 Thread Nick Couchman
> > I also noticed that your running LDAP on port 3268. That's not the port > that LDAP usually runs on, did you double check that your LDAP server is > really running on port 3268? > > Port 3268 is standard when running Active Directory - it is the global catalog port. There was a referral bug in

Login to guacamole using the web api

2018-02-02 Thread zhangbin
Hello, how do I use guacamole/api/tokens and login remotely to guacamole web api by submitting username, password json format data to get the authentication code so that direct calls to the remote desktop window can be made. Thanks for the help.

Re: Login to guacamole using the web api

2018-02-02 Thread Nick Couchman
On Fri, Feb 2, 2018 at 10:55 PM, zhangbin wrote: > Hello, > > how do I use guacamole/api/tokens and login remotely to guacamole web api > by submitting username, password json format data to get the authentication > code... > The easiest way to figure out what you need is to use something like C

Re: guacamole behind haproxy

2018-02-02 Thread Nick Couchman
On Fri, Feb 2, 2018 at 3:42 AM, StephenDart wrote: > Will post the config when i am back home, but actually there is only one > backend so sticky sessions arent a problem, there is only one possible in > the config to go to. > Any traffic for /guacamole will go to a single server. > > I think the

答复: Login to guacamole using the web api

2018-02-02 Thread zhangbin
I tried the way you said, but I'm not sure if there is a bug in my json format for submitting data, or anything else,I get an error XMLHttpRequest can not load http://10.128.0.211:8080/guacamole/api/tokens. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'nu

答复: guacamole behind haproxy

2018-02-02 Thread zhangbin
Here's my ajax request method: var gua; function getGuacamole(){ var ajaxURL = "http://10.128.0.211:8080/apis/api/tokens";; var userparams = { "username":"guacadmin", "password":"guacadmin" }; $.ajax

Re: 答复: Login to guacamole using the web api

2018-02-02 Thread Nick Couchman
On Fri, Feb 2, 2018 at 11:16 PM, zhangbin wrote: > I tried the way you said, but I'm not sure if there is a bug in my json > format for submitting data > If you're submitting JSON data, then you're probably using the wrong encoding. You need to make sure that: - You are submitting data with Con

Re: 答复: Login to guacamole using the web api

2018-02-02 Thread Mike Jumper
On Fri, Feb 2, 2018 at 8:16 PM, zhangbin wrote: > I tried the way you said, but I'm not sure if there is a bug in my json > format for submitting data, or anything else,I get an error XMLHttpRequest > can not load http://10.128.0.211:8080/guacamole/api/tokens. No > 'Access-Control-Allow-Origin' h