freeradius.git
22 years agodebian: added date, for new package release. debian_version_0_1+20010527-1
cmiller [Sun, 27 May 2001 16:42:46 +0000 (16:42 +0000)]
debian: added date, for new package release.

22 years agodebian: libltdl0 is now superceded by libltdl3.
cmiller [Sun, 27 May 2001 16:39:35 +0000 (16:39 +0000)]
debian: libltdl0 is now superceded by libltdl3.

22 years ago Updated 'ignored' messages, to accurately describe what's going on
aland [Thu, 24 May 2001 14:43:18 +0000 (14:43 +0000)]
Updated 'ignored' messages, to accurately describe what's going on

22 years agodebian: updated changelog.
cmiller [Mon, 21 May 2001 14:49:46 +0000 (14:49 +0000)]
debian: updated changelog.

22 years agoUpdated the config.sub and config.guess files to most recent versions, to
cmiller [Mon, 21 May 2001 14:09:10 +0000 (14:09 +0000)]
Updated the config.sub and config.guess files to most recent versions, to
support hppa, sh, and s390.  (closes Debian Bug#98183)

22 years ago Updated 'short' names to be the same as the ones used in radiusd.conf
aland [Fri, 18 May 2001 15:10:51 +0000 (15:10 +0000)]
Updated 'short' names to be the same as the ones used in radiusd.conf

22 years agoUpdated info about non-US, and set date on changelog. debian_version_0_1+20010517-1
cmiller [Thu, 17 May 2001 20:24:25 +0000 (20:24 +0000)]
Updated info about non-US, and set date on changelog.

22 years ago Only hack Cisco-AVPair attributes, not other Cisco attributes.
aland [Thu, 17 May 2001 19:06:32 +0000 (19:06 +0000)]
Only hack Cisco-AVPair attributes, not other Cisco attributes.

Pointed out by Thomas Jalsovsky <admin@postel.sk>

22 years ago moved quote to proper place.
aland [Thu, 17 May 2001 14:21:36 +0000 (14:21 +0000)]
moved quote to proper place.

22 years ago Minor updates to get rid of warnings
aland [Wed, 16 May 2001 19:51:04 +0000 (19:51 +0000)]
Minor updates to get rid of warnings

22 years ago moved HAVE_PTHREAD_H to HAVE_SEMAPHORE_H, where it was protecting
aland [Wed, 16 May 2001 19:07:19 +0000 (19:07 +0000)]
moved HAVE_PTHREAD_H to HAVE_SEMAPHORE_H, where it was protecting
calls to sem_init() and friends

22 years ago checks for <semaphore.h> and sem_init() to the main configure code,
aland [Wed, 16 May 2001 19:04:00 +0000 (19:04 +0000)]
checks for <semaphore.h> and sem_init() to the main configure code,
so that files other than the thread pools can use it.

22 years agoFixed stupid bug, allowing logins with null password
pam [Wed, 16 May 2001 15:21:04 +0000 (15:21 +0000)]
Fixed stupid bug, allowing logins with null password

22 years agoAvoid dereferencing NULL when client doesn't send a User-Password
cmiller [Tue, 15 May 2001 22:44:11 +0000 (22:44 +0000)]
Avoid dereferencing NULL when client doesn't send a User-Password
attribute.  (Vesselin Atanasov <vesselin@bgnet.bg>)

22 years agoAdded prototype for radlog_iswritable().
cmiller [Tue, 15 May 2001 22:33:10 +0000 (22:33 +0000)]
Added prototype for radlog_iswritable().

Changed the default dir for logging.

22 years agoWe delay giving up root until after we can test for logfile dir's existence.
cmiller [Tue, 15 May 2001 22:31:25 +0000 (22:31 +0000)]
We delay giving up root until after we can test for logfile dir's existence.

22 years agoNew: Make directories if they don't exist. Iff the logdir contains,
cmiller [Tue, 15 May 2001 22:29:42 +0000 (22:29 +0000)]
New: Make directories if they don't exist.  Iff the logdir contains,
"radius" chown() it to the active user.

Bug: After a v*printf() function, the va_list is undefined, so we use it
only once.  (This caused _really_obscure_ SEGVs when one logged to L_CONS
and with debug.)

22 years agoRemoved old comment.
cmiller [Mon, 14 May 2001 17:13:25 +0000 (17:13 +0000)]
Removed old comment.

22 years agoAdding a version several weeks old. :(
cmiller [Mon, 14 May 2001 17:10:21 +0000 (17:10 +0000)]
Adding a version several weeks old.  :(

22 years agodebian: moving to non-US, to keep postgresql.
cmiller [Mon, 14 May 2001 15:56:04 +0000 (15:56 +0000)]
debian: moving to non-US, to keep postgresql.

23 years agoRestored aclocal.m4 and ADDED configure. Wild.
cmiller [Fri, 11 May 2001 15:45:36 +0000 (15:45 +0000)]
Restored aclocal.m4 and ADDED configure.  Wild.

23 years agoPlatform-independent pthread_cancel()ling instead of sending a signal.
cmiller [Fri, 11 May 2001 15:41:40 +0000 (15:41 +0000)]
Platform-independent pthread_cancel()ling instead of sending a signal.

23 years agoRecommitted debian changes of krb and Suggests.
cmiller [Fri, 11 May 2001 15:38:37 +0000 (15:38 +0000)]
Recommitted debian changes of krb and Suggests.

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>