logo       

RE: How do I know if SQL module is loaded?: msg#00900

freeradius.user

Subject: RE: How do I know if SQL module is loaded?

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



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise