[1/2] guacamole-server git commit: GUACAMOLE-307: The "size" instruction can also apply to buffers, not just layers.

2017-12-09 Thread vnick
Repository: guacamole-server
Updated Branches:
  refs/heads/master e3d8c3fa1 -> f72de1032


GUACAMOLE-307: The "size" instruction can also apply to buffers, not just 
layers.


Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/ff6c4b04
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/ff6c4b04
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/ff6c4b04

Branch: refs/heads/master
Commit: ff6c4b04f4234dfcee667269b761a97603f8a211
Parents: e3d8c3f
Author: Michael Jumper 
Authored: Fri Dec 8 14:54:15 2017 -0800
Committer: Michael Jumper 
Committed: Fri Dec 8 14:54:15 2017 -0800

--
 src/guacenc/instruction-size.c | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/ff6c4b04/src/guacenc/instruction-size.c
--
diff --git a/src/guacenc/instruction-size.c b/src/guacenc/instruction-size.c
index 67c1e16..eb2a29d 100644
--- a/src/guacenc/instruction-size.c
+++ b/src/guacenc/instruction-size.c
@@ -38,13 +38,13 @@ int guacenc_handle_size(guacenc_display* display, int argc, 
char** argv) {
 int width = atoi(argv[1]);
 int height = atoi(argv[2]);
 
-/* Retrieve requested layer */
-guacenc_layer* layer = guacenc_display_get_layer(display, index);
-if (layer == NULL)
+/* Retrieve requested layer/buffer */
+guacenc_buffer* buffer = guacenc_display_get_related_buffer(display, 
index);
+if (buffer == NULL)
 return 1;
 
-/* Resize layer */
-return guacenc_buffer_resize(layer->buffer, width, height);
+/* Resize layer/buffer */
+return guacenc_buffer_resize(buffer, width, height);
 
 }
 



[2/2] guacamole-server git commit: GUACAMOLE-307: Merge the size instruction can also apply to buffers.

2017-12-09 Thread vnick
GUACAMOLE-307: Merge the size instruction can also apply to buffers.


Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/f72de103
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/f72de103
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/f72de103

Branch: refs/heads/master
Commit: f72de10328ae39fcbf067333b0c2a2c9aecc441b
Parents: e3d8c3f ff6c4b0
Author: Nick Couchman 
Authored: Sat Dec 9 12:55:19 2017 -0500
Committer: Nick Couchman 
Committed: Sat Dec 9 12:55:19 2017 -0500

--
 src/guacenc/instruction-size.c | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)
--




[jira] [Resolved] (GUACAMOLE-307) guacenc reports "Layer index out of bounds: -1"

2017-12-09 Thread Michael Jumper (JIRA)

 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Jumper resolved GUACAMOLE-307.
--
   Resolution: Fixed
Fix Version/s: 0.9.15

> guacenc reports "Layer index out of bounds: -1"
> ---
>
> Key: GUACAMOLE-307
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-307
> Project: Guacamole
>  Issue Type: Bug
>  Components: guacenc
>Reporter: Pugazendhi Asaimuthu
>Assignee: Michael Jumper
>Priority: Trivial
> Fix For: 0.9.15
>
> Attachments: Anusha.1
>
>
> Getting "guacenc: WARNING: Layer index out of bounds: -1" when I execute 
> "sudo guacenc /path/to/recording/recordingfilename.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (GUACAMOLE-458) Can't connect to VNC server

2017-12-09 Thread Michael Jumper (JIRA)

 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Jumper updated GUACAMOLE-458:
-
Description: 
I'm trying to connect to a VNC server.
IP: lime.seedhost.eu 
port: 34
With TigerVNC it works well but with guacamole I can't connect.

Log:

