Comments (4)
Hi there,
I initially designed it to use a generic set of user credentials.
I just looked at my last commit and I can see where the confusion is. The function that is being called wasn’t the latest one with the user credentials, so although you defined the user credentials, they weren’t passed to the URL generator function.
I’ve just pushed a new commit that includes both a guacamole and a guacamole-user set of files. Open the guacamole_user.php and includes/guacamole-user.php and read through, you’ll see what you’re looking for.
Let me know if you have any questions.
Cheers,
Jeff
On June 18, 2014 at 8:12:25 AM, ricardoorfao ([email protected]) wrote:
Hi.
I'm trying to use your Guacamole extension but I'm not reaching what I want.
I want to connect to a remote desktop using ldap validation to get access. So, the user logs in a web application, and I have to generate a link so he can access to a remote machine, but this link must be generated with his credentials. I noticed that in the example you used an sql query but you didn't used username or password in guacamole_url() function. How can I generate a valid link to a certain user?
—
Reply to this email directly or view it on GitHub.
from guacamole-auth-hmac-easy.
Hi Jeff.
First of all thank you for your quick reply.
This is almost exactly what I was searching for!!! I'm saying almost because this is generating an URL where I can see user's password. Is there a way to mask the URL or encrypt the password?
Thank you in advance.
Ricardo Órfão
from guacamole-auth-hmac-easy.
Unfortunately I don't know how you could mask the password, sorry. :(
In the past when I wanted a lazy way, I just set the password to "X" (or anything random) and Windows would say access denied on login and make the user enter their password.
If you're up for a challenge, you could remove the password key/value string from the concatenation URL and signature variable.
Cheers,
Jeff
On Jun 19, 2014, at 3:54 AM, Ricardo Órfão [email protected] wrote:
Hi Jeff.
First of all thank you for your quick reply.
This is almost exactly what I was searching for!!! I'm saying almost because this is generating an URL where I can see user's password. Is there a way to mask the URL or encrypt the password?
Thank you in advance.
Ricardo Órfão—
Reply to this email directly or view it on GitHub.
from guacamole-auth-hmac-easy.
Ok.
Thank you anyway 👍
I solved it masking the entire url with a php script. It's ok, working as I want now.
Ricardo
from guacamole-auth-hmac-easy.
Related Issues (2)
- Unauthorized error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from guacamole-auth-hmac-easy.