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.


                                                                                       
         Regards,





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

Reply via email to