Title: RE: Is it possible to split authentication and authorization requ ests based on NAS IP?

Alan,

I realize how aggravating this must be, but I guess I'm getting confused as to where you say create two instances of the SQL module.

I modeled my radiusd.conf after your example Autz-Type webpage located at:

http://www.freeradius.org/radiusd/doc/Autz-Type

So my radiusd.conf authorize section looks like this:

authorize {
        preprocess
          files
        autztype sql1 {
            sql1
        }
        autztype sql2 {
            sql2
        }
}

When I run radiusd -X it generates the following error message:

/usr/local/etc/raddb/users[148]: Parse error (check) for entry DEFAULT: Unknown value sql1 for attribute Autz-Type

I setup my users file exactly as instructed. If I change the precedence to load the files entry after, looking like this:

authorize {
        preprocess
          autztype sql1 {
            sql1
        }
        autztype sql2 {
            sql2
        }
          files
}

I get the following...ERROR: Cannot find a configuration entry for module "sql1"

Cordially,
 
Chris DeRamus
OCIO VPN Administrator
Verizon
301-903-2093

-----Original Message-----
From: Alan DeKok [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 03, 2003 9:54 AM
To: [EMAIL PROTECTED]
Subject: Re: Is it possible to split authentication and authorization requ ests based on NAS IP?

"Deramus, Chris" <[EMAIL PROTECTED]> wrote:
> Thanks, I sort of get what you are saying. But where do I define which
> sql.conf file to look in?

  radiusd.conf?  Is it really that hard to find out which file
references sql.conf?

>  I assume that I would want sql1 for example to
> point to sql.conf and sql2 to point to sql2.conf or however I choose to set
> it up. I defined sql1 and sql2 in my radiusd.conf section and it made the
> application error out. I assume I have to define this elsewhere, any
> suggestions?

  Read sql.conf.  It's just a definition for an SQL module.  You can
create two instances of the SQL module by using standard methods.

  Alan DeKok.

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

Reply via email to