On Sun, 5 Jan 2003, Wisam Najim wrote:

> Hi All,
>
> I am using Autz-Type to select between different sql instances (sql1 and
> sql2). I have tried to follow the example in the Autz-Type document where
> the files module is loaded before defining the "autztype" in "radiusd.conf"
> file. I have done the following:
>
> authorize {
>         files
>         autztype SQLDNIS{
>                 sql1
>         }
>         autztype SQLDOMAIN{
>                 suffix
>                 sql2
>         }
> }
>
> Once starting the radius I got the following errors:
>
>
> Error: /usr/local/etc/raddb/users[79]: Parse error (check) for entry
> DEFAULT: Unknown value SQLDNIS for attribute Autz-Type
> Error: Errors reading /usr/local/etc/raddb/users
> Error: radiusd.conf[814]: files: Module instantiation failed.
>
> If I change the modules order things seems to work fine though it is
> different from the example in the documentation. The order I use is:
>
> authorize {
>         autztype SQLDNIS{
>                 sql1
>         }
>         autztype SQLDOMAIN{
>                 suffix
>                 sql2
>         }
>       files
> }
>
>
> I want to know if what I'm doing is okay. Otherwise, I would appreciate if
> someone can tell me how to use "Autz-Type" properly.

Yes, there is a bug in the Autz-Type file. You are using it just fine. The bug
has been fixed in the cvs head.

--
Kostas Kalevras         Network Operations Center
[EMAIL PROTECTED]      National Technical University of Athens, Greece
Work Phone:             +30 210 7721861
'Go back to the shadow' Gandalf

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

Reply via email to