{code:none}
Dec  8 11:35:09 guaca guacd[987]: Creating new client for protocol "vnc"
Dec  8 11:35:09 guaca guacd[987]: Connection ID is 
"$ccdb6912-d292-4adb-9116-8b9bf792d93a"
Dec  8 11:35:09 guaca guacd[26247]: Cursor rendering: local
Dec  8 11:35:09 guaca guacd[26247]: User 
"@58bfa711-3edb-476a-bee3-865d39815b26" joined connection 
"$ccdb6912-d292-4adb-9116-8b9bf792d93a" (1 users now present)
Dec  8 11:35:09 guaca server: 11:35:09.477 [http-bio-8443-exec-9] INFO  
o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection 
"3".
Dec  8 11:35:09 guaca guacd[26247]: ConnectClientToTcpAddr6: connect
Dec  8 11:35:09 guaca guacd[26247]: ConnectToTcpAddr: connect
Dec  8 11:35:09 guaca guacd[26247]: Unable to connect to VNC server
Dec  8 11:35:09 guaca guacd[26247]: Unable to connect to VNC server.
Dec  8 11:35:09 guaca kernel: guacd[26250]: segfault at 10 ip 7fbadd3b6d72 
sp 7fbad77fdc10 error 4 in libguac-client-vnc.so.0.0.0[7fbadd3ae000+13000]
Dec  8 11:35:09 guaca guacd[987]: Connection 
"$ccdb6912-d292-4adb-9116-8b9bf792d93a" removed.
Dec  8 11:35:09 guaca server: 11:35:09.847 [http-bio-8443-exec-9] INFO  
o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from 
connection "3". Duration: 370 milliseconds
{code}


  was:
I'm trying to connect to a VNC server.
IP: lime.seedhost.eu 
port: 34
With TigerVNC it works well but with guacamole I can't connect.

Log:

Dec  8 11:35:09 guaca guacd[987]: Creating new client for protocol "vnc"
Dec  8 11:35:09 guaca guacd[987]: Connection ID is 
"$ccdb6912-d292-4adb-9116-8b9bf792d93a"
Dec  8 11:35:09 guaca guacd[26247]: Cursor rendering: local
Dec  8 11:35:09 guaca guacd[26247]: User 
"@58bfa711-3edb-476a-bee3-865d39815b26" joined connection 
"$ccdb6912-d292-4adb-9116-8b9bf792d93a" (1 users now present)
Dec  8 11:35:09 guaca server: 11:35:09.477 [http-bio-8443-exec-9] INFO  
o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection 
"3".
Dec  8 11:35:09 guaca guacd[26247]: ConnectClientToTcpAddr6: connect
Dec  8 11:35:09 guaca guacd[26247]: ConnectToTcpAddr: connect
Dec  8 11:35:09 guaca guacd[26247]: Unable to connect to VNC server
Dec  8 11:35:09 guaca guacd[26247]: Unable to connect to VNC server.
Dec  8 11:35:09 guaca kernel: guacd[26250]: segfault at 10 ip 7fbadd3b6d72 
sp 7fbad77fdc10 error 4 in libguac-client-vnc.so.0.0.0[7fbadd3ae000+13000]
Dec  8 11:35:09 guaca guacd[987]: Connection 
"$ccdb6912-d292-4adb-9116-8b9bf792d93a" removed.
Dec  8 11:35:09 guaca server: 11:35:09.847 [http-bio-8443-exec-9] INFO  
o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from 
connection "3". Duration: 370 milliseconds



