Coder Social home page Coder Social logo

guacamole-powershell's People

Contributors

agreenbhm avatar cristianadrielbraun avatar dbhd avatar ebekker avatar upperm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

guacamole-powershell's Issues

Get-connection not showing all information from GUI profile

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.

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?

Get-GuacUser doesn't work because of an extra slash.

It looks like you've got an extra slash in line 34 of Get-GuacUser.ps1, which is causing malformed URLs to be used when calling the API resulting in HTTP 500 errors.

You should change this:

    begin
    {
        $Uri = "$Server/api/session/data/$($DataSource)/users/$($Username)/"

        if ($Details)
        {
            $Uri = "$Uri/$Details"
        }

to this (notice the first $Uri = line and the removal of the last slash on the right):

    begin
    {
        $Uri = "$Server/api/session/data/$($DataSource)/users/$($Username)"

        if ($Details)
        {
            $Uri = "$Uri/$Details"
        }

Also, huge thank you for sharing your awesome powershell module with the world.

Assign LDAP user to a connection or connection group

i knew this scripts are just made for mysql users in guacamole.
we have connected the ldap for authentication to guacamole to have same users and passwords for access.

with your cmdlets we could now provide automatically a new connection to a RDP Host (and delete it too). THX

now i still missing how we can add a ldap user to a connection or user-group stored in mysql (generated over your cmdlets)

Feature Request - Request password in a secure way

When you get a token and don't supply a password in the invocation script, it prompts you for a password. At this time, that password is displayed in the powershell window in plain text. In New-GuacToken.ps1, you should consider making password a non-required parameter, and instead doing an if-check on it as a param. If it's not passed, request it as a secure string with
Read-Host "Enter Password" -AsSecureString
or something like that.

adding permissions to user

It's posible to add the permission to a guacauser, "chance own password" ?
i can't find what's the name of this permission.
IMG_8003

Adding users in a Foreach Loop -- HTTP 500 error

The commands work independently...if I use the command "New-GuacUser -DataSource mysql -Parameters $GuacParameters" to create a single user, it works fine. I start getting the error when I put the command into a foreach loop and pull in names from a text file.

Other functions, like "Add-GuacUserConnection" in a foreach loop work just fine.

$password = "secretpassword"
$userlist=(get-content userlist.txt)
foreach ($user in $userlist) {
$GuacParameters = @{
"username"= $user
"password"= $password
"attributes"= @{
"disabled"= ""
"expired"= ""
"access-window-start"= ""
"access-window-end"= ""
"valid-from"= ""
"valid-until"= ""
"timezone"= ""
"guac-full-name"= ""
"guac-organization"= ""
"guac-organizational-role"= ""
}
}
write-host ". . . . .Adding $user to Guacamole Server"
New-GuacUser -DataSource mysql -Parameters $GuacParameters
}

Cannot create new connections

With Guacamole 1.3.0 I cannot create new connections. I get error message:

VERBOSE: POST with -1-byte payload
WARNING: The remote server returned an error: (500) Internal Server Error.

Tried new tokens, but nothing seems to work.

Possible Error in Add-GuacConnectionGroupMember

I don't believe this URI for this API call is written correctly... Or maybe I'm not looking at the right one for Assigning Connection Group to User Group. It shouldn't require a username as an argument.
image

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.