Disable mysql dbm during freeradius installation
Hi I am installing Freeradius and for my scenario i just need to authenticate from local files and there is no need for DBM or mysql or anything. how do i disable them during installation of freeradius. I tried using --disable-rlm-dbm and similar but it din't work out. How do i disable them from installing? Awaiting any help! Many thanks. Thanks and regards R.Vasanth Ragavendran.
Vasanth Ragavendran wrote:
I am installing Freeradius and for my scenario i just need to authenticate from local files and there is no need for DBM or mysql or anything. how do i disable them during installation of freeradius. I tried using --disable-rlm-dbm and similar but it din't work out. How do i disable them from installing? Awaiting any help! Many thanks.
Why does it matter? They take up ~10K of disk space, and aren't loaded by the server. Alan DeKok.
On 07/27/2011 07:42 AM, Vasanth Ragavendran wrote:
Hi
I am installing Freeradius and for my scenario i just need to authenticate from local files and there is no need for DBM or mysql or anything. how do i disable them during installation of freeradius. I tried using --disable-rlm-dbm and similar but it din't work out. How do i disable them from installing? Awaiting any help! Many thanks.
Try --without-<mod_name> where <mod_name> is a module name, e.g. --without-rlm-dbm This has to be done at the configure step, then build and install again. Hint, often these kind of questions can be answered by taking a peek at the configure.in file in the appropriate directory. For example src/modules/rlm_dbm/configure.in has: if test x$with_[]modname != xno; then The --with-XXX and --without-XXX are standard autotools idioms. -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
Thank you so much sir! On Wed, Jul 27, 2011 at 9:01 PM, John Dennis <jdennis@redhat.com> wrote:
On 07/27/2011 07:42 AM, Vasanth Ragavendran wrote:
Hi
I am installing Freeradius and for my scenario i just need to authenticate from local files and there is no need for DBM or mysql or anything. how do i disable them during installation of freeradius. I tried using --disable-rlm-dbm and similar but it din't work out. How do i disable them from installing? Awaiting any help! Many thanks.
Try --without-<mod_name> where <mod_name> is a module name, e.g. --without-rlm-dbm
This has to be done at the configure step, then build and install again.
Hint, often these kind of questions can be answered by taking a peek at the configure.in file in the appropriate directory. For example src/modules/rlm_dbm/configure.**in <http://configure.in> has:
if test x$with_[]modname != xno; then
The --with-XXX and --without-XXX are standard autotools idioms.
-- John Dennis <jdennis@redhat.com>
Looking to carve out IT costs? www.redhat.com/carveoutcosts/
Hi,
Hi I am installing Freeradius and for my scenario i just need to authenticate from local files and there is no need for DBM or mysql or anything. how do i disable them during installation of freeradius. I tried using --disable-rlm-dbm and similar but it din't work out. How do i disable them from installing? Awaiting any help! Many thanks.
you could go the way Alan says - why bother? the code compiled is minimal in size and isnt used if its not in the config (its all modular) - size only matters if using eg embedded device ..or use the --without-xxx where xxx is the feature. OR simply dont have the development libraries and headers for MySQL, DBM etc on your compilation server. autoconf will understand that it cant compile that stuff and not bother. alan
participants (4)
-
Alan Buxey -
Alan DeKok -
John Dennis -
Vasanth Ragavendran