> Can't connect to VNC server
> ---
>
> Key: GUACAMOLE-458
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-458
> Project: Guacamole
>  Issue Type: Bug
>  Components: VNC
>Affects Versions: 0.9.13-incubating
>Reporter: Luckyzor
>
> I'm trying to connect to a VNC server.
> IP: lime.seedhost.eu 
> port: 34
> With TigerVNC it works well but with guacamole I can't connect.
> Log:
> {code:none}
> Dec  8 11:35:09 guaca guacd[987]: Creating new client for protocol "vnc"
> Dec  8 11:35:09 guaca guacd[987]: Connection ID is 
> "$ccdb6912-d292-4adb-9116-8b9bf792d93a"
> Dec  8 11:35:09 guaca guacd[26247]: Cursor rendering: local
> Dec  8 11:35:09 guaca guacd[26247]: User 
> "@58bfa711-3edb-476a-bee3-865d39815b26" joined connection 
> "$ccdb6912-d292-4adb-9116-8b9bf792d93a" (1 users now present)
> Dec  8 11:35:09 guaca server: 11:35:09.477 [http-bio-8443-exec-9] INFO  
> o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection 
> "3".
> Dec  8 11:35:09 guaca guacd[26247]: ConnectClientToTcpAddr6: connect
> Dec  8 11:35:09 guaca guacd[26247]: ConnectToTcpAddr: connect
> Dec  8 11:35:09 guaca guacd[26247]: Unable to connect to VNC server
> Dec  8 11:35:09 guaca guacd[26247]: Unable to connect to VNC server.
> Dec  8 11:35:09 guaca kernel: guacd[26250]: segfault at 10 ip 
> 7fbadd3b6d72 sp 7fbad77fdc10 error 4 in 
> libguac-client-vnc.so.0.0.0[7fbadd3ae000+13000]
> Dec  8 11:35:09 guaca guacd[987]: Connection 
> "$ccdb6912-d292-4adb-9116-8b9bf792d93a" removed.
> Dec  8 11:35:09 guaca server: 11:35:09.847 [http-bio-8443-exec-9] INFO  
> o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from 
> connection "3". Duration: 370 milliseconds
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (GUACAMOLE-458) Can't connect to VNC server

2017-12-09 Thread Michael Jumper (JIRA)

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

Michael Jumper edited comment on GUACAMOLE-458 at 12/10/17 12:15 AM:
-

If you're simply having trouble establishing a connection to your VNC server at 
all, please open a new thread on the mailing list rather than opening a new bug 
report:

http://guacamole.apache.org/support/#mailing-lists

It is extremely unlikely that Guacamole has a bug so fundamental that 
connecting to VNC servers over the network is completely broken, and the 
mailing lists are the best place to request help with such things.

{quote}
{code:none}
...
Dec  8 11:35:09 guaca guacd[26247]: Unable to connect to VNC server.
Dec  8 11:35:09 guaca kernel: guacd[26250]: segfault at 10 ip 7fbadd3b6d72 
sp 7fbad77fdc10 error 4 in libguac-client-vnc.so.0.0.0[7fbadd3ae000+13000]
...
{code}
{quote}

There is a known issue in 0.9.13-incubating and older which resulted in a 
segfault upon disconnect. The segfault occurred due to an attempt to free 
memory that was not actually allocated, and had no effect on connection 
stability. This was recently fixed via GUACAMOLE-388 and GUACAMOLE-424. 
Assuming this is what you're seeing here, it is not related to your current 
difficulties in connecting.


was (Author: mike.jumper):
If you're simply having trouble establishing a connection to your VNC server at 
all, please open a new thread on the mailing list rather than opening a new bug 
report:

http://guacamole.apache.org/support/#mailing-lists

It is extremely unlikely that Guacamole has a bug so fundamental that 
connecting to VNC servers over the network is completely broken, and the 
mailing lists are the best place to request help with such things.

{quote}
{code:none}
...
Dec  8 11:35:09 guaca guacd[26247]: Unable to connect to VNC server.
Dec  8 11:35:09 guaca kernel: guacd[26250]: segfault at 10 ip 7fbadd3b6d72 
sp 7fbad77fdc10 error 4 in libguac-client-vnc.so.0.0.0[7fbadd3ae000+13000]
...
{code}
{quote}

There is a known issue in 0.9.13-incubating and older which resulted in a 
segfault upon disconnect. The segfault occurred due to an attempt to free 
memory that was not actually allocated, and had no effect on connection 
stability. This was recently fixed via GUACAMOLE-388 and GUACAMOLE-424, . 
Assuming this is what you're seeing here, it is not related to your current 
difficulties in connecting.

> Can't connect to VNC server
> ---
>
> Key: GUACAMOLE-458
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-458
> Project: Guacamole
>  Issue Type: Bug
>  Components: VNC
>Affects Versions: 0.9.13-incubating
>Reporter: Luckyzor
>
> I'm trying to connect to a VNC server.
> IP: lime.seedhost.eu 
> port: 34
> With TigerVNC it works well but with guacamole I can't connect.
> Log:
> {code:none}
> Dec  8 11:35:09 guaca guacd[987]: Creating new client for protocol "vnc"
> Dec  8 11:35:09 guaca guacd[987]: Connection ID is 
> "$ccdb6912-d292-4adb-9116-8b9bf792d93a"
> Dec  8 11:35:09 guaca guacd[26247]: Cursor rendering: local
> Dec  8 11:35:09 guaca guacd[26247]: User 
> "@58bfa711-3edb-476a-bee3-865d39815b26" joined connection 
> "$ccdb6912-d292-4adb-9116-8b9bf792d93a" (1 users now present)
> Dec  8 11:35:09 guaca server: 11:35:09.477 [http-bio-8443-exec-9] INFO  
> o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection 
> "3".
> Dec  8 11:35:09 guaca guacd[26247]: ConnectClientToTcpAddr6: connect
> Dec  8 11:35:09 guaca guacd[26247]: ConnectToTcpAddr: connect
> Dec  8 11:35:09 guaca guacd[26247]: Unable to connect to VNC server
> Dec  8 11:35:09 guaca guacd[26247]: Unable to connect to VNC server.
> Dec  8 11:35:09 guaca kernel: guacd[26250]: segfault at 10 ip 
> 7fbadd3b6d72 sp 7fbad77fdc10 error 4 in 
> libguac-client-vnc.so.0.0.0[7fbadd3ae000+13000]
> Dec  8 11:35:09 guaca guacd[987]: Connection 
> "$ccdb6912-d292-4adb-9116-8b9bf792d93a" removed.
> Dec  8 11:35:09 guaca server: 11:35:09.847 [http-bio-8443-exec-9] INFO  
> o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from 
> connection "3". Duration: 370 milliseconds
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (GUACAMOLE-458) Can't connect to VNC server

2017-12-09 Thread Michael Jumper (JIRA)

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

Michael Jumper commented on GUACAMOLE-458:
--

If you're simply having trouble establishing a connection to your VNC server at 
all, please open a new thread on the mailing list rather than opening a new bug 
report:

http://guacamole.apache.org/support/#mailing-lists

It is extremely unlikely that Guacamole has a bug so fundamental that 
connecting to VNC servers over the network is completely broken, and the 
mailing lists are the best place to request help with such things.

{quote}
{code:none}
...
Dec  8 11:35:09 guaca guacd[26247]: Unable to connect to VNC server.
Dec  8 11:35:09 guaca kernel: guacd[26250]: segfault at 10 ip 7fbadd3b6d72 
sp 7fbad77fdc10 error 4 in libguac-client-vnc.so.0.0.0[7fbadd3ae000+13000]
...
{code}
{quote}

There is a known issue in 0.9.13-incubating and older which resulted in a 
segfault upon disconnect. The segfault occurred due to an attempt to free 
memory that was not actually allocated, and had no effect on connection 
stability. This was recently fixed via GUACAMOLE-388 and GUACAMOLE-424, . 
Assuming this is what you're seeing here, it is not related to your current 
difficulties in connecting.

