Re: MySQLAliasAuth

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

 



MySQLAliasAuth requires IPField config variable to be set
and to point to some column in the table, if IPField is missing
the default value "Password" is used. Not a perfect solution,
but IPField should be configured anyway.

IPField should contain AliasAuth rule, like:
    "allow"
or
    "reject" (reject is by default if no alias is found in the database and the authentication module is set as required)
or
    "sigip:195.71.129.69:1720"

look at the documentation (AliasAuth) and example ini files for more details.

----- Original Message ----- 
From: "Saad Faisal" <saad_faisal1976@xxxxxxxxxxx>
Sent: Friday, March 12, 2004 1:05 PM


> Hi to all
> 
> Now i have managed to resolve the problem on my own. Here is what i did
> 
> 1. I created a column in my table by the name "Password" as varchar(50). I 
> dont think size of varchar matters here.
> 
> 2. I placed "allow" or "deny" in the column for every user whose 
> authentication is either allowed or denied.
> 
> 3. Needs to restart the gatekeeper, i dont know why is that it seems that 
> the code seems to cache all the rows so i am not sure what happends if there 
> are 25000 users (as in my case).
> 
> VoaLLLLa works fine for me now.
> 
> -Saad Faisal
> 
> >From: "Saad Faisal" <saad_faisal1976@xxxxxxxxxxx>
> >
> >Hi
> >
> >Sorry about my previous message, i wasnt paying attention to the docs :) . 
> >Actually the MySQLAliasAuth doesnt has any PasswordField section(its 
> >basically in the MySQLAuth). Now another question is
> >
> >How can i use the MySQLAliasAuth section , it seems that it is checking an 
> >unknown Password column. Do i need to create it in my table, because 
> >another close inspection in the code(gkauth.cxx MySQLAuthBase::MySQLInit() 
> >) shows this
> >
> >PString select_clause(PString::Printf,
> > "select %s from %s where %s = '%%0:id'",
> > (const char *)query,
> > (const char *)table,
> > (const char *)alias
> >);
> >
> >the query variable has been set to "Password" in the lines just before this 
> >one. I am a little confuse in this area, so can somebody shed some light on 
> >this issue.
> >
> >-Saad Faisal



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