Trouble with SQLPasswordAuth

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

 



How to generate password digest stored in MySQL database?

When I authenticate into the gatekeeper, the gatekeeper trace shows:

2004/06/26 12:11:07.428 2             RasSrv.cxx(2334)  GK      Send 
admissionReject to 10.0.0.81:4464
2004/06/26 12:11:10.440 2             RasSrv.cxx(2392)  GK      Read from 
10.0.0.81:4464
2004/06/26 12:11:10.440 2             RasSrv.cxx(2407)  GK      Received 
registrationRequest
2004/06/26 12:11:10.440 1             RasSrv.cxx(1002)  GK      RRQ Received
2004/06/26 12:11:10.441 1           h235auth.cxx(525)   H235RAS 
H235AuthSimpleMD5 digest does not match.
2004/06/26 12:11:10.441 2             gkauth.cxx(448)   GkAuth  
SQLPasswordAuth check failed

I use GnuGK 2.0.8, OpenH323 1.13.4 and PWLib 1.6.5

I've got the following configuration in my gatekeeper.ini:

--------
[Gatekeeper::Auth]
SQLPasswordAuth=optional;RRQ
SQLAliasAuth=required;RRQ

[SQLPasswordAuth]
Driver=MySQL
Host=localhost
Database=communicator
Username=gnugk
CacheTimeout=0
Query=SELECT h235password FROM users WHERE alias = '%1' AND active = '1'

[SQLAliasAuth]
Driver=MySQL
Host=localhost
Database=communicator
Username=gnugk
CacheTimeout=0
Query=SELECT authcond FROM users WHERE alias = '%1' AND active = '1'
------------

Regards
Jacek Sztajnke


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

_______________________________________________________

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