> Can't connect to VNC server
> ---
>
> Key: GUACAMOLE-458
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-458
> Project: Guacamole
>  Issue Type: Bug
>  Components: VNC
>Affects Versions: 0.9.13-incubating
>Reporter: Luckyzor
>
> I'm trying to connect to a VNC server.
> IP: lime.seedhost.eu 
> port: 34
> With TigerVNC it works well but with guacamole I can't connect.
> Log:
> {code:none}
> Dec  8 11:35:09 guaca guacd[987]: Creating new client for protocol "vnc"
> Dec  8 11:35:09 guaca guacd[987]: Connection ID is 
> "$ccdb6912-d292-4adb-9116-8b9bf792d93a"
> Dec  8 11:35:09 guaca guacd[26247]: Cursor rendering: local
> Dec  8 11:35:09 guaca guacd[26247]: User 
> "@58bfa711-3edb-476a-bee3-865d39815b26" joined connection 
> "$ccdb6912-d292-4adb-9116-8b9bf792d93a" (1 users now present)
> Dec  8 11:35:09 guaca server: 11:35:09.477 [http-bio-8443-exec-9] INFO  
> o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection 
> "3".
> Dec  8 11:35:09 guaca guacd[26247]: ConnectClientToTcpAddr6: connect
> Dec  8 11:35:09 guaca guacd[26247]: ConnectToTcpAddr: connect
> Dec  8 11:35:09 guaca guacd[26247]: Unable to connect to VNC server
> Dec  8 11:35:09 guaca guacd[26247]: Unable to connect to VNC server.
> Dec  8 11:35:09 guaca kernel: guacd[26250]: segfault at 10 ip 
> 7fbadd3b6d72 sp 7fbad77fdc10 error 4 in 
> libguac-client-vnc.so.0.0.0[7fbadd3ae000+13000]
> Dec  8 11:35:09 guaca guacd[987]: Connection 
> "$ccdb6912-d292-4adb-9116-8b9bf792d93a" removed.
> Dec  8 11:35:09 guaca server: 11:35:09.847 [http-bio-8443-exec-9] INFO  
> o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from 
> connection "3". Duration: 370 milliseconds
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (GUACAMOLE-458) Can't connect to VNC server

2017-12-09 Thread Michael Jumper (JIRA)

 [ 
https://issues.apache.org/jira/browse/GUACAMOLE-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Jumper resolved GUACAMOLE-458.
--
Resolution: Invalid

> Can't connect to VNC server
> ---
>
> Key: GUACAMOLE-458
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-458
> Project: Guacamole
>  Issue Type: Bug
>  Components: VNC
>Affects Versions: 0.9.13-incubating
>Reporter: Luckyzor
>
> I'm trying to connect to a VNC server.
> IP: lime.seedhost.eu 
> port: 34
> With TigerVNC it works well but with guacamole I can't connect.
> Log:
> {code:none}
> Dec  8 11:35:09 guaca guacd[987]: Creating new client for protocol "vnc"
> Dec  8 11:35:09 guaca guacd[987]: Connection ID is 
> "$ccdb6912-d292-4adb-9116-8b9bf792d93a"
> Dec  8 11:35:09 guaca guacd[26247]: Cursor rendering: local
> Dec  8 11:35:09 guaca guacd[26247]: User 
> "@58bfa711-3edb-476a-bee3-865d39815b26" joined connection 
> "$ccdb6912-d292-4adb-9116-8b9bf792d93a" (1 users now present)
> Dec  8 11:35:09 guaca server: 11:35:09.477 [http-bio-8443-exec-9] INFO  
> o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection 
> "3".
> Dec  8 11:35:09 guaca guacd[26247]: ConnectClientToTcpAddr6: connect
> Dec  8 11:35:09 guaca guacd[26247]: ConnectToTcpAddr: connect
> Dec  8 11:35:09 guaca guacd[26247]: Unable to connect to VNC server
> Dec  8 11:35:09 guaca guacd[26247]: Unable to connect to VNC server.
> Dec  8 11:35:09 guaca kernel: guacd[26250]: segfault at 10 ip 
> 7fbadd3b6d72 sp 7fbad77fdc10 error 4 in 
> libguac-client-vnc.so.0.0.0[7fbadd3ae000+13000]
> Dec  8 11:35:09 guaca guacd[987]: Connection 
> "$ccdb6912-d292-4adb-9116-8b9bf792d93a" removed.
> Dec  8 11:35:09 guaca server: 11:35:09.847 [http-bio-8443-exec-9] INFO  
> o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from 
> connection "3". Duration: 370 milliseconds
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (GUACAMOLE-96) Two factor authentication with Google Authenticator

2017-12-09 Thread Michael Jumper (JIRA)

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

Michael Jumper commented on GUACAMOLE-96:
-

{quote}
Does it also work with LDAP when using LDAP together with MySQL (saving 
connection permissions to MySQL)?
{quote}

I have not explicitly tested this, but it should, yes. The TOTP implementation 
works by augmenting the storage/authorization side of things and is independent 
of the extension providing primary authentication.

{quote}
Suppose an user loses their phone. How can I reset their 2FA?
{quote}

You would need to manually delete the {{guac-totp-key-secret}} and 
{{guac-totp-key-confirmed}} attributes for that user from the 
{{guacamole_user_attribute}} table within the database. A new, random key will 
automatically be generated when they next authenticate successfully, and they 
will be prompted to complete enrollment as normal.

As with configuring whether TOTP is required for a particular user, there is no 
technical reason preventing adding an interface for handling the above. I'm 
avoiding implementing that for now purely in the interest of reduced scope.

> Two factor authentication with Google Authenticator
> ---
>
> Key: GUACAMOLE-96
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-96
> Project: Guacamole
>  Issue Type: New Feature
>  Components: guacamole-client
>Reporter: L.J. van Ruiten
>Assignee: Michael Jumper
>Priority: Trivial
> Attachments: guacamole-auth-totp-01-enroll-01-details-hidden.png, 
> guacamole-auth-totp-01-enroll-02-details-shown.png, 
> guacamole-auth-totp-01-enroll.png, guacamole-auth-totp-02-verify.png
>
>
> We have a few critical systems that are accessible through Guacamole and we 
> have had some clients requesting a safer way to login. Two factor 
> authentication is probably the best and easiest way to improve on the current 
> username/password login, and I can imagine that this is something that other 
> companies using Guacamole would also be interesting in this feature.
> I already did some tinkering myself and I found that Google Auhtenticator is 
> simple to use, does not require any configuration (like you would with SMS 
> codes) easy to implement and the "client" side of the authentication (the 
> part that generates the codes) is easily integrated into existing apps.
> So far I have got Google Authenticator "kinda working". What I did is:
> - Started with guacamole-auth-jdbc as base
> - Added a secret key to a user account that is randomly generated upon 
> creation. Also added a boolean field to indicate wether TFA is required for 
> loggin in.
> - Used the GuacamoleInsufficientCredentialsException to redirect the user the 
> a second screen asking for a TFA code after loggin in with the username and 
> password.
> However as said before this only "kinda works" because:
> I have only gotten the TFA enable button to appear in the user's managing 
> page, so it can only be enabled by administrators and that's also where I put 
> the secret key shows up, so users can't find it themself.
> For as far as I could find the previous point cannot be done with just the 
> guacamole-ext api. Even with the new API that enables you to insert HTML 
> parts, you would also need an API endpoint to provide the secret key or 
> ideally generate a QR code that Google Auhtenticator can read to bind a 
> device to the account (I would like it to appear in the user's preference 
> page). 
> So in summary if other people are interested I would be willing to contribute 
> this, but I would need some directions and I have a few questions:
> - Am I right that it is currently not possible to add an API endpoint just 
> using guacamole-ext to provide the QR codes?
> - What would be the way to implement this? Personally I thought that adding 
> these options to the user's page would be the easiest.
> - Is this a feature you would like me to work on and contribute?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (GUACAMOLE-307) guacenc reports "Layer index out of bounds: -1"

2017-12-09 Thread Pugazendhi Asaimuthu (JIRA)

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

Pugazendhi Asaimuthu commented on GUACAMOLE-307:


HI Michael,
Thank you for your support and the great work. Wish I had the skills to
support the development work too.

I use guacamole to have developers access VM to development work. I pay
them based on the hrs they spend doing the work. Sometimes I would just
like the following.

   - Have a sharing profile that does not require the developer to give me
   the sharing url or anything at all. I or other managers who are assigned
   the sharing profile as available connections could just click on the
   sharing profile and view the developer's screen without needing for the
   developer to do anything. Is it possible?
   - Clicking on the history of session record to see the recording of the
   session.
   - Developers could see the VM in fullscreen and multiple monitors.

Are these capabilities in line with the product goals. Wish I could see
guacamole have these capabilities. Please let me know if these can be
developed into future versions. I will love Guacamole anyways. But
these would make me crazy guacamole lover. :)  Please consider these for
capabilities in a future version.
Thanks,
Pugazendhi Asaimuthu
571 287 3440



On Sat, Dec 9, 2017 at 2:12 PM, Michael Jumper (JIRA) 



> guacenc reports "Layer index out of bounds: -1"
> ---
>
> Key: GUACAMOLE-307
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-307
> Project: Guacamole
>  Issue Type: Bug
>  Components: guacenc
>Reporter: Pugazendhi Asaimuthu
>Assignee: Michael Jumper
>Priority: Trivial
> Fix For: 0.9.15
>
> Attachments: Anusha.1
>
>
> Getting "guacenc: WARNING: Layer index out of bounds: -1" when I execute 
> "sudo guacenc /path/to/recording/recordingfilename.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (GUACAMOLE-307) guacenc reports "Layer index out of bounds: -1"

2017-12-09 Thread Pugazendhi Asaimuthu (JIRA)

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

Pugazendhi Asaimuthu commented on GUACAMOLE-307:


Dear Michael,
Oh missed another feature that I think will be useful.

Assign access to connection history of specific user accounts to another
set of specific user accounts. This will help us have managers of users
access activity of their people.

Thanks,

On Sun, Dec 10, 2017 at 2:31 AM, Pugazendhi Asaimuthu (JIRA) <



> guacenc reports "Layer index out of bounds: -1"
> ---
>
> Key: GUACAMOLE-307
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-307
> Project: Guacamole
>  Issue Type: Bug
>  Components: guacenc
>Reporter: Pugazendhi Asaimuthu
>Assignee: Michael Jumper
>Priority: Trivial
> Fix For: 0.9.15
>
> Attachments: Anusha.1
>
>
> Getting "guacenc: WARNING: Layer index out of bounds: -1" when I execute 
> "sudo guacenc /path/to/recording/recordingfilename.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (GUACAMOLE-307) guacenc reports "Layer index out of bounds: -1"

2017-12-09 Thread Michael Jumper (JIRA)

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

Michael Jumper commented on GUACAMOLE-307:
--

{quote}
Sometimes I would just like the following.
* ...
{quote}

[~wizpugazh], if you are looking to request new features, please open new 
issues for those features, rather than commenting on an old issue.

> guacenc reports "Layer index out of bounds: -1"
> ---
>
> Key: GUACAMOLE-307
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-307
> Project: Guacamole
>  Issue Type: Bug
>  Components: guacenc
>Reporter: Pugazendhi Asaimuthu
>Assignee: Michael Jumper
>Priority: Trivial
> Fix For: 0.9.15
>
> Attachments: Anusha.1
>
>
> Getting "guacenc: WARNING: Layer index out of bounds: -1" when I execute 
> "sudo guacenc /path/to/recording/recordingfilename.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)