Re: RRQAuth working fine when alone - suggestion

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

 



>When we put a # in the gatekeeper.ini file like:-
>
>[Gatekeeper::Auth]
>#SQLPasswordAuth=optional;RRQ
>#SQLAliasAuth=required;RRQ,ARQ
>
>In the log file we get:-
>
>2004/04/11 14:12:24.922 1       gkauth.cxx(2323) GkAuth Unknown auth
>#SQLAliasAuth, ignore!
>2004/04/11 14:12:24.922 1       gkauth.cxx(2323) GkAuth Unknown auth
>#SQLPasswordAuth, ignore!
>
>As # is a comment character, the said lines should not have been considered at
>all!
>Hope changes in the code reflecting this point will lead to faster
>processing.

It's ok - the modules are just not created - it does not affect runtime speed at all.
This is just how the config implementation works. You can put an empty line,
to prevent this warning:

[Gatekeeper::Auth]

#SQLPasswordAuth=optional;RRQ
#SQLAliasAuth=required;RRQ,ARQ


>Hence in the current instance we see that AliasAuth is working well in the
>current release.
>
>It would be nice if:-
>In Toolkit.cxx why not [RasSrv::RRQAuth] be appended to, from the SQLConfig
>section as another Query and make a bit of code for it as:-
>
>query = m_Config->GetString("SQLConfig", "SimplePasswordAuthQuery", "");
>query = m_Config->GetString("SQLConfig", "AliasAuthQuery", "");

You already have SQLAliasAuth, SQLPasswordAuth, MySQLAliasAuth and MySQLPasswordAuth
modules for this purpose.



-------------------------------------------------------
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