pgina / pgina

pGina: Open Source Windows Authentication

Home Page:http://pgina.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PGina <-> Guacamole

alitimer opened this issue · comments

Hi. Is there any way to integrate PGina talking to Apache Guacamole in web-based remote desktop connections?
https://guacamole.apache.org/
https://github.com/apache/guacamole-server

Were you ever able to get this to work? I have ~300 computers on Guac right now and would love to be able to pass user credentials into pgina from guac.

Nope - Guaca can directly talk to Active Directory and no issue if you manage your nodes in Microsoft only environment. My setup is in mixed Unix-Windows environment and pGina is the middle man talking between LDAP and Active Directory (https://www.informit.com/articles/article.aspx?p=330803&seqNum=2). Therefore, Guaca can't communicate with pGina as Windows GINA plugin. So what happens now, user will again enter credential at Windows login page to re-authenticate after logging into Guacamole. Same LDAP database is used here for both pGina and Guacamole authentication.
Please share if you could find any plugin/solution for this.

I would also be very interested in a solution like this. Having the users log in twice is annoying.

solution: pass credential as parameter token in connection setting. So, same credential used for logging into guaca will be passed into pGina.
https://guacamole.apache.org/doc/gug/configuring-guacamole.html#parameter-tokens

Did this work for you? I've tried this and it didn't work for me. What version of pGina are you running? I'm on pgina v3.1.8.0 and Guac v1.3.0

It works but randomly sending guaca credentials to "other user" mode in pgina. Trying to find a way to solve this. Same version: guaca 1.3.0 and pgina 3.1.8.0 stable.
Just put username: ${GUAC_USERNAME} and password: ${GUAC_PASSWORD} in guaca connection setting and it will pass same login credential to pgina to login. ATM, looking for the setting to make LDAP login in pgina default, so it directly logs into windows without further manual authentication.

EDIT CONNECTION
Protocol: RDP

PARAMETERS
Network
Hostname: IP/Domain
Port: 3389
Authentication
Username: ${GUAC_USERNAME}
Password: ${GUAC_PASSWORD}

If it takes you to pGina "other user" mode saying your credential's incorrect, try to login to Windows with ldap credential and disconnect session, then re-try to login by refreshing the page or establishing the connection in guaca home (dashboard) and you'll get through directly with no further manual authentication. Trying to make ldap authentication in pgina default, still no success. Have made pgina default authentication tool as well but no change: https://www.thewindowsclub.com/assign-default-credential-provider-windows-10