Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Discuss
  3. Guacamole Configuration

Guacamole Configuration

Scheduled Pinned Locked Moved Discuss
20 Posts 4 Posters 7.9k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • fbartelsF fbartels

    @mpeterson0418 even if its using different urls Guacamole is configured under the hood to use Cloudron for authentication (no one first needs to head to their Cloudron dashboard, but can directly log into Guac).

    And once you have enabled the external ldap integration for your Cloudron all members on your ldap can log into Cloudron and therefore apps that use the Cloudron user management.

    mpeterson0418M Offline
    mpeterson0418M Offline
    mpeterson0418
    wrote on last edited by
    #9

    @fbartels I am definitely going to try that

    Maybe you can help me with something within the guacamole config...... for sake or argument I tried building a user account and added my domain NetBIOS name to the front of it <AD><username>.

    Now when I try to edit the account in the guacamole interface, I get the following error:

    ERROR - An error has occurred and this action cannot be completed. If the problem persists, please notify your system administrator or check your system logs.

    It seems like the account is being stored within the mysql database. Any thoughts on how to manually clean it up?

    fbartelsF mpeterson0418M 2 Replies Last reply
    0
    • mpeterson0418M mpeterson0418

      @fbartels I am definitely going to try that

      Maybe you can help me with something within the guacamole config...... for sake or argument I tried building a user account and added my domain NetBIOS name to the front of it <AD><username>.

      Now when I try to edit the account in the guacamole interface, I get the following error:

      ERROR - An error has occurred and this action cannot be completed. If the problem persists, please notify your system administrator or check your system logs.

      It seems like the account is being stored within the mysql database. Any thoughts on how to manually clean it up?

      fbartelsF Offline
      fbartelsF Offline
      fbartels
      App Dev
      wrote on last edited by
      #10

      @mpeterson0418 Oh, I am not using Guac personally, so I cannot really help here.

      1 Reply Last reply
      0
      • mpeterson0418M mpeterson0418

        @fbartels I am definitely going to try that

        Maybe you can help me with something within the guacamole config...... for sake or argument I tried building a user account and added my domain NetBIOS name to the front of it <AD><username>.

        Now when I try to edit the account in the guacamole interface, I get the following error:

        ERROR - An error has occurred and this action cannot be completed. If the problem persists, please notify your system administrator or check your system logs.

        It seems like the account is being stored within the mysql database. Any thoughts on how to manually clean it up?

        mpeterson0418M Offline
        mpeterson0418M Offline
        mpeterson0418
        wrote on last edited by mpeterson0418
        #11

        Hi @girish & @fbartels

        I got the external authentication working. Thanks a bunch!

        Any thoughts on the lingering user account that I can't remove from Apache Guacamole? Is it stored somewhere within mysql and perhaps something I can edit manually to remove? The user interface keeps giving me the error I referenced earlier:

        ERROR - An error has occurred and this action cannot be completed. If the problem persists, please notify your system administrator or check your system logs.

        girishG 1 Reply Last reply
        0
        • mpeterson0418M mpeterson0418

          Hi @girish & @fbartels

          I got the external authentication working. Thanks a bunch!

          Any thoughts on the lingering user account that I can't remove from Apache Guacamole? Is it stored somewhere within mysql and perhaps something I can edit manually to remove? The user interface keeps giving me the error I referenced earlier:

          ERROR - An error has occurred and this action cannot be completed. If the problem persists, please notify your system administrator or check your system logs.

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by girish
          #12

          @mpeterson0418 Did you succeed via Cloudron external directory or directly from guacamole to your LDAP ?

          As for the lingering user, maybe trying delete from MySQL. If you open web terminal, there is a button on the top for MySQL access. Click that button and press enter. Might want to take an app backup before tinkering with db directly...

          mpeterson0418M 1 Reply Last reply
          0
          • girishG girish

            @mpeterson0418 Did you succeed via Cloudron external directory or directly from guacamole to your LDAP ?

            As for the lingering user, maybe trying delete from MySQL. If you open web terminal, there is a button on the top for MySQL access. Click that button and press enter. Might want to take an app backup before tinkering with db directly...

            mpeterson0418M Offline
            mpeterson0418M Offline
            mpeterson0418
            wrote on last edited by
            #13

            @girish

            Yes I got the external directory setup and it is pulling in my AD user accounts so we are good there

            As for MySQL..... is there a specific location/table on where I can access the database user accounts? Or is everything entered via UserMappings.xml?

            girishG mpeterson0418M 2 Replies Last reply
            0
            • mpeterson0418M mpeterson0418

              @girish

              Yes I got the external directory setup and it is pulling in my AD user accounts so we are good there

              As for MySQL..... is there a specific location/table on where I can access the database user accounts? Or is everything entered via UserMappings.xml?

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #14

              @mpeterson0418 unfortunately, that part I have no idea since that is very app specific. Maybe you just simply start afresh / re-install. That's probably easier than fixing up db tables by hand since we have no idea about the effect.

              1 Reply Last reply
              0
              • mpeterson0418M mpeterson0418

                @girish

                Yes I got the external directory setup and it is pulling in my AD user accounts so we are good there

                As for MySQL..... is there a specific location/table on where I can access the database user accounts? Or is everything entered via UserMappings.xml?

                mpeterson0418M Offline
                mpeterson0418M Offline
                mpeterson0418
                wrote on last edited by
                #15

                @girish

                Hey sorry.... just a quick update I found the MySQL table and was able to edit it as needed. Issue got cleared up after running a couple queries. Thanks for your help!

                1 Reply Last reply
                1
                • mpeterson0418M Offline
                  mpeterson0418M Offline
                  mpeterson0418
                  wrote on last edited by
                  #16

                  Hey guys,

                  Was wondering if we could potentially revisit this topic? I'm having a weird problem where my guacamole server is defaulting to mysql authentication even after getting my LDAP config setup and syncing

                  I've been able to successfully test a login using an AD account from my environment.... however when trying to authenticate with guacamole, it keeps failing and showing a denial from mysql authentication

                  Can anyone help?

                  1 Reply Last reply
                  0
                  • jamesJ Offline
                    jamesJ Offline
                    james
                    Staff
                    wrote on last edited by
                    #17

                    Hello @mpeterson0418
                    You will need to provide more details.

                    From the moment you are trying to log in with LDAP gather the following:

                    • guacamole configuration
                    • Cloudron App Logs
                    • Web browser console logs
                    • Web browser network logs

                    Also, did you follow the documentation https://guacamole.apache.org/doc/gug/ldap-auth.html ?

                    With this information it might be possible to provide assistance.

                    1 Reply Last reply
                    0
                    • mpeterson0418M Offline
                      mpeterson0418M Offline
                      mpeterson0418
                      wrote on last edited by
                      #18

                      Hey James,

                      I've actually got a handle on this for the most part. One odd thing I am observing here though is - there's no easy way to just log out using OpenID without it forcefully just logging back into the Guacamole application. Is there some way that I can just have the session hold up back at the login screen after a successful logout until I enter credentials again?

                      jamesJ 1 Reply Last reply
                      0
                      • mpeterson0418M mpeterson0418

                        Hey James,

                        I've actually got a handle on this for the most part. One odd thing I am observing here though is - there's no easy way to just log out using OpenID without it forcefully just logging back into the Guacamole application. Is there some way that I can just have the session hold up back at the login screen after a successful logout until I enter credentials again?

                        jamesJ Offline
                        jamesJ Offline
                        james
                        Staff
                        wrote on last edited by
                        #19

                        Hello @mpeterson0418

                        @mpeterson0418 said:

                        I've actually got a handle on this for the most part.

                        It would be good to share your findings here so other people who want to set up LDAP find your topic.

                        @mpeterson0418 said:

                        One odd thing I am observing here though is - there's no easy way to just log out using OpenID without it forcefully just logging back into the Guacamole application. Is there some way that I can just have the session hold up back at the login screen after a successful logout until I enter credentials again?

                        OpenID? I thought you are configuring LDAP?
                        But no, I don't have an idea how to solve this behaviour right now.

                        1 Reply Last reply
                        0
                        • mpeterson0418M Offline
                          mpeterson0418M Offline
                          mpeterson0418
                          wrote on last edited by
                          #20

                          Hey James,

                          Sorry been a bit busy here - but per your comment I can def share some insights. I went into the main cloudron dashboard, and navigated to Users > LDAP to configure my internal AD config (Dashed out some sensitive info for security)

                          48d9bf82-9176-460d-8cd3-bbc4cc5f647a-image.jpeg

                          After the data began syncing properly, I manually went into my container and adjusted the authentication protocol to utilize OpenID instead of MySQL auth by adding the highlighted entity -

                          13d291db-2501-4a5e-9fe6-c9c6c0f36d6f-image.jpeg

                          All seems to be working out, outside of the one tidbit I mentioned previously. But it's manageable for now and my users are having no issues logging in and accessing resources using their AD credentials

                          1 Reply Last reply
                          1

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Bookmarks
                          • Search