freeradius.git
23 years ago changed example operator so that it won't complain. release_0_1_0
aland [Mon, 7 May 2001 18:45:40 +0000 (18:45 +0000)]
changed example operator so that it won't complain.

23 years agoApplied Orable fixed provided by Vladimir Krymov <krymov@oskolnet.ru>
mmachado [Mon, 7 May 2001 16:51:47 +0000 (16:51 +0000)]
Applied Orable fixed provided by Vladimir Krymov <krymov@oskolnet.ru>

23 years ago Added note saying that this file is deprecated
aland [Mon, 7 May 2001 14:39:02 +0000 (14:39 +0000)]
Added note saying that this file is deprecated

23 years agoRemoved unnecessary duplication of code, now rlm_ldap builds LDAP filters
pam [Mon, 7 May 2001 10:46:38 +0000 (10:46 +0000)]
Removed unnecessary duplication of code, now rlm_ldap builds LDAP filters
using radius_xlat().

23 years agodebian: Added interpreter lines in postinst & prerm.
cmiller [Sun, 6 May 2001 21:58:18 +0000 (21:58 +0000)]
debian: Added interpreter lines in postinst & prerm.
debian: Added extended descriptions for new packages.

23 years agodebian: updated changelog listing.
cmiller [Sun, 6 May 2001 21:36:25 +0000 (21:36 +0000)]
debian: updated changelog listing.

23 years agodebian: fork ldap, postgresql, and mysql modules into seperate packages.
cmiller [Sun, 6 May 2001 21:34:37 +0000 (21:34 +0000)]
debian: fork ldap, postgresql, and mysql modules into seperate packages.
debian: remove kerberos from package, as it's non-US and I don't want to
taint the rest of the package.  (krb users should get the PAM module.)

23 years agodebian: removed date until I'm ready to release.
cmiller [Sun, 6 May 2001 00:28:32 +0000 (00:28 +0000)]
debian: removed date until I'm ready to release.

23 years agodebian: make long line continuation where same environment needed.
cmiller [Sat, 5 May 2001 22:04:46 +0000 (22:04 +0000)]
debian: make long line continuation where same environment needed.

23 years agodebian: build-dep on debhelper.
cmiller [Sat, 5 May 2001 21:39:56 +0000 (21:39 +0000)]
debian: build-dep on debhelper.

23 years agodebian: fixed sid dependencies.
cmiller [Sat, 5 May 2001 21:18:52 +0000 (21:18 +0000)]
debian: fixed sid dependencies.

23 years agoMy cpp didn't know of #ifne, so I assumed #ifndef was meant.
cmiller [Sat, 5 May 2001 19:28:22 +0000 (19:28 +0000)]
My cpp didn't know of #ifne, so I assumed #ifndef was meant.

23 years ago Removed pthread_mutex stuff, as the sem_trywait(), etc. semaphores
aland [Fri, 4 May 2001 19:14:11 +0000 (19:14 +0000)]
Removed pthread_mutex stuff, as the sem_trywait(), etc. semaphores
will properly handle contention among threads.

Also, if we run out of SQL sockets, it's an ERROR.  We log an error
message describing what the problem is, how to fix it.  We do NOT
wait forever, trying to see if an SQL socket maybe will free up.

23 years agodebian: Set date and version number.
cmiller [Fri, 4 May 2001 19:11:10 +0000 (19:11 +0000)]
debian: Set date and version number.

23 years ago centralized the handling of the version number, prior to going
aland [Fri, 4 May 2001 16:58:04 +0000 (16:58 +0000)]
centralized the handling of the version number, prior to going
to beta.

23 years agoAdded support for DES-encrypted passwords in SQL db.
cmiller [Fri, 4 May 2001 15:18:05 +0000 (15:18 +0000)]
Added support for DES-encrypted passwords in SQL db.
  -- Yury Bokhoncovich <byg@center-f1.ru>

23 years agoMerged duplicate code: sql_select_query into sql_query.
cmiller [Wed, 2 May 2001 23:19:54 +0000 (23:19 +0000)]
Merged duplicate code: sql_select_query into sql_query.

23 years agoAdded more polite startup when SQL db is unreachable. The drivers might
cmiller [Wed, 2 May 2001 00:13:16 +0000 (00:13 +0000)]
Added more polite startup when SQL db is unreachable.  The drivers might
be changed to flag their own bad sockets as need-to-be-reconnected, later.

23 years ago If we're using local snprintf, ensure that we include stdarg.h
aland [Tue, 1 May 2001 15:07:25 +0000 (15:07 +0000)]
If we're using local snprintf, ensure that we include stdarg.h

23 years ago Added dictionary.erx, from Terje Krogdahl <tekr@nextra.com>
aland [Fri, 27 Apr 2001 15:16:35 +0000 (15:16 +0000)]
Added dictionary.erx, from Terje Krogdahl <tekr@nextra.com>

23 years ago Merged Cistron changes with updates from Ed Bacher
aland [Fri, 27 Apr 2001 14:53:11 +0000 (14:53 +0000)]
Merged Cistron changes with updates from Ed Bacher

23 years ago Print out 'host=', too.
aland [Thu, 26 Apr 2001 20:25:03 +0000 (20:25 +0000)]
Print out 'host=', too.

patch from Yury Bokhoncovich <byg@center-f1.ru>

23 years ago removed old documentation.
aland [Thu, 26 Apr 2001 19:38:49 +0000 (19:38 +0000)]
removed old documentation.

23 years ago The second argument to 'bind' is 'struct sockaddr', NOT
aland [Thu, 26 Apr 2001 16:26:46 +0000 (16:26 +0000)]
The second argument to 'bind' is 'struct sockaddr', NOT
'struct sockaddr_in'

23 years ago We no longer have an accounting process, so it can't die, and
aland [Thu, 26 Apr 2001 13:35:01 +0000 (13:35 +0000)]
We no longer have an accounting process, so it can't die, and
we do not need the log message saying so.

23 years ago (reversed LOG messages) ...plus eliminate unnecessary IF condition
aland [Tue, 24 Apr 2001 15:25:04 +0000 (15:25 +0000)]
(reversed LOG messages) ...plus eliminate unnecessary IF condition

Patch from Yury Bokhoncovich <byg@center-f1.ru>

23 years ago Recollecting wrong assumption in sql_select_query (we could have
aland [Tue, 24 Apr 2001 15:22:15 +0000 (15:22 +0000)]
Recollecting wrong assumption in sql_select_query (we could have
zero num of tuples and this is OK

Patch from Yury Bokhoncovich <byg@center-f1.ru>

23 years ago removed annoying -Waggregate-return warning
aland [Tue, 24 Apr 2001 15:14:18 +0000 (15:14 +0000)]
removed annoying -Waggregate-return warning

23 years ago removed unused functions
aland [Mon, 23 Apr 2001 16:52:33 +0000 (16:52 +0000)]
removed unused functions

23 years ago Enabled configurable control of whether or not unresponsive
aland [Mon, 23 Apr 2001 16:47:13 +0000 (16:47 +0000)]
Enabled configurable control of whether or not unresponsive
children are killed.

23 years ago On any error, ensure that we release the SQL socket, so that the
aland [Sun, 22 Apr 2001 13:57:21 +0000 (13:57 +0000)]
On any error, ensure that we release the SQL socket, so that the
module doesn't sit on it forever.

Patch from "Jacob Sandin" <jacob@sverige.net>

23 years ago Corrected message warning about unresponsive children. It shouldn't
aland [Fri, 20 Apr 2001 19:30:02 +0000 (19:30 +0000)]
Corrected message warning about unresponsive children.  It shouldn't
happen for NO_SUCH_CHILD_PID.

23 years ago Make escaped string buffer large enough.
aland [Fri, 20 Apr 2001 18:06:32 +0000 (18:06 +0000)]
Make escaped string buffer large enough.

Bernhard Herzog <bh@intevation.de>

23 years ago Patch to allow non-standard SQL ports.
aland [Fri, 20 Apr 2001 18:05:05 +0000 (18:05 +0000)]
Patch to allow non-standard SQL ports.

From Bernhard Herzog <bh@intevation.de>

23 years ago Corrected error messages, based on comments from
aland [Fri, 20 Apr 2001 17:45:57 +0000 (17:45 +0000)]
Corrected error messages, based on comments from
Thomas Jalsovsky <admin@postel.sk>

23 years ago Moved MySQL checks out of top-level configure, and down to the
aland [Fri, 20 Apr 2001 16:50:41 +0000 (16:50 +0000)]
Moved MySQL checks out of top-level configure, and down to the
mysql module.

23 years agogetspnam() in libc didn't define HAVE_GETSPNAM. My oversight. Sorry!
cmiller [Fri, 20 Apr 2001 00:03:26 +0000 (00:03 +0000)]
getspnam() in libc didn't define HAVE_GETSPNAM.  My oversight.  Sorry!

23 years agoMake configure SMART - use AC_SMART_CHECK_* instead.
pam [Tue, 17 Apr 2001 15:28:14 +0000 (15:28 +0000)]
Make configure SMART - use AC_SMART_CHECK_* instead.

23 years agoPer-module configure is inheriting CFLAGS and LIBS, let Makefile behave in the
pam [Tue, 17 Apr 2001 15:25:43 +0000 (15:25 +0000)]
Per-module configure is inheriting CFLAGS and LIBS, let Makefile behave in the
same manner, to awoid unresolved symbols and missing includes.

23 years agoDebian: Add user to own log files. (User 'nobody' shouldn't own files on
cmiller [Mon, 16 Apr 2001 20:16:10 +0000 (20:16 +0000)]
Debian:  Add user to own log files.  (User 'nobody' shouldn't own files on
disk.)
Debian:  Renamed log directory to be policy compliant.

23 years agoPrinting a pid should be unsigned.
cmiller [Mon, 16 Apr 2001 19:01:26 +0000 (19:01 +0000)]
Printing a pid should be unsigned.
Set child_pid variable in right place.

23 years ago Initialize all elements of the data structure
aland [Sun, 15 Apr 2001 15:31:26 +0000 (15:31 +0000)]
Initialize all elements of the data structure

Patch from "Tan, Hwee Hong" <hweehong.tan@pacific.net.sg>

23 years ago Correct the spec file to allow RPM's to be built
aland [Fri, 13 Apr 2001 22:35:31 +0000 (22:35 +0000)]
Correct the spec file to allow RPM's to be built

Patch from Joseph Conrad <joe@chaffee.net>

23 years agoSmall fixes to configure and configure.in to detect SSL on FreeBSD
pam [Fri, 13 Apr 2001 13:27:04 +0000 (13:27 +0000)]
Small fixes to configure and configure.in to detect SSL on FreeBSD
Changes to rlm_ldap to check whenever request contains _both_ username and
password

23 years ago Fixed memory leak.
aland [Thu, 12 Apr 2001 15:30:34 +0000 (15:30 +0000)]
Fixed memory leak.

Patch from Bernhard Herzog <bh@intevation.de>

23 years ago When doing Add-Port-To-IP-Address, do NOT over-write the 'tmp'
aland [Thu, 12 Apr 2001 15:26:46 +0000 (15:26 +0000)]
When doing Add-Port-To-IP-Address, do NOT over-write the 'tmp'
variable with another value-pair.  This bug probably comes from
using names for variables like 'tmp', which makes it hard to
remember which variable is what.

Patch from "Paul Coward" <paul@asgard.net.au>

23 years ago Updated SQL time string to be compatible with Postgresql.
aland [Thu, 12 Apr 2001 15:19:26 +0000 (15:19 +0000)]
Updated SQL time string to be compatible with Postgresql.

Patch from Bernhard Herzog <bh@intevation.de>

23 years ago removed unneeded text
aland [Thu, 12 Apr 2001 15:17:27 +0000 (15:17 +0000)]
removed unneeded text

23 years agoPut ldflags correctly in Makefile. define HAVE_MYSQL_H in right spot.
cmiller [Thu, 12 Apr 2001 00:37:27 +0000 (00:37 +0000)]
Put ldflags correctly in Makefile.  define HAVE_MYSQL_H in right spot.

23 years ago Added patch from Bernhard Herzog <bh@intevation.de>
aland [Wed, 11 Apr 2001 16:40:47 +0000 (16:40 +0000)]
Added patch from Bernhard Herzog <bh@intevation.de>

23 years ago Patch from Bernhard Herzog <bh@intevation.de> to make it
aland [Wed, 11 Apr 2001 15:10:03 +0000 (15:10 +0000)]
Patch from Bernhard Herzog <bh@intevation.de> to make it
non-blocking.

23 years ago updated 'generate_realms' and 'generate_clients' to fix a potential
cparker [Wed, 11 Apr 2001 02:44:11 +0000 (02:44 +0000)]
updated 'generate_realms' and 'generate_clients' to fix a potential
coredump if a config item is missing from a client or realm.  a
descriptive error message is now returned instead.

23 years ago Start using the new 'AC_SMART_CHECK_LIB' and 'AC_SMART_CHECK_INCLUDE'
aland [Tue, 10 Apr 2001 16:50:43 +0000 (16:50 +0000)]
Start using the new 'AC_SMART_CHECK_LIB' and 'AC_SMART_CHECK_INCLUDE'
macros, which are a HELL of a lot easier to use than the standard
autoconf insanity.

23 years ago export CFLAGS and LIBS, so that sub-module configuration can
aland [Tue, 10 Apr 2001 15:22:16 +0000 (15:22 +0000)]
export CFLAGS and LIBS, so that sub-module configuration can
pick them up.

23 years ago include all of the available dictionaries by default
aland [Tue, 10 Apr 2001 14:11:55 +0000 (14:11 +0000)]
include all of the available dictionaries by default

23 years ago commented out values where no attribute for them was defined
aland [Tue, 10 Apr 2001 14:11:37 +0000 (14:11 +0000)]
commented out values where no attribute for them was defined

23 years ago Updated to make it load
aland [Tue, 10 Apr 2001 14:06:40 +0000 (14:06 +0000)]
Updated to make it load

23 years ago moved #if 0 / #endif, so that the useful code gets executed.
aland [Tue, 10 Apr 2001 13:56:32 +0000 (13:56 +0000)]
moved #if 0 / #endif, so that the useful code gets executed.

23 years ago Auto-detect new modules when doing 'configure', even if the modules
aland [Mon, 9 Apr 2001 15:32:16 +0000 (15:32 +0000)]
Auto-detect new modules when doing 'configure', even if the modules
are not part of the standard distribution.

23 years agoAdded autoconf to mysql. Improved LDAP autoconf.
cmiller [Thu, 5 Apr 2001 21:16:40 +0000 (21:16 +0000)]
Added autoconf to mysql.  Improved LDAP autoconf.

23 years ago Added braces to prevent an infinite loop.
aland [Thu, 5 Apr 2001 14:56:58 +0000 (14:56 +0000)]
Added braces to prevent an infinite loop.

Patch from "Nikolay P. Romanyuk" <mag@ns.dti.ru>

23 years agoBetter documented example.
cmiller [Thu, 5 Apr 2001 13:51:01 +0000 (13:51 +0000)]
Better documented example.

23 years agoAdded autoconf.
cmiller [Thu, 5 Apr 2001 00:08:13 +0000 (00:08 +0000)]
Added autoconf.

23 years agoAdded autoconf to rlm_unix.
cmiller [Thu, 5 Apr 2001 00:07:48 +0000 (00:07 +0000)]
Added autoconf to rlm_unix.

23 years agoFixed a "/*" to "*/" .
cmiller [Thu, 5 Apr 2001 00:06:01 +0000 (00:06 +0000)]
Fixed a "/*" to "*/" .

23 years ago'config.status' is another file to remove on cleans.
cmiller [Wed, 4 Apr 2001 22:36:02 +0000 (22:36 +0000)]
'config.status' is another file to remove on cleans.

23 years agoFound appropriate test for k5crypto library.
cmiller [Wed, 4 Apr 2001 22:34:46 +0000 (22:34 +0000)]
Found appropriate test for k5crypto library.

23 years agoAdded PAM autoconfig.
cmiller [Wed, 4 Apr 2001 22:31:38 +0000 (22:31 +0000)]
Added PAM autoconfig.

23 years agoMoved clean of config stuff to 'clean' rule, from 'distclean' rule.
cmiller [Wed, 4 Apr 2001 22:31:14 +0000 (22:31 +0000)]
Moved clean of config stuff to 'clean' rule, from 'distclean' rule.

23 years agoPut in necessary commas.
cmiller [Wed, 4 Apr 2001 20:44:15 +0000 (20:44 +0000)]
Put in necessary commas.

23 years agoAdded LDAP autoconf stuff.
cmiller [Wed, 4 Apr 2001 20:23:49 +0000 (20:23 +0000)]
Added LDAP autoconf stuff.

23 years agoI spell 'dependency' differently on prime-numbered days of the month.
cmiller [Wed, 4 Apr 2001 20:14:52 +0000 (20:14 +0000)]
I spell 'dependency' differently on prime-numbered days of the month.

23 years agoAdded krb5 autoconf.
cmiller [Wed, 4 Apr 2001 17:06:06 +0000 (17:06 +0000)]
Added krb5 autoconf.

23 years ago Patch from "Nikolay P. Romanyuk" <mag@ns.dti.ru>
aland [Wed, 4 Apr 2001 14:08:04 +0000 (14:08 +0000)]
Patch from "Nikolay P. Romanyuk" <mag@ns.dti.ru>

Check the proper return codes from postgres calls

23 years ago Define a new autoconf macro: AC_LOCATE_DIR(). It uses the 'locate'
aland [Tue, 3 Apr 2001 16:47:52 +0000 (16:47 +0000)]
Define a new autoconf macro: AC_LOCATE_DIR().  It uses the 'locate'
command to find out where the files live.

This allows it to (hopefully) search ALL directories on the system,
so that 'configure' will find the libs/includes, no matter *where*
the user has placed them.

23 years ago When using threads, do NOT kill unresponsive children.
aland [Mon, 2 Apr 2001 15:10:01 +0000 (15:10 +0000)]
When using threads, do NOT kill unresponsive children.

23 years ago If the pairs don't match, then return NOTFOUND, instead of FAIL.
aland [Mon, 2 Apr 2001 14:59:19 +0000 (14:59 +0000)]
If the pairs don't match, then return NOTFOUND, instead of FAIL.

Bug #112, from Nick Lott <nick@prodigynet.co.uk>

23 years agoAdded a short HOWTO on submitting a bug report.
cmiller [Sun, 1 Apr 2001 20:55:38 +0000 (20:55 +0000)]
Added a short HOWTO on submitting a bug report.

23 years ago When parsing the input, remove comments (anything after '#').
aland [Thu, 29 Mar 2001 18:08:18 +0000 (18:08 +0000)]
When parsing the input, remove comments (anything after '#').

When doing a $INCLUDE, remove any trailing spaces or tabs from the
filename.

23 years agoQuoted delayed attribute to keep it from barfing when that attribute is not present.
mmachado [Wed, 28 Mar 2001 22:34:36 +0000 (22:34 +0000)]
Quoted delayed attribute to keep it from barfing when that attribute is not present.

23 years agoUser-Name needed to be convirted to SQL-User-Name for accounting requests also
mmachado [Wed, 28 Mar 2001 22:06:38 +0000 (22:06 +0000)]
User-Name needed to be convirted to SQL-User-Name for accounting requests also

23 years ago check the socket return code for errors
aland [Wed, 28 Mar 2001 21:16:21 +0000 (21:16 +0000)]
check the socket return code for errors

Patch from Bernhard Reiter <bernhard@intevation.de>

23 years ago Upgrade DB to be same as others
aland [Wed, 28 Mar 2001 21:09:58 +0000 (21:09 +0000)]
Upgrade DB to be same as others

Patch from Yury Bokhoncovich <byg@center-f1.ru>

23 years agoChanged sense of configuring with no parameters and some deps missing.
cmiller [Wed, 28 Mar 2001 00:09:26 +0000 (00:09 +0000)]
Changed sense of configuring with no parameters and some deps missing.

23 years ago First distrib-configure test release.
cmiller [Tue, 27 Mar 2001 05:32:28 +0000 (05:32 +0000)]
First distrib-configure test release.

23 years ago Only send a duplicate reply IF such a reply exists, AND if it
aland [Mon, 26 Mar 2001 16:38:30 +0000 (16:38 +0000)]
Only send a duplicate reply IF such a reply exists, AND if it
has a real reply code.

Patch by spirn@21cn.com

23 years ago * Remove the closing brace if the attribute is not found. Only
hartwick [Mon, 26 Mar 2001 15:42:38 +0000 (15:42 +0000)]
* Remove the closing brace if the attribute is not found.  Only
  remove the innermost brace.

23 years agoPart of escaping patch.
jcarneal [Fri, 23 Mar 2001 18:14:41 +0000 (18:14 +0000)]
Part of escaping patch.

23 years agoOk Alan, you can delete radwatch now :)
jcarneal [Fri, 23 Mar 2001 03:07:41 +0000 (03:07 +0000)]
Ok Alan, you can delete radwatch now :)

This is the document describing out to properly supervise a radiusd
process using either daemontools or inittab.

I was able to write this tonight because KY sucked so badly at
basketball that I had time while *not* watching.

23 years agosql user escape patch
jcarneal [Thu, 22 Mar 2001 23:36:27 +0000 (23:36 +0000)]
sql user escape patch

23 years agosql user escape patch
jcarneal [Thu, 22 Mar 2001 23:35:21 +0000 (23:35 +0000)]
sql user escape patch

23 years agoFew oracle fixups and converted iODBC driver to use dynamic driver code
mmachado [Thu, 22 Mar 2001 20:13:48 +0000 (20:13 +0000)]
Few oracle fixups and converted iODBC driver to use dynamic driver code

23 years agoConverted rlm_sql_oracle to new dynamic drivers. I need the "oracle guy" to write...
mmachado [Thu, 22 Mar 2001 19:17:48 +0000 (19:17 +0000)]
Converted rlm_sql_oracle to new dynamic drivers. I need the "oracle guy" to write the sql_destroy_socket code to properly disconnect and free an oracle connection.

23 years ago Include sql_oracle.h
aland [Thu, 22 Mar 2001 16:56:38 +0000 (16:56 +0000)]
Include sql_oracle.h

Note by <bswhb@263.net>

23 years ago Added header/trailer '#ifndef..#define... (body) ... #endif
aland [Thu, 22 Mar 2001 16:54:24 +0000 (16:54 +0000)]
Added header/trailer '#ifndef..#define... (body) ... #endif
so that the header file can be included multiple times without
it puking.

As an aside, this really should be 'rlm_sql_conf.h', as there's
already a 'conf.h' in the source tree.

23 years agodebian: Fixed permissions on raddb. (Russell Coker)
cmiller [Thu, 22 Mar 2001 16:15:27 +0000 (16:15 +0000)]
debian: Fixed permissions on raddb.  (Russell Coker)
debian: Removed 'sanitycheck' rule from build.

23 years agoChanged restart rule to point to self ($0) and not a particular file.
cmiller [Thu, 22 Mar 2001 15:58:00 +0000 (15:58 +0000)]
Changed restart rule to point to self ($0) and not a particular file.

23 years ago* Updated checkrad.pl.in - no need to edit Portmaster settings anymore
miquels [Thu, 22 Mar 2001 13:44:15 +0000 (13:44 +0000)]
* Updated checkrad.pl.in - no need to edit Portmaster settings anymore

23 years agoRemoved fatal-looking error and added descriptive comment to client_find()
cmiller [Tue, 20 Mar 2001 12:41:32 +0000 (12:41 +0000)]
Removed fatal-looking error and added descriptive comment to client_find()
function.

23 years ago * Add some additional debugging code to show what IP address
hartwick [Tue, 20 Mar 2001 03:01:59 +0000 (03:01 +0000)]
* Add some additional debugging code to show what IP address
  couldn't be found in the clients list.