Dear Zygmuntowicz, Thanks. So, does it mean that the only way to authenticate from an External Program is using radius, mysql or postgresql? On Monday 05 April 2004 17:37, Zygmuntowicz Michal wrote: > ExternalPasswordAuth is obsolete and is supported only > under linux when compiled with GCC 2.x. > > ----- Original Message ----- > From: "pesb" <pesb@xxxxxxxxxxxxxxx> > Sent: Monday, April 05, 2004 11:10 PM > > > Hi there, > > I am trying the [ExternalPasswordAuth] Section in the gnugk. I > > have a Planet IP phone that sends a token password along the RRQ, ARQ, > > etc messages. > > The problem is that the gnugk is authorizing all endpoints. > > This is my config file: > > > > ## > > ## My password file > > ## > > > > [Gatekeeper::Main] > > Fourtytwo=42 > > > > [GkStatus::Auth] > > rule=allow > > > > [Gatekeeper::Auth] > > ExternalPasswordAuth=sufficient;RRQ > > default=allow > > > > [ExternalPasswordAuth] > > PasswordProgram=/home/psalinas/h323/password > > > > And, this is the simple c++ program that reads the stdin and writes the > > password to the stdout: > > > > #include <iostream.h> > > #include <stdio.h> > > > > int main() > > { > > char id[100]; > > > > > > if (fgets(id, sizeof(id), stdin)==NULL) > > { > > perror("gets"); > > exit(1); > > } > > > > puts("hello"); > > > > return(0); > > } > > > > When I run the gnugk with the following command line: > > ./gnugk -tt -r -c ../etc/mypassword.ini > > > > I get this output: > > . > > ...<something>... > > . > > 2004/04/02 12:09:12.149 1 RasSrv.cxx(763) RAS Add > > broadcast listener > > 2004/04/02 12:09:12.201 1 gkauth.cxx(198) GkAuth Add > > default rule with flags RAS:ffffffff OTHER:ffffffff > > 2004/04/02 12:09:12.210 1 factory.h(289) Init Can't > > create unknown class ExternalPasswordAuth > > 2004/04/02 12:09:12.222 2 Routing.cxx(421) VQueue (CTI) > > Virtual queues enabled (regex:), request timeout: 10 s > > 2004/04/02 12:09:12.235 2 singleton.cxx(27) Create instance: > > Routing::Analyzer(7) > > 2004/04/02 12:09:12.285 2 job.cxx(93) Worker 4782 is > > hired > > > > What is wrong? I tried changing the password in my Planet phone, but the > > gnugk always accepts it's registrarion. > > > > thanks, > > Pablo Salinas > > ------------------------------------------------------- > 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/ ------------------------------------------------------- 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/