Coder Social home page Coder Social logo

Comments (3)

UpperM avatar UpperM commented on August 20, 2024

Hi, I'm fairly new to Guacamole, but got everything up-and-running and created 2 users and 2 connections, 1 for each user. From the Guac admin console, I can see the connection linked to a user, but not when I'm running get-user or get-connection from PShell.

You can retrive the linked connections of the user with the parameter -Details permissions of Get-GuacUser

Example :

Get-GuacUser -DataSource mysql -Username "[email protected]" -Details permissions

Return

connectionPermissions       : @{55=System.Object[]} // This is the linked connection
connectionGroupPermissions  :
sharingProfilePermissions   :
activeConnectionPermissions : @{}
userGroupPermissions        :
systemPermissions           : {}

Also, when running get-connection, it is not showing all settings I defined from the GUI (ignore cert, security,...); any idea how to get that information?

Yup I need to add a new function Get-GuacConnectionParameters

from guacamole-powershell.

pdtit avatar pdtit commented on August 20, 2024

Hi Matthieu, thanks for the fast and working reply, very much appreciated! I got most of it working now, so trying to integrate this in a broader setup provisioning automation flow. Also trying to do the same from REST API directly - testing with Postman for now, but it should all become part of a custom process. Thanks for your help!!

That said, I sometimes face some weird issues, for example running get-guacuserS provides the list of all users; but when running get-guacuser, it gives an error 500

from guacamole-powershell.

UpperM avatar UpperM commented on August 20, 2024

Also, when running get-connection, it is not showing all settings I defined from the GUI (ignore cert, security,...); any idea how to get that information?

I rechecked the code and you can get these informations with the -Details $True parameters

Example :

Get-GuacConnection -DataSource mysql -ConnectionId 52 -Details $True

Return

hostname      : PC-001
password      : ${GUAC_PASSWORD}
security      : nla
ignore-cert   : true
port          : 3389
width         : 1920
server-layout : fr-fr-azerty
height        : 1080
username      : ${GUAC_USERNAME}

That said, I sometimes face some weird issues, for example running get-guacuserS provides the list of all users; but when running get-guacuser, it gives an error 500

Did you specifiy the -Username parameter ?

from guacamole-powershell.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.