Thanks Alan,

Yes, I restarted the server with auth_log options and now I can see the
entries in radius.log now.

Basically I am doing following with test.sh ( I just modifed the script now
to work with database- earlier was just sending 0 or 1 as returning simply
to test). I am trying to authenticate VoIP users according to CLI and their
IP address using 2 parameters in Authentication request package. I use these
values through enviromental variables %{h323-remote-address} and
%{Calling-Station-Id} and give to my test.sh script, which checks the
entries in database for matching pair for CLI and IP address and if cound,
it returns value 0 to radius, and radius sends Access-Accept to Cisco and
Cisco provides service to the users.

When I run radiusd with -X debug mode, I can see all the processes and see
Radius is sending  Access-Accept  to Cisco and call goes through without
problem. Means my radius setting is fine, as well as Exec-Program-Wait is
doing its job.

But when I start radius with init scripts, the call does not go through,
though now I can see Login OK in the radius.log file. I could not
understand why this time call does not go through. Bit confused why it only
it works Debugging mode.

Any idea about this.

Thanks
MP


----- Original Message ----- 
From: "Alan DeKok" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 04, 2003 7:11 PM
Subject: Re: Starting Freeradius with init script


> "Manohar Pradhan" <[EMAIL PROTECTED]> wrote:
> > When I start the server with radiusd -X, calls go through for anyuser
> > being analysed by test.sh as well as for test1 users with password
> > test1.
>
>   OK...
>
> > However when I start using supplied rc.radiusd  or rc.radiusd-redhat, it
> > does not work for all other users except test1, neither I see any
> > messages in Logfile radius.log.
>
>   Read 'radiusd.conf', and look for the 'log_auth' configuration
> entries.  Set them to 'yes', and re-start the server.
>
>   Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to