You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Kamal Ezzaki <ka...@gmail.com> on 2019/02/20 16:51:33 UTC

Guacamole AND FreeRadius ( Probleme with Users data )

Hello I have a problème after i installed guacamole and freeradius for
authentification, i can't figure out how to store users data like
connections and permissions . guacamole work fine with freeradius, the
authentification passes but there is no connections no data stored .

Can Someone  Help me Please

-- 

*EZZAKI Kamal*
*Élève** ingénieur en **Administration Réseaux et **Systèmes* *à l'ENSEM*

Re: Guacamole AND FreeRadius ( Probleme with Users data )

Posted by Kamal Ezzaki <ka...@gmail.com>.
OOOOOOOOh I get it now , the concept is to create a new user in guacamole
interface *without* *password* . this stop him from connection by usingg
jdbc , and after this you create a user with the same identity in radius .
and by this way you make sure that guacamole go to radius for
authentification and you jdbc for Users Data . Thank you very much For your
Help People and if anyone have a question I m ready to answer



*EZZAKI Kamal*

Re: Guacamole AND FreeRadius ( Probleme with Users data )

Posted by Kamal Ezzaki <ka...@gmail.com>.
>
> Yes i tried it and it's work, i change the name of radius module so that
> it's loaded first and Guacamole check in radius server first than go back
> to jdbc but the problème is how to not go back to jdbc and check only
> radius if the user existe than go to jdbc for users data ( permission ,
> connections ).
> I didn't undertand how to do this ( and then create connections and assign
> permissions in the JDBC module.)
>
>
>

-- 

*EZZAKI Kamal*
*Élève** ingénieur en **Administration Réseaux et **Systèmes* *à l'ENSEM*
*Tél : +212 6 81 78 28 64*
*Email : kamalezzaki1@gmail.com <ka...@gmail.com>*

Re: Guacamole AND FreeRadius ( Probleme with Users data )

Posted by Nick Couchman <vn...@apache.org>.
On Wed, Feb 20, 2019 at 12:03 PM Kamal Ezzaki <ka...@gmail.com>
wrote:

> This is My guacamole.properietes file
> # MySQL properties
> #mysql-hostname: localhost
> #mysql-port: 3306
> #mysql-database: guacamole_db
> #mysql-username: guacamole_user
> #mysql-password: passroot
> # Radius properties
> radius-hostname: 192.168.132.132
> radius-shared-secret: guacrad
> radius-auth-protocol: pap
> mysql-hostname: localhost
> mysql-port: 3306
> mysql-database: guacamole_db
> mysql-username: guacamole_user
> mysql-password: ******
>
>
> And I think that the real question is how can i configure guacamole to see
> if the user existe in radius than go back to mysql
>

I'm not sure if this is related to the other conversation on the list, but
as was suggested on the other thread you might try renaming the modules
such that RADIUS is loaded and evaluated, first, and then create
connections and assign permissions in the JDBC module.

Please note that the RADIUS module does not really have any User Group
support at the moment, so based on the way that 1.0.0 handles group
membership and permissions you will not be able to assign permissions to
JDBC groups and have those permissions apply to users who log in with
RADIUS.  This will likely get addressed in the future, but that's how it
works in 1.0.0.

-Nick

Re: Guacamole AND FreeRadius ( Probleme with Users data )

Posted by Kamal Ezzaki <ka...@gmail.com>.
This is My guacamole.properietes file
# MySQL properties
#mysql-hostname: localhost
#mysql-port: 3306
#mysql-database: guacamole_db
#mysql-username: guacamole_user
#mysql-password: passroot
# Radius properties
radius-hostname: 192.168.132.132
radius-shared-secret: guacrad
radius-auth-protocol: pap
mysql-hostname: localhost
mysql-port: 3306
mysql-database: guacamole_db
mysql-username: guacamole_user
mysql-password: ******


And I think that the real question is how can i configure guacamole to see
if the user existe in radius than go back to mysql

Le mer. 20 févr. 2019 à 17:51, Kamal Ezzaki <ka...@gmail.com> a
écrit :

> Hello I have a problème after i installed guacamole and freeradius for
> authentification, i can't figure out how to store users data like
> connections and permissions . guacamole work fine with freeradius, the
> authentification passes but there is no connections no data stored .
>
> Can Someone  Help me Please
>
> --
>
> *EZZAKI Kamal*
> *Élève** ingénieur en **Administration Réseaux et **Systèmes* *à l'ENSEM*
>
>

-- 

*EZZAKI Kamal*
*Élève** ingénieur en **Administration Réseaux et **Systèmes* *à l'ENSEM*
*Tél : +212 6 81 78 28 64*
*Email : kamalezzaki1@gmail.com <ka...@gmail.com>*