freeradius.git
18 years ago unconditionally #include <sys/un.h> (not required on Solaris, but ok)
fcusack [Wed, 8 Feb 2006 05:11:04 +0000 (05:11 +0000)]
unconditionally #include <sys/un.h> (not required on Solaris, but ok)

18 years ago expandtab
fcusack [Wed, 8 Feb 2006 05:08:50 +0000 (05:08 +0000)]
expandtab

18 years ago Fix ownership of /var/log/freeradius/* more efficiently.
nbk [Sun, 5 Feb 2006 16:57:34 +0000 (16:57 +0000)]
Fix ownership of /var/log/freeradius/* more efficiently.

18 years ago Update dependencies to build on both etch and sarge.
nbk [Sun, 5 Feb 2006 16:57:00 +0000 (16:57 +0000)]
Update dependencies to build on both etch and sarge.

18 years ago Update installation of docs & examples to match new makefiles.
nbk [Sun, 5 Feb 2006 16:56:23 +0000 (16:56 +0000)]
Update installation of docs & examples to match new makefiles.

18 years ago Regenerate from configure.in 1.229 using Autoconf 2.59.
nbk [Sat, 4 Feb 2006 15:09:33 +0000 (15:09 +0000)]
Regenerate from configure.in 1.229 using Autoconf 2.59.

18 years ago Update version number to 2.0.0-pre0, as 1.1.x has its own branch.
nbk [Sat, 4 Feb 2006 15:07:46 +0000 (15:07 +0000)]
Update version number to 2.0.0-pre0, as 1.1.x has its own branch.

18 years ago ${abs_top_builddir} is a variable preset by the Autoconf macros.
nbk [Sat, 4 Feb 2006 15:05:46 +0000 (15:05 +0000)]
${abs_top_builddir} is a variable preset by the Autoconf macros.

18 years ago Use ${srcdir}/... to locate files within the source tree,
nbk [Sat, 4 Feb 2006 15:01:11 +0000 (15:01 +0000)]
Use ${srcdir}/... to locate files within the source tree,
rather than a direct file reference.

Patch from Johnson Earls <johnson.earls@sun.com>

18 years ago The database schema is now at doc/examples/mssql.sql
nbk [Sat, 4 Feb 2006 14:51:15 +0000 (14:51 +0000)]
The database schema is now at doc/examples/mssql.sql

18 years ago The schema is now at doc/examples/mysql.sql
nbk [Sat, 4 Feb 2006 14:10:40 +0000 (14:10 +0000)]
The schema is now at doc/examples/mysql.sql

18 years ago Install the schema examples for a set of backends.
nbk [Sat, 4 Feb 2006 13:45:01 +0000 (13:45 +0000)]
Install the schema examples for a set of backends.

18 years ago Install documentation under ${prefix}/share/doc/freeradius
nbk [Sat, 4 Feb 2006 13:35:05 +0000 (13:35 +0000)]
Install documentation under ${prefix}/share/doc/freeradius

18 years ago Delete this file because it is (1) obviously broken, (2) designed for
nbk [Sat, 4 Feb 2006 13:25:03 +0000 (13:25 +0000)]
Delete this file because it is (1) obviously broken, (2) designed for
an obsolete LDAP server and (3) nobody knows how to fix it.

18 years ago Move doc/ldapv3-iplanet-schema.ldif to doc/examples/iplanet.ldif
nbk [Sat, 4 Feb 2006 13:23:13 +0000 (13:23 +0000)]
Move doc/ldapv3-iplanet-schema.ldif to doc/examples/iplanet.ldif

18 years ago Move doc/RADIUS-LDAP-iPlanet.schema to doc/examples/iplanet.schema
nbk [Sat, 4 Feb 2006 13:21:46 +0000 (13:21 +0000)]
Move doc/RADIUS-LDAP-iPlanet.schema to doc/examples/iplanet.schema

18 years ago Move doc/RADIUS-LDAPv3.schema to doc/examples/openldap.schema
nbk [Sat, 4 Feb 2006 13:12:49 +0000 (13:12 +0000)]
Move doc/RADIUS-LDAPv3.schema to doc/examples/openldap.schema

18 years ago Move src/modules/rlm_sql/drivers/rlm_sql_freetds/db_mssql.sql
nbk [Sat, 4 Feb 2006 13:07:34 +0000 (13:07 +0000)]
Move src/modules/rlm_sql/drivers/rlm_sql_freetds/db_mssql.sql
to doc/examples/mssql.sql

18 years ago Move src/modules/rlm_sql/drivers/rlm_sql_postgresql/db_postgresql.sql
nbk [Sat, 4 Feb 2006 13:04:04 +0000 (13:04 +0000)]
Move src/modules/rlm_sql/drivers/rlm_sql_postgresql/db_postgresql.sql
to doc/examples/postgresql.sql

18 years ago Move src/modules/rlm_sql/drivers/rlm_sql_oracle/db_oracle.sql
nbk [Sat, 4 Feb 2006 13:01:09 +0000 (13:01 +0000)]
Move src/modules/rlm_sql/drivers/rlm_sql_oracle/db_oracle.sql
to doc/examples/oracle.sql

18 years ago Move src/modules/rlm_sql/drivers/rlm_sql_mysql/db_mysql.sql
nbk [Sat, 4 Feb 2006 12:56:16 +0000 (12:56 +0000)]
Move src/modules/rlm_sql/drivers/rlm_sql_mysql/db_mysql.sql
to doc/examples/mysql.sql

18 years ago Minimalist Makefile to build the module.
nbk [Fri, 3 Feb 2006 11:49:18 +0000 (11:49 +0000)]
Minimalist Makefile to build the module.

18 years ago This module doesn't need any autoconf test which is not already in
nbk [Fri, 3 Feb 2006 11:48:46 +0000 (11:48 +0000)]
This module doesn't need any autoconf test which is not already in
top-level configure, therefore don't chew build time for nothing.

18 years ago Regenerate from configure.in using Autoconf 2.59.
nbk [Fri, 3 Feb 2006 11:46:16 +0000 (11:46 +0000)]
Regenerate from configure.in using Autoconf 2.59.

18 years ago Print a message when testing for OpenSSL.
nbk [Fri, 3 Feb 2006 11:44:16 +0000 (11:44 +0000)]
Print a message when testing for OpenSSL.

18 years ago Don't enter any subdirectory when the target is empty. (error from
nbk [Tue, 31 Jan 2006 17:11:07 +0000 (17:11 +0000)]
Don't enter any subdirectory when the target is empty. (error from
my previous commit)

18 years ago CFLAGS += $(OPENSSL_INCLUDE)
nbk [Tue, 31 Jan 2006 17:10:42 +0000 (17:10 +0000)]
CFLAGS += $(OPENSSL_INCLUDE)

18 years ago Don't compile files with SSL content if there is no SSL support.
nbk [Tue, 31 Jan 2006 17:10:10 +0000 (17:10 +0000)]
Don't compile files with SSL content if there is no SSL support.

18 years ago Fix the tests for OpenSSL: the macros FR_SMART_CHECK_{LIB,INCLUDE}
nbk [Tue, 31 Jan 2006 17:09:43 +0000 (17:09 +0000)]
Fix the tests for OpenSSL: the macros FR_SMART_CHECK_{LIB,INCLUDE}
look into a number of directories, therefore the -L -I parameters
could be different from the user-supplied value.

18 years ago Don't increment num_elements too often
aland [Mon, 30 Jan 2006 22:06:10 +0000 (22:06 +0000)]
Don't increment num_elements too often

18 years ago Update warning message
aland [Mon, 30 Jan 2006 19:16:10 +0000 (19:16 +0000)]
Update warning message

18 years ago Make the schema more consistent with RFC 2865.
nbk [Sun, 29 Jan 2006 16:52:49 +0000 (16:52 +0000)]
Make the schema more consistent with RFC 2865.

These attributes can be multiple-valued:
- radiusFilterId
- radiusFramedAppleTalkNetwork
- radiusFramedCompression
- radiusLoginIPHost

And this one is single-valued:
- radiusNASIpAddress

Thanks to Markus Krause <krause@biochem.mpg.de>

18 years ago Fix typos.
nbk [Sat, 28 Jan 2006 11:56:28 +0000 (11:56 +0000)]
Fix typos.

18 years ago Added notes on Active Directory
aland [Fri, 27 Jan 2006 17:30:40 +0000 (17:30 +0000)]
Added notes on Active Directory

18 years ago As posted to the list
aland [Thu, 26 Jan 2006 22:18:20 +0000 (22:18 +0000)]
As posted to the list

18 years ago Pull rad_verify() out of rad_decode(), and update the callers
aland [Wed, 25 Jan 2006 22:14:50 +0000 (22:14 +0000)]
Pull rad_verify() out of rad_decode(), and update the callers
of rad_decode() to now call rad_verify(), too.

This removes a bunch of duplicate code from radsniff

18 years ago Use $(LDFLAGS) and $(RLM_LDFLAGS) when linking the stand-alone
nbk [Wed, 25 Jan 2006 18:52:42 +0000 (18:52 +0000)]
Use $(LDFLAGS) and $(RLM_LDFLAGS) when linking the stand-alone
utilities, too. (closes: #323)

Bug reported by Johnson Earls <johnson.earls@sun.com>

18 years ago Undelete lines which were needed to build a static binary.
nbk [Wed, 25 Jan 2006 18:05:07 +0000 (18:05 +0000)]
Undelete lines which were needed to build a static binary.

18 years ago Moved copied code in radsniff.c to rad_packet_ok()
aland [Tue, 24 Jan 2006 23:04:06 +0000 (23:04 +0000)]
Moved copied code in radsniff.c to rad_packet_ok()

Made rad_recv() call rad_packet_ok()

Updated radsniff to use more "const".

Updated radsniff to accept "-d dictionary_dir"

18 years ago Don't make radiusd depend on $(MODULE_LIBS), that is a macro
aland [Tue, 24 Jan 2006 22:46:41 +0000 (22:46 +0000)]
Don't make radiusd depend on $(MODULE_LIBS), that is a macro
which is passed to libtool, and may include things like "-dlpreopen"

18 years ago Be a little more paranoid about checking packet codes
aland [Tue, 24 Jan 2006 18:13:48 +0000 (18:13 +0000)]
Be a little more paranoid about checking packet codes

18 years ago Install stand-alone binaries with libtool, too.
nbk [Mon, 23 Jan 2006 10:38:19 +0000 (10:38 +0000)]
Install stand-alone binaries with libtool, too.

18 years ago "make clean" must delete lib/*.o files, too.
nbk [Mon, 23 Jan 2006 10:34:32 +0000 (10:34 +0000)]
"make clean" must delete lib/*.o files, too.

18 years ago Minimalist Makefile to build the module.
nbk [Mon, 23 Jan 2006 10:31:14 +0000 (10:31 +0000)]
Minimalist Makefile to build the module.

18 years ago This module doesn't need any autoconf test which is not already in
nbk [Mon, 23 Jan 2006 10:30:22 +0000 (10:30 +0000)]
This module doesn't need any autoconf test which is not already in
top-level configure, therefore don't chew build time for nothing.

18 years ago libeap is a shared library, not a module, therefore it's probably
nbk [Sun, 22 Jan 2006 21:48:30 +0000 (21:48 +0000)]
libeap is a shared library, not a module, therefore it's probably
better not to include ../../rules.mak

18 years ago Be a little more libtool-friendly and always use .lo and .la files.
nbk [Sun, 22 Jan 2006 21:47:31 +0000 (21:47 +0000)]
 Be a little more libtool-friendly and always use .lo and .la files.

18 years ago Wipe out last vestiges of static/dynamic rules.
nbk [Sun, 22 Jan 2006 21:46:35 +0000 (21:46 +0000)]
Wipe out last vestiges of static/dynamic rules.

18 years ago Be a little more libtool-friendly and always use .lo and .la files.
nbk [Sat, 21 Jan 2006 17:44:02 +0000 (17:44 +0000)]
Be a little more libtool-friendly and always use .lo and .la files.

18 years ago We don't need to link the libradius with -lcrypt anymore since
nbk [Sat, 21 Jan 2006 17:37:07 +0000 (17:37 +0000)]
We don't need to link the libradius with -lcrypt anymore since
crypt.c moved to src/main.

18 years ago Build radsniff, too.
nbk [Fri, 20 Jan 2006 10:18:06 +0000 (10:18 +0000)]
Build radsniff, too.

18 years ago Check for pcap library and pcap includes.
nbk [Fri, 20 Jan 2006 10:15:01 +0000 (10:15 +0000)]
Check for pcap library and pcap includes.

18 years ago Structures and defines for the RADIUS sniffer.
nbk [Fri, 20 Jan 2006 10:00:08 +0000 (10:00 +0000)]
Structures and defines for the RADIUS sniffer.

18 years ago This is a debug tool to display the RADIUS traffic on the
nbk [Fri, 20 Jan 2006 09:59:34 +0000 (09:59 +0000)]
This is a debug tool to display the RADIUS traffic on the
network. It prints the RADIUS packets exactly like running
"radiusd -X". It can also filter the packets based on any
RADIUS attributes: the sniffer accepts the same strings as
the "users" file to match a packet.

18 years ago Reorder the list of directories to be searched for header files.
nbk [Tue, 17 Jan 2006 22:27:46 +0000 (22:27 +0000)]
Reorder the list of directories to be searched for header files.

18 years ago Some simplifications and reformatting.
nbk [Tue, 17 Jan 2006 22:27:14 +0000 (22:27 +0000)]
Some simplifications and reformatting.

18 years ago Simplify the path of a few filenames.
nbk [Tue, 17 Jan 2006 22:26:42 +0000 (22:26 +0000)]
Simplify the path of a few filenames.

18 years ago Fix a typo in dict_valbyname()
nbk [Mon, 16 Jan 2006 10:21:27 +0000 (10:21 +0000)]
Fix a typo in dict_valbyname()

Thanks to Razvan Radu.

18 years ago Add/update the downstream files from Suse.
nbk [Sun, 15 Jan 2006 17:37:53 +0000 (17:37 +0000)]
Add/update the downstream files from Suse.

Thanks to Wolfgang Rosenauer <stark@suse.de>

18 years ago Add/update the downstream files from Suse.
nbk [Sun, 15 Jan 2006 16:05:34 +0000 (16:05 +0000)]
Add/update the downstream files from Suse.

Thanks to Wolfgang Rosenauer <stark@suse.de>

18 years ago Fix a SEGV in back-quote expansion.
nbk [Thu, 12 Jan 2006 14:19:34 +0000 (14:19 +0000)]
Fix a SEGV in back-quote expansion.

Problem found by Markus Krause <krause@biochem.mpg.de>

18 years ago Fix a build problem on Mac OS X. (closes: #310)
nbk [Wed, 11 Jan 2006 15:50:02 +0000 (15:50 +0000)]
Fix a build problem on Mac OS X. (closes: #310)

Bug reported by Steven Simon <simon.s@apple.com>

18 years ago Fix build problems on Mac OS X.
nbk [Tue, 10 Jan 2006 14:33:06 +0000 (14:33 +0000)]
Fix build problems on Mac OS X.

Patch from Steven Simon <simon.s@apple.com>

18 years ago Fix a build problem on Mac OS X (thanks to Steven Simon)
nbk [Tue, 10 Jan 2006 11:46:19 +0000 (11:46 +0000)]
Fix a build problem on Mac OS X (thanks to Steven Simon)
and a few compilation warnings.

18 years ago Don't de-reference NULL points on dict_get*byname() (duh)
aland [Mon, 9 Jan 2006 23:02:37 +0000 (23:02 +0000)]
Don't de-reference NULL points on dict_get*byname()  (duh)

Part of the fix for bug #311

18 years ago Delete the variable RLM_EAP_LINK_MODE support. This terrible hack
nbk [Sun, 8 Jan 2006 19:52:26 +0000 (19:52 +0000)]
Delete the variable RLM_EAP_LINK_MODE support. This terrible hack
isn't needed anymore since TLS code moved from module rlm_eap_tls
to libeap. Now libtool manages to build correctly the modules
rlm_eap_peap and rlm_eap_ttls.

18 years ago Don't run "make" two times inside rlm_eap_tls. This module doesn't
nbk [Sat, 7 Jan 2006 19:22:36 +0000 (19:22 +0000)]
Don't run "make" two times inside rlm_eap_tls. This module doesn't
need to be built first anymore because TLS code has moved to libeap.

18 years ago Use the libtool name of the library (libeap.la) instead of the -L
nbk [Sat, 7 Jan 2006 19:14:57 +0000 (19:14 +0000)]
Use the libtool name of the library (libeap.la) instead of the -L
and -l options. (considered SOP when linking against an uninstalled
library)

18 years ago libeap is a shared library, not a module, which seems to be a
nbk [Fri, 6 Jan 2006 18:32:06 +0000 (18:32 +0000)]
libeap is a shared library, not a module, which seems to be a
completely different thing for libtool.

If we build libeap.la with the rules from src/modules/rules.mak we
get libtool warnings when linking the real eap modules. Therefore
we need to redefine a sane link command for the target in libeap
Makefile.

18 years ago Do some reformatting and clean-up a few things like removing
nbk [Fri, 6 Jan 2006 12:56:13 +0000 (12:56 +0000)]
Do some reformatting and clean-up a few things like removing
unnecessary headers, or always using the variables @eap_*_cflags@
and @eap_*_ldflags@ from Autoconf.

18 years ago Fix typo.
nbk [Wed, 4 Jan 2006 14:30:03 +0000 (14:30 +0000)]
Fix typo.

18 years ago Corrected typo
aland [Thu, 29 Dec 2005 21:53:26 +0000 (21:53 +0000)]
Corrected typo

18 years ago Port patch from branch_1_1 to the HEAD
aland [Wed, 28 Dec 2005 22:50:16 +0000 (22:50 +0000)]
Port patch from branch_1_1 to the HEAD

18 years ago Latest set of updates
aland [Wed, 28 Dec 2005 22:44:48 +0000 (22:44 +0000)]
Latest set of updates

18 years ago Make the LDAP module smarter, and more configurable, to avoid
aland [Wed, 28 Dec 2005 19:51:07 +0000 (19:51 +0000)]
Make the LDAP module smarter, and more configurable, to avoid
the case of it erroneously setting Auth-Type to LDAP where
it's not necessary.

18 years ago Don't reference interp if USE_ITHREADS isn't defined.
aland [Wed, 28 Dec 2005 01:28:21 +0000 (01:28 +0000)]
Don't reference interp if USE_ITHREADS isn't defined.

Bug found by Joe Maimon

18 years ago Pulled fixes for bug #285 from the head
aland [Wed, 28 Dec 2005 01:23:02 +0000 (01:23 +0000)]
Pulled fixes for bug #285 from the head

18 years ago Updates from bug #285
aland [Wed, 28 Dec 2005 01:21:07 +0000 (01:21 +0000)]
Updates from bug #285

18 years ago Pull fix from the head
aland [Wed, 28 Dec 2005 01:18:00 +0000 (01:18 +0000)]
Pull fix from the head

18 years ago wait for active threads only if we have spawned them.
aland [Wed, 28 Dec 2005 01:16:59 +0000 (01:16 +0000)]
wait for active threads only if we have spawned them.

This fixes bug #306

18 years ago Pull fix from the head
aland [Tue, 27 Dec 2005 17:44:25 +0000 (17:44 +0000)]
Pull fix from the head

18 years ago No query, die
aland [Tue, 27 Dec 2005 17:43:47 +0000 (17:43 +0000)]
No query, die

18 years ago Casts to pass correct parameter
aland [Mon, 26 Dec 2005 19:50:21 +0000 (19:50 +0000)]
Casts to pass correct parameter

18 years agoPull downstream fixes from Debian package 1.0.5-2:
nbk [Wed, 21 Dec 2005 20:34:48 +0000 (20:34 +0000)]
Pull downstream fixes from Debian package 1.0.5-2:
- Report correct data transfer statistics for users
- Lower-case sql column names to match creation scripts
- Fix creation of empty groups
- Put quote around usernames in HTML output
- Properly notice when we've got a blank password to SQL

Thanks to Arve Seljebu, Tobias and Paul Hampson.

18 years agoPull downstream fixes from Debian package 1.0.5-2:
nbk [Wed, 21 Dec 2005 20:25:43 +0000 (20:25 +0000)]
Pull downstream fixes from Debian package 1.0.5-2:
- Report correct data transfer statistics for users
- Lower-case sql column names to match creation scripts
- Fix creation of empty groups
- Put quote around usernames in HTML output
- Properly notice when we've got a blank password to SQL

Thanks to Arve Seljebu, Tobias and Paul Hampson.

18 years ago Fix up error in man.
nbk [Wed, 21 Dec 2005 20:12:16 +0000 (20:12 +0000)]
Fix up error in man.

Thanks to Paul Hampson for the patch.

18 years ago Fix up error in man.
nbk [Wed, 21 Dec 2005 20:12:01 +0000 (20:12 +0000)]
Fix up error in man.

Thanks to Paul Hampson for the patch.

18 years agoPull from CVS head:
nbk [Wed, 21 Dec 2005 19:43:48 +0000 (19:43 +0000)]
Pull from CVS head:
Document new features for 1.1.0.

18 years agorlm_eap_sim is fixed in CVS, therefore the dpatch isn't needed anymore.
nbk [Wed, 21 Dec 2005 17:01:34 +0000 (17:01 +0000)]
rlm_eap_sim is fixed in CVS, therefore the dpatch isn't needed anymore.

18 years ago Regenerate from configure 1.3.4.1 using Autoconf 2.13.
nbk [Wed, 21 Dec 2005 16:54:38 +0000 (16:54 +0000)]
Regenerate from configure 1.3.4.1 using Autoconf 2.13.

18 years ago Delete unused file.
nbk [Wed, 21 Dec 2005 16:53:50 +0000 (16:53 +0000)]
Delete unused file.

18 years agoPull from CVS head:
nbk [Wed, 21 Dec 2005 16:52:55 +0000 (16:52 +0000)]
Pull from CVS head:
EAP/SIM doesn't depend on OpenSSL.

18 years ago Regenerate from configure 1.1.2.4 using Autoconf 2.13.
nbk [Wed, 21 Dec 2005 15:41:46 +0000 (15:41 +0000)]
Regenerate from configure 1.1.2.4 using Autoconf 2.13.

18 years ago Regenerate from configure 1.3 using Autoconf 2.59.
nbk [Wed, 21 Dec 2005 15:41:35 +0000 (15:41 +0000)]
Regenerate from configure 1.3 using Autoconf 2.59.

18 years agoPull from CVS head:
nbk [Wed, 21 Dec 2005 15:40:40 +0000 (15:40 +0000)]
Pull from CVS head:
Use the user-supplied options for the tests, too.

18 years ago Use the user-supplied options for the tests, too.
nbk [Wed, 21 Dec 2005 15:40:28 +0000 (15:40 +0000)]
Use the user-supplied options for the tests, too.

18 years ago Regenerate from configure 1.1.2.3 using Autoconf 2.13.
nbk [Wed, 21 Dec 2005 14:50:01 +0000 (14:50 +0000)]
Regenerate from configure 1.1.2.3 using Autoconf 2.13.

18 years ago Regenerate from configure 1.2 using Autoconf 2.59.
nbk [Wed, 21 Dec 2005 14:49:53 +0000 (14:49 +0000)]
Regenerate from configure 1.2 using Autoconf 2.59.

18 years agoPull from CVS head:
nbk [Wed, 21 Dec 2005 14:46:33 +0000 (14:46 +0000)]
Pull from CVS head:
Disable module rlm_otp when there is no OpenSSL libraries/headers.

18 years ago Disable module rlm_otp when there is no OpenSSL libraries/headers.
nbk [Wed, 21 Dec 2005 14:46:25 +0000 (14:46 +0000)]
Disable module rlm_otp when there is no OpenSSL libraries/headers.