Hello Dean -

On Mon, 19 Jun 2000, Dean Brandt wrote:
> Hi Guys,
> 
>       I am still getting this error in my logs when attempting to use
> authbydynaddress:
> 
> Jun 19 10:36:57 contender ./radiusd[24050]: Handling with
> Radius::AuthRADIUS 
> Jun 19 10:36:57 contender ./radiusd[24050]: Handling with
> Radius::AuthDYNADDRESS 
> Jun 19 10:36:57 contender ./radiusd[24050]: do query is: update RADPOOL
> set STATE=0, TIME_STAMP=961375017 where YIADDR='' 
> 
>       My cfg looks like this:
> 
> <AddressAllocator SQL>
>          Identifier xxx
> 
>          DBSource        dbi:mysql:radius
>          DBUsername      root
>          DBAuth          radiator
> 
>          <AddressPool pool1>
>                  Subnetmask      255.255.255.0
>                  Range   203.44.90.130 203.44.90.134
>          </AddressPool>
>          </AddressAllocator>
> 
> 
> <Realm xxx.net.au>
>         RewriteUsername s/^([^@]+).*/$1/
>         <AuthBy RADIUS>
>                 Host xxx.xxx.xxx.xxx
>                 Secret xxxx
>         </AuthBy>
>         AcctLogFileName %L/detail.xxx
> 
>          <AuthBy DYNADDRESS>
>                  Allocator xxx
>                  PoolHint %{Reply:PoolHint}
>                  StripFromReply PoolHint
>         </AuthBy>
> 
> </Realm>
> 
>       See any glaring faults? :)
> 
>       I am getting the PoolHint from the /etc/raddb/users file using:
> 
> username Password = "xxxxxxxx"
>        PoolHint = pool1
> 

I don't quite understand what you are trying to do as your configuration file
above shows an AuthBy RADIUS, and you are talking about a users file with a
PoolHint in it. Can you explain what is supposed to be happening, and provide
us with a complete configuration file (no secrets) together with a complete
extract of the logfile?

BTW - it is entirely possible that the above will not do as you expect in any
case, because the AuthBy RADIUS clause will Fork and return immediately to the
following AuthBy.

hth

Hugh

-- 
Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.



===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to