Hi,

I finally got  everything compiling and work just fine.
You can see the answer I provided to my own question on serverfault.

http://serverfault.com/a/451350/99708

Thank you for the unixodbc-dev dependencies I was missing. 
 I also want to let you know that it has been replaced by libiodbc2-dev but
then you have to 
create a symlink: ln -s /usr/lib/libodbc.so.1 /usr/lib/libodbc.so because it
isn't created when installing the package.

Now I have a freeradius and MSSQL backend working and being tested for a
future production move.

Best.
Dominick


-----Original Message-----
From: freeradius-users-bounces+drivard=datavalet....@lists.freeradius.org
[mailto:freeradius-users-bounces+drivard=datavalet....@lists.freeradius.org]
On Behalf Of Fajar A. Nugraha
Sent: November-13-12 9:58 PM
To: FreeRadius users mailing list
Subject: Re: Debian build the freeradius package with unixodbc support

On Wed, Nov 14, 2012 at 4:22 AM, Dominick Rivard <driv...@datavalet.com>
wrote:
> Here is what I am trying to achieve, we want to install freeradius 
> using a Microsoft SQL backend. I read on the internet that we need to 
> achieve this goal using the unixodbc driver.

That's not the only way.

unixodbc and iodbc are (mostly) driver-compatible.


> This is actually working. But I found out downloading the freeradius 
> tarbal that it can't use the rlm_sql_unixodbc driver, because in the 
> debian/rules file they compile it using the flag:
>
>     --without-rlm_sql_unixodbc


> Do you have any idea of what I am missing to compile it successfully?

Short version? Just run "apt-get install freeradius-iodbc", and configure
iodbc for mysql.

Long version: there are ways you can change the debian recipe to get it to
build odbc module (i.e. one of the requirements is that you need to install
unixodbc-dev first), but it's MUCH easier to just use whatever the distro
provide and support. Debian and Ubuntu has 2.1.12 with backported security
patches, and 2.2.0 is available from my ppa:
https://launchpad.net/~freeradius/+archive/stable.

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


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

Reply via email to