RE: MySQLAliasAuth gnugk version 2.0.7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lets assume you have a basic understanding of the MySQL , i will give you some guidelines. This process is not that difficult once you know what you are doing.

Assumption:
- Terminals are sending their H323 ID

--- Process ----
Database:
- Create a simple table in your database with 3 fields, lets call the table "authtable"
1. H323ID - varchar(15)
2. IPField - varchar(40)


- Insert a row in the database for a user, lets say there is a user coming with H323ID 'saad' and you want him to allow it from 192.168.1.6 then insert a query like this
insert into authtable values('saad' , 'sigip:192.168.1.6:1720');


Configuration File:
- Now in your configuration file specify
[Gatekeeper::Auth]
MySQLAliasAuth=sufficient;RRQ,ARQ

[MySQLAliasAuth]
Host= <host_name>
Database=<database_name>
User=<db_user_id>
Password=<db_user_password>
Table=authtable
IDField=H323ID
PasswordField=IPField

Thats all there is. Reload your config and this user will only be allowed from this IP.

Regards
-Saad Faisal

From: "Pritpal Bhogal" <pritpalbhogal@xxxxxxxxxxx>

I have recently compiled and installed gnugk 2.0.7 with mysql and radius.

I want to configure it using mysqlauth / mysqlaliasauth.
How can I confiugre it to use only IP address of endpoint to authenticate and authorize to make calls. does any one have a database schema and config file to help to see how my configs should look for mysql and gatekeeper.ini.


thanks in advance for your help..

Pal

_________________________________________________________________
Limited-time offer: Fast, reliable MSN 9 Dial-up Internet access FREE for 2 months! http://join.msn.com/?page=dept/dialup&pgmarket=en-us&ST=1/go/onm00200361ave/direct/01/




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux