-
Notifications
You must be signed in to change notification settings - Fork 730
GUACAMOLE-221: Implement guacd support for prompting #228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Should the new It feels awkward to request credentials one at a time, particularly in the common username+password case. |
|
@mike-jumper: Yep, definitely. I'll continue to work that... |
2bb69b3 to
1bc13da
Compare
|
@mike-jumper: Okay, protocol side has been reworked to act like I retooled the RDP credential request function to leverage it - it feels a bit clunky and probably needs some work. I'm not sure how feasible it is on the SSH side to gather up all of the required credentials and send them all at once - the various requests for credentials are spread out quite a bit through different pieces of the code. Or maybe it's just an opportunity to do things differently :-). |
|
@mike-jumper: Well, most of that was pretty straight-forward on the server side, but not entirely sure how to handle multiple values being sent. The RDP code is probably the best current example of this - the way it's constructed right now:
I don't think it's going to work the way I currently have it implemented because the thread is going to continue as soon as the first value is received, and not wait for the remaining ones. Any suggestions on how I should proceed that would satisfy all of the following:
?? |
|
Okay, think I figured something out for this - implemented some flags for the conditional stuff, maybe that'll work... |
mike-jumper
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you go - an initial review. :)
Beware this will also need rebasing because of #243. It definitely will conflict as-is with all those changes to RDP having been merged.
164dd1f to
8002b26
Compare
609e313 to
df08daa
Compare
|
Okay, made some changes, fixed up some style and such, and has been rebased after RDP updates. |
e9d1043 to
43c1879
Compare
af81acb to
e76e772
Compare
8ca9bab to
12f64f0
Compare
f55182d to
321af24
Compare
mike-jumper
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
321af24 to
35c46c8
Compare
|
Yeah, it's a bit of a process with me...lol. |
945a3fe to
1b4f125
Compare
1b4f125 to
3e19583
Compare
|
Okay, did another swipe through the code and fixed up a handful of things. |
mike-jumper
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🏆

Okay, here we go...this pull request implements support for two major components of getting Guacamole to support prompting:
I've tested where I can to try to make sure everything works - RDP and SSH seem to be good (along with some client changes that I'll need to clean up and submit, soon). I don't have a great VNC setup to try that out with, but I tested what I could.
Also, at this moment this change does not handle collecting and sending multiple required parameters, and then reading them back concurrently - it does things one at a time. I know that was part of the discussion somewhere (other PR, mailing list - something), so I'm happy to take a stab at that, too, but wanted to get some other eyes on this code, first.
Also, I'm not sure if this particular change warrants a rev of the protocol version introduced in 1.1.0 - it does add the
requiredinstruction??