Re: Remove or hide the "recent connections" section

2024-05-23 Thread Nick Couchman
On Thu, May 23, 2024 at 5:50 PM Willy Manga  wrote:

> Hi,
>
> Is it possible to remove or at least hide the "recent connections" section?
>
>
>
In the current release, no, there is not. This has been added, though, and
should show up in version 1.6.0.

https://issues.apache.org/jira/browse/GUACAMOLE-1866

-Nick


Remove or hide the "recent connections" section

2024-05-23 Thread Willy Manga

Hi,

Is it possible to remove or at least hide the "recent connections" section?


--
Willy Manga

-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org



Re: Can guacamole (or freerdp) detect if someone is logged into the console (locally)?

2024-05-23 Thread Sean Hulbert
This is normal behavior for Windows RDP, in Server 2022 and older you 
are allowed 2 (Different Users) free RDP sessions. However if you are 
User one is logged at console or remote, and you connect from another 
system with same user account, windows will prompt to log out the active 
session for that same user.  When this is not true is when you are using 
TS license (RDS) CALS to connect many users to one system with Desktop 
Sharing.


Windows 10 Pro Allows 2 connections at same time for two users, Windows 
11 Pro is 1 connection.


This has nothing to do with Guacamole.

For RDP, this is naturally encrypted by default, there are different 
levels of authentication such as NLA, which is being retired and 
replaced with new protocol authentication. (Microsoft Windows RDP 
Network Level Authentication Bypass (CVE-2019-9510)).



Hope this information helps.


*Thank You*
Sean Hulbert

*Security Centric Inc.*
A Cybersecurity Virtualization Enablement Company
/StormCloud Gov, Protected CUI Environment!/


Industry's most secure virtual desktops!


*/FedRAMP MIL4 in process (RAR)/*
System Award Management
*CAGE: 8AUV4*
*SAM ID: UMJLJ8A7BMT3*

AFCEA San Francisco Chapter President
If you have heard of a hacker by name, he/she has failed, fear the 
hacker you haven’t heard of!


CONFIDENTIALITY NOTICE: This communication with its contents may contain 
confidential and/or legally privileged information. It is solely for the 
use of the intended recipient(s). Unauthorized interception, review, use 
or disclosure is prohibited and may violate applicable laws including 
the Electronic Communications Privacy Act. If you are not the intended 
recipient, please contact the sender and destroy all copies of the 
communication. Content within this email communication is not legally 
binding as a contract and no promises are guaranteed unless in a formal 
contract outside this email communication.


igitur qui desiderat pacem, praeparet bellum!!!

Epitoma Rei Militaris

On 5/22/2024 11:15 AM, Hankins, Jonathan wrote:
Not sure if/how FreeRDP handles this but here is some context about 
changes from Windows Server 2003 to 2008 (RDC 6.1): 
https://techcommunity.microsoft.com/t5/security-compliance-and-identity/changes-to-remote-administration-in-windows-server-2008/ba-p/246577


On a Desktop OS (Windows 11), this is what I see:

Connecting through Guacamole via RDP as the SAME user I have logged 
into the console "steals" the session that was on the console, 
regardless of the "Administrator console" setting on the connection in 
Guacamole.


Connecting through Guacamole via RDP as a DIFFERENT user I have logged 
into the console asks me if I want to disconnect them, and when I 
choose Yes, asks them (on the console) if they want to be disconnected 
with a 30s countdown, regardless of the "Administrator console" 
setting on the connection in Guacamole.


On a server OS (Windows Server 2022) with RDS role, this is what I see:

(FWIW, I do have "Restrict Remote Desktop Services users to a single 
Remote Desktop Services session" enabled in my group policy for my 
terminal servers.)


Connecting through Guacamole via RDP as the SAME user I have logged 
into the console "steals" the session that was on the console, 
regardless of the "Administrator console" setting on the connection in 
Guacamole.


Connecting through Guacamole via RDP as a DIFFERENT user I have logged 
into the console does NOT affect the session on the console, 
regardless of the "Administrator console" setting on the connection in 
Guacamole.




On Wed, May 22, 2024 at 12:42 PM Barnhart, Steven 
 wrote:


We have a scenario where a lab may be used in person, but we also
want it to be available remotely through guacamole. I know
Guacamole doesn’t handle that right now (or seemingly), but is it
even possible or does the RDP protocol not expose that at all?

*Steven T. Barnhart*

Solutions Engineer
*The Ohio State University*
OTDI Research Technology and Infrastructure
(614) 688-1013 Office


Re: Using LDAP to authenticate to balancing group

2024-05-23 Thread David Lomas
Thanks Nick—I got this working using your second method by not sending a
'guacConfigParameter' object at all, but just returning the group name as
the cn. I also had to add LDAP_GROUP_BASE_DN into the guacamole
configuration. I do still see a warning in the logs about a missing
required attribute:

09:55:37.571 [http-nio-8080-exec-3] WARN  o.a.g.a.l.c.ConnectionService -
guacConfigGroup "test" is missing the required "guacConfigProtocol"
attribute.

But that doesn't seem to stop the authentication working.

On Fri, 17 May 2024 at 02:33, Nick Couchman  wrote:

> On Wed, May 15, 2024 at 6:20 AM David Lomas 
> wrote:
>
>> Hi,
>>
>> I've set up a balancing group in Guacamole which contains 3 test
>> connections to individual machines. If I create test users in the web
>> interface and assign them to the group (but _not_ to individual
>> connections), I can see the balancing working—when each user logs in, they
>> are assigned to an available connection.
>>
>>
> If you're setting up a balancing group, then this means that you're using
> the JDBC (DB) extension for storing connections, correct?
>
>
>> But how can I 'target' a user who is authenticated via LDAP to this
>> connection group? The documentation shows how to return a connection to a
>> specific machine as part of the guacConfigParameter object (hostname: xyz,
>> etc.) but I couldn't find anything about returning a connection group
>> there. Is this possible? Is there some documentation I've missed?
>>
>>
> There are two ways to do this:
> * You can create a user account in the database that has the same user
> name (generally case-sensitive) as the LDAP user, and assign permission for
> a connection or connection group to the user. Note that this can also be
> largely automated by enabling the auto account-creation capability. See:
> https://guacamole.apache.org/doc/gug/ldap-auth.html#associating-ldap-with-a-database
> ,
> https://guacamole.apache.org/doc/gug/jdbc-auth.html#auto-creating-database-users
> * Instead of doing this based on username, you can do this with user
> groups - if you enable group searching in LDAP, you can assign the
> permissions to the groups, and, as long as the groups in the database have
> the same name as the LDAP groups, Guacamole will associate those
> permissions.
>
> -Nick
>