1 "Duane Cox" <duanec@mail.illicom.net> says:
5 If you are running freeradius as other than root.root, make sure that
6 this user or group can read /etc/odbc/
10 rm -fr unixODBC-2.2.11
11 tar -zxvf unixODBC-2.2.11.tar.gz &&
13 sed -i "s/void yyerror/#define YY_FLUSH_BUFFER\n\n&/" sqp/lex.l &&
14 ./configure --prefix=/usr --libexecdir=/usr/sbin --localstatedir=/var --sysconfdir=/etc/odbc --enable-ltdllib --with-gnu-ld --disa
18 find doc -name "Makefile*" -exec rm {} \; &&
19 chmod 644 doc/{lst,ProgrammerManual/Tutorial}/* &&
20 install -v -m755 -d /usr/share/doc/unixODBC-2.2.11 &&
21 cp -v -R doc/* /usr/share/doc/unixODBC-2.2.11 &&
22 rmdir /etc/odbc/ODBCDataSources &&
23 chown -fR root.odbc /etc/odbc &&
24 chmod 750 /etc/odbc &&
29 tar -zxvf freetds-0.63.tar.gz &&
31 ./configure --prefix=/usr --libexecdir=/usr/sbin --localstatedir=/var --sysconfdir=/etc --with-unixodbc=/usr/lib --disable-apps &&
34 rm -f /etc/{freetds,locales}.conf
37 rm -fr freeradius-1.0.5 &&
38 tar -zxvf freeradius-1.0.5.tar.gz &&
39 cd freeradius-1.0.5 &&
40 patch -Np1 -i ../freeradius-1.0.5-stdout_log-1.patch &&
41 ./configure --prefix=/usr --libexecdir=/usr/sbin --localstatedir=/var --sysconfdir=/etc --with-raddbdir=/srv/radiusd --with-logdir
42 =/var/log --with-radacctdir=/srv/radiusd/acct --with-gnu-ld --without-rlm_x99_token &&
48 description = FreeRADIUS ODBC for MSSQL 7.0
50 server = mssql.yourdomain.com
58 description = FreeTDS driver for MSSQL
59 driver = /usr/lib/libtdsodbc.so
60 setup = /usr/lib/libtdsS.so
63 cat /srv/radiusd/mssql.conf
65 driver = "rlm_sql_unixodbc"
69 password = "mypassword"
71 radius_db = "mydatabase"
73 acct_table1 = "radacct"
74 acct_table2 = "radacct"
76 authcheck_table = "radcheck"
77 authreply_table = "radreply"