|
|
RE: How do I know if SQL module is loaded?: msg#00901
freeradius.user
|
Subject: |
RE: How do I know if SQL module is loaded? |
Glad you figured it out on your own........I was going to have to tell you
to look down the barrel..........J.
At 04:17 PM 6/26/03, you wrote:
The file doc/module_interface explains this pretty good.
Sorry for the noises.
-----Original Message-----
From: Alex Chen [mailto:alex_chen@xxxxxxxxxxxxx]
Sent: Thursday, June 26, 2003 4:10 PM
To: 'freeradius-users@xxxxxxxxxxxxxxxx'
Subject: RE: How do I know if SQL module is loaded?
Never mind, I think I got it. It seems that the
modules section defines module attributes and alias and
any sections below that references a module will
cause that module being instantiated and loaded, am I correct?
-----Original Message-----
From: freeradius-users-admin@xxxxxxxxxxxxxxxx
[mailto:freeradius-users-admin@xxxxxxxxxxxxxxxx]On Behalf Of Alex Chen
Sent: Thursday, June 26, 2003 4:03 PM
To: freeradius-users@xxxxxxxxxxxxxxxx
Subject: How do I know if SQL module is loaded?
I am trying to build FreeRadius 0.8.1 to use MySQL DB on RH LINUX 8.0 .
Previously I did not install MySQL header file package so rlm_sql_mysql was
not even built.
After I installed that and did a clean rebuild, that module was built and
put under
/usr/local/lib. But when I started radiusd with the '-X' flag, I still did
not see a message
saying the SQL module was loaded, although the sql was in the modules
section.
The file radiusd.conf has the following entry for SQL:
modules {
pap {...}
chap {...}
pam {...}
unix {...}
....
files {...}
$INCLUDE ${confdir}/sql.conf
...
}
If I added 'sql' in the 'instantiate' section, then the SQL module were
loaded fine.
But there was only two modules, expr and sql, in that section.
What determines which module will be instantiated?
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
John M. Luker
www.flexpop.net
877.562.5128 voice
503.517.8866 voice
503.517.8868 fax
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
|
|