freeradius.git
22 years agoFix check for shared library using libtool info, instead of assuming extension
cmiller [Fri, 6 Jul 2001 15:59:33 +0000 (15:59 +0000)]
Fix check for shared library using libtool info, instead of assuming extension
being ".so".  (closes: FRBug#121)

22 years agoDon't check how GDBM behaves if it's obviously not installed.
cmiller [Fri, 6 Jul 2001 15:57:50 +0000 (15:57 +0000)]
Don't check how GDBM behaves if it's obviously not installed.

22 years agodebian: changed mysql package name libmysqlclient6-deb -> libmysqlclient10-deb
cmiller [Fri, 6 Jul 2001 13:22:37 +0000 (13:22 +0000)]
debian: changed mysql package name libmysqlclient6-deb -> libmysqlclient10-deb

22 years agoneeds_child_cleanup was unreachable, and DS' return prevented >1 child
cmiller [Fri, 6 Jul 2001 13:11:55 +0000 (13:11 +0000)]
needs_child_cleanup was unreachable, and DS' return prevented >1 child
cleanup.

22 years ago Patch to correct the behaviour of proxy-acct packets not being
cparker [Thu, 5 Jul 2001 23:52:14 +0000 (23:52 +0000)]
Patch to correct the behaviour of proxy-acct packets not being
logged locally.  Pointed out by: <QinxueC@corp.netzero.net> and
<help@visp.net>.

22 years agoCheck for location of sem_init symbol, because it's in an odd place on HP/UX.
cmiller [Thu, 5 Jul 2001 21:04:54 +0000 (21:04 +0000)]
Check for location of sem_init symbol, because it's in an odd place on HP/UX.
(closes: FRBug#127)

22 years agoInserted #include to prevent compoler warning of memset()
cmiller [Thu, 5 Jul 2001 19:57:42 +0000 (19:57 +0000)]
Inserted #include to prevent compoler warning of memset()
(David Kerry <davidk@navahonetworks.com>)

22 years agoWrap child spawning and registration in a plain vanilla critical-section
cmiller [Thu, 5 Jul 2001 17:03:41 +0000 (17:03 +0000)]
Wrap child spawning and registration in a plain vanilla critical-section
protector.  Thanks to Dave Shield for pointing out a race.

22 years agoCorrected an interminable loop that happened when an unregistered child exits.
cmiller [Thu, 5 Jul 2001 16:00:46 +0000 (16:00 +0000)]
Corrected an interminable loop that happened when an unregistered child exits.
(Dave Shield <D.T.Shield@csc.liv.ac.uk>)

22 years agoIntegrated phil@bolthole.com's patch for Oracle8i. It's heavily hacked in,
cmiller [Wed, 4 Jul 2001 01:49:36 +0000 (01:49 +0000)]
Integrated phil@bolthole.com's patch for Oracle8i.  It's heavily hacked in,
so it may not be correct, still.

22 years agoNew configure for the autoconfless.
cmiller [Wed, 4 Jul 2001 00:51:12 +0000 (00:51 +0000)]
New configure for the autoconfless.

22 years agoTesting for libclient8 and libclntsh in addition to liboracleclient in
cmiller [Wed, 4 Jul 2001 00:50:18 +0000 (00:50 +0000)]
Testing for libclient8 and libclntsh in addition to liboracleclient in
autoconf code.

This prolly isn't right.

22 years agoRemoved superfluous AC_DEFINE()
cmiller [Wed, 4 Jul 2001 00:24:36 +0000 (00:24 +0000)]
Removed superfluous AC_DEFINE()

22 years agoIn preparation for patching how the oracle detection code works, I moved
cmiller [Wed, 4 Jul 2001 00:10:08 +0000 (00:10 +0000)]
In preparation for patching how the oracle detection code works, I moved
it into its own configure.in .

22 years agoCommitted Rob Jones' <rob@work.gb.com> CHAP support in sql patch.
cmiller [Tue, 3 Jul 2001 22:19:45 +0000 (22:19 +0000)]
Committed Rob Jones' <rob@work.gb.com> CHAP support in sql patch.

22 years agoAssume (correctly) that AV pairs' strings are null-terminated.
cmiller [Tue, 3 Jul 2001 19:21:30 +0000 (19:21 +0000)]
Assume (correctly) that AV pairs' strings are null-terminated.

22 years agoChanged function to test when looking for a working pthreads implementation,
cmiller [Tue, 3 Jul 2001 17:53:32 +0000 (17:53 +0000)]
Changed function to test when looking for a working pthreads implementation,
from pthread_create() to pthread_join().  (closes FreeRadiusBug#122)

22 years agoIntegrated Kostas Kalevras' rlm_counter code, plus sundry fixes.
cmiller [Sun, 1 Jul 2001 23:51:07 +0000 (23:51 +0000)]
Integrated Kostas Kalevras' rlm_counter code, plus sundry fixes.

22 years agoGive more useful information (in a clearer format) when debugging
cmiller [Sun, 1 Jul 2001 19:18:18 +0000 (19:18 +0000)]
Give more useful information (in a clearer format) when debugging
section/module execution flow.

22 years agoAlexei Ivanov <radius@novoch.ru> pointed out (in a failed bug report) that
cmiller [Sat, 30 Jun 2001 00:00:55 +0000 (00:00 +0000)]
Alexei Ivanov <radius@novoch.ru> pointed out (in a failed bug report) that
the code didn't agree with the comment.  This may fix bug #117.

22 years agoRemoved 'ifdef' GNUism in top makefile.
cmiller [Fri, 29 Jun 2001 23:50:37 +0000 (23:50 +0000)]
Removed 'ifdef' GNUism in top makefile.

22 years agoDocument profile support for user object via attribute specified in "profile_attribut...
pam [Fri, 29 Jun 2001 10:03:52 +0000 (10:03 +0000)]
Document profile support for user object via attribute specified in "profile_attribute" directive.
Code by Kostas Kalevras <kkalev@noc.ntua.gr>

22 years agoProfile support for user object via attribute specified in "profile_attribute"
pam [Fri, 29 Jun 2001 10:02:59 +0000 (10:02 +0000)]
Profile support for user object via attribute specified in "profile_attribute"
directive.
Code by Kostas Kalevras <kkalev@noc.ntua.gr>

22 years agoAdded "default_profile" directive to ldap section
pam [Wed, 27 Jun 2001 14:57:43 +0000 (14:57 +0000)]
Added "default_profile" directive to ldap section
see comment on rlm_ldap.c v1.44
CVS

22 years agoAdded description of "default_profile" directive
pam [Wed, 27 Jun 2001 14:56:00 +0000 (14:56 +0000)]
Added description of "default_profile" directive
see comment on rlm_ldap.c v1.44

22 years agoAdded code by Kostas Kalevras <kkalev@noc.ntua.gr> implementing default profile in...
pam [Wed, 27 Jun 2001 14:54:19 +0000 (14:54 +0000)]
Added code by Kostas Kalevras <kkalev@noc.ntua.gr> implementing default profile in LDAP for remote access users

22 years agoAdded fix by Kostas Kalevras <kkalev@noc.ntua.gr> to replace existing RADIUS-attribut...
pam [Mon, 25 Jun 2001 12:29:32 +0000 (12:29 +0000)]
Added fix by Kostas Kalevras <kkalev@noc.ntua.gr> to replace existing RADIUS-attributes with values specified in LDAP entry.

22 years agodebian: add the freerad user into the shadow group, so the daemon can auth
cmiller [Fri, 22 Jun 2001 12:53:18 +0000 (12:53 +0000)]
debian: add the freerad user into the shadow group, so the daemon can auth
locally.  (More may need to be done.)

22 years agoUpdated log of recent changes.
cmiller [Fri, 22 Jun 2001 01:19:12 +0000 (01:19 +0000)]
Updated log of recent changes.

22 years ago* src/main/timestr.c: hmm, ifdeffed some more debug stuff that
miquels [Thu, 21 Jun 2001 10:57:23 +0000 (10:57 +0000)]
* src/main/timestr.c: hmm, ifdeffed some more debug stuff that
  shouldn't normally be there (plain printf()s!)

22 years ago* src/main/timestr.c: debugging not meant for end-user
miquels [Thu, 21 Jun 2001 10:53:09 +0000 (10:53 +0000)]
* src/main/timestr.c: debugging not meant for end-user

22 years agoNew file to fix corrupted restored one.
cmiller [Wed, 20 Jun 2001 19:56:28 +0000 (19:56 +0000)]
New file to fix corrupted restored one.

22 years agoIn GCC 3.0, printf is a macro, so the mid- printf() CPP directives had to be
cmiller [Mon, 18 Jun 2001 22:53:52 +0000 (22:53 +0000)]
In GCC 3.0, printf is a macro, so the mid- printf() CPP directives had to be
moved out a level.

22 years ago removed deprecated proxy attribute filtering explanation.
cparker [Wed, 13 Jun 2001 14:12:11 +0000 (14:12 +0000)]
removed deprecated proxy attribute filtering explanation.

22 years agoYet another plug for memory leak.
pam [Wed, 13 Jun 2001 12:13:08 +0000 (12:13 +0000)]
Yet another plug for memory leak.

22 years agoFixed some memory leaks. Thanks to Peter Foreman <p.foreman@planetmediagroup.nl>...
pam [Wed, 13 Jun 2001 10:46:13 +0000 (10:46 +0000)]
Fixed some memory leaks. Thanks to Peter Foreman <p.foreman@planetmediagroup.nl> for pointing them out.

22 years ago Patch from Eddie Stassen <eddies@saix.net>
aland [Fri, 8 Jun 2001 16:50:09 +0000 (16:50 +0000)]
Patch from Eddie Stassen <eddies@saix.net>

Match on the LAST suffix realm, NOT on the first.

22 years agoUse ldap_memfree() as this Right Thing (R), docs mention OpenLDAP v2.x requirement
pam [Fri, 8 Jun 2001 12:23:45 +0000 (12:23 +0000)]
Use ldap_memfree() as this Right Thing (R), docs mention OpenLDAP v2.x requirement
Free user_dn only when ldap_get_dn was performed in ldap_authenticate.

22 years agoFixed bug in ignoring timeout value for LDAP search operation
pam [Wed, 6 Jun 2001 15:49:07 +0000 (15:49 +0000)]
Fixed bug in ignoring timeout value for LDAP search operation
Set timeouts to some realistic values (no more infinite waits)
Fixed memory leak in not freeing user_dn after use

22 years ago one attempt to solve the 'unresponsive child thread' problem.
aland [Wed, 6 Jun 2001 15:21:40 +0000 (15:21 +0000)]
one attempt to solve the 'unresponsive child thread' problem.

22 years ago Use the correct include file.
aland [Wed, 6 Jun 2001 15:20:08 +0000 (15:20 +0000)]
Use the correct include file.

Bug found by "Norman Brandinger" <norm@goes.com>

22 years agoChanged documentation to reflect new configuration defaults
pam [Wed, 6 Jun 2001 14:59:54 +0000 (14:59 +0000)]
Changed documentation to reflect new configuration defaults
Added missing "timelimit" configuration option

22 years agoFix longlasting errors in ldap configuration section
pam [Wed, 6 Jun 2001 14:58:52 +0000 (14:58 +0000)]
Fix longlasting errors in ldap configuration section
Changed reference to renamed rlm_ldap documentation

22 years agoFixed indefinite ldap query timeout.
cmiller [Wed, 6 Jun 2001 14:42:41 +0000 (14:42 +0000)]
Fixed indefinite ldap query timeout.

22 years ago minor mods to see if it compiles.
aland [Mon, 4 Jun 2001 21:09:21 +0000 (21:09 +0000)]
minor mods to see if it compiles.

22 years ago moved 'xprintf' to standard-type 'DEBUG2'
aland [Mon, 4 Jun 2001 15:17:44 +0000 (15:17 +0000)]
moved 'xprintf' to standard-type 'DEBUG2'

22 years ago Patch from Vesselin Atanasov <vesselin@bgnet.bg>, to make
aland [Mon, 4 Jun 2001 15:16:36 +0000 (15:16 +0000)]
Patch from Vesselin Atanasov <vesselin@bgnet.bg>, to make
it work properly when proxying

22 years ago* Updated cisco_snmp in checkrad.pl
miquels [Mon, 4 Jun 2001 12:40:02 +0000 (12:40 +0000)]
* Updated cisco_snmp in checkrad.pl

22 years agoAdded fix for password length mismatching what user gives.
cmiller [Sat, 2 Jun 2001 02:23:25 +0000 (02:23 +0000)]
Added fix for password length mismatching what user gives.

22 years agoPrevent stripping of executables, when devel flags are on.
cmiller [Sat, 2 Jun 2001 02:01:23 +0000 (02:01 +0000)]
Prevent stripping of executables, when devel flags are on.

22 years ago if we're doing synchronous proxies, then do NOT send another
aland [Fri, 1 Jun 2001 20:39:14 +0000 (20:39 +0000)]
if we're doing synchronous proxies, then do NOT send another
proxy request if we've received a proxy reply.

Based on input from Vesselin Atanasov <vesselin@bgnet.bg>

22 years ago Update the comments as per the latest documentation.
aland [Fri, 1 Jun 2001 16:13:30 +0000 (16:13 +0000)]
Update the comments as per the latest documentation.

22 years agoCorrected configure output for counter module failure.
cmiller [Fri, 1 Jun 2001 15:57:34 +0000 (15:57 +0000)]
Corrected configure output for counter module failure.

22 years ago If we've already sent a reply to the NAS, then do NOT process
aland [Tue, 29 May 2001 15:35:45 +0000 (15:35 +0000)]
If we've already sent a reply to the NAS, then do NOT process
a proxy reply through the server again.  Instead, we simply drop
the duplicate proxy reply.

Based on input from Vesselin Atanasov <vesselin@bgnet.bg>

23 years agoRemoved comment at corrected parenthesis placement.
cmiller [Tue, 29 May 2001 01:24:29 +0000 (01:24 +0000)]
Removed comment at corrected parenthesis placement.

23 years agodebian: updated 2 days of changelog.
cmiller [Mon, 28 May 2001 23:44:26 +0000 (23:44 +0000)]
debian: updated 2 days of changelog.

23 years agoKristina pointed out that the sense of the comparison is backwards. Wierd
cmiller [Mon, 28 May 2001 23:33:51 +0000 (23:33 +0000)]
Kristina pointed out that the sense of the comparison is backwards.  Wierd
that no one noticed before she did.

23 years agoPrints integer values as unsigned numbers. Bug reported by ulf.bremer@gmx.de,
cmiller [Mon, 28 May 2001 14:48:53 +0000 (14:48 +0000)]
Prints integer values as unsigned numbers.  Bug reported by ulf.bremer@gmx.de,
who must have users transferring an impressive >2^15 octets per session.

23 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.

23 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.

23 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

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

23 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)

23 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

23 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.

23 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>

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

23 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

23 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

23 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.

23 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

23 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>)

23 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.

23 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.

23 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.)

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

23 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.  :(

23 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