gnugk + mysql

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

 



Hi all,

I have a problem with the registration using mysql
auth.

on the gnugk.ini, I've add for mysql as below

[Gatekeeper::Auth]
MySQLPasswordAuth=optional;RRQ
MySQLAliasAuth=required;RRQ
default=allow

[MySQLAuth]
Host=localhost
Database=gnugk
User=admin
Password=password
Table=client
IDField=ID
PasswordField=Password
ExtraCriterion=Kind > 1

[MySQLAliasAuth]
Host=localhost
Database=gnugk
User=admin
Password=password
Table=client
IDField=ID
IPField=IP_Address
ExtraCriterion=Kind > 1
CacheTimeout=300

When I run the ./gnugk -c ../etc/gnugk.ini -ttt -r

for the mysql part,

there is a 

select IP_Address from client where ID = '%0:id' and 
Kind > 1

waiting for query

select Password from client where ID = '%0:id' and 
Kind > 1

waiting for query

In my mysql database i set

ID        Password        IP Address       Kind
------------------------------------------------
880101     password       192.168.180.2     2

On the client phone, I set the

Alias = 880101
GK Password = password
IP Address = 192.168.180.2

When I try to register,

Gatekeeper registration failed (cause #12).
Please check the network setting.

On the gatekeeper when run the registration

RasSrv.cxx(940)  GK        RRQ Received
gkauth.h       GKAuth    MySQLPasswordAuth check
failed
RasSrv.cxx(1195) RRJ|192.168.180.2|880101:dialed
Digits
                =880101:H323_ID|terminal|securityDenia

                 l

I need help from you all and what is my mistake.

 



__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
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