aland [Mon, 7 May 2001 18:45:40 +0000 (18:45 +0000)]
changed example operator so that it won't complain.
mmachado [Mon, 7 May 2001 16:51:47 +0000 (16:51 +0000)]
Applied Orable fixed provided by Vladimir Krymov <krymov@oskolnet.ru>
aland [Mon, 7 May 2001 14:39:02 +0000 (14:39 +0000)]
Added note saying that this file is deprecated
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().
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.
cmiller [Sun, 6 May 2001 21:36:25 +0000 (21:36 +0000)]
debian: updated changelog listing.
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.)
cmiller [Sun, 6 May 2001 00:28:32 +0000 (00:28 +0000)]
debian: removed date until I'm ready to release.
cmiller [Sat, 5 May 2001 22:04:46 +0000 (22:04 +0000)]
debian: make long line continuation where same environment needed.
cmiller [Sat, 5 May 2001 21:39:56 +0000 (21:39 +0000)]
debian: build-dep on debhelper.
cmiller [Sat, 5 May 2001 21:18:52 +0000 (21:18 +0000)]
debian: fixed sid dependencies.
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.
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.
cmiller [Fri, 4 May 2001 19:11:10 +0000 (19:11 +0000)]
debian: Set date and version number.
aland [Fri, 4 May 2001 16:58:04 +0000 (16:58 +0000)]
centralized the handling of the version number, prior to going
to beta.
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>
cmiller [Wed, 2 May 2001 23:19:54 +0000 (23:19 +0000)]
Merged duplicate code: sql_select_query into sql_query.
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.
aland [Tue, 1 May 2001 15:07:25 +0000 (15:07 +0000)]
If we're using local snprintf, ensure that we include stdarg.h
aland [Fri, 27 Apr 2001 15:16:35 +0000 (15:16 +0000)]
Added dictionary.erx, from Terje Krogdahl <tekr@nextra.com>
aland [Fri, 27 Apr 2001 14:53:11 +0000 (14:53 +0000)]
Merged Cistron changes with updates from Ed Bacher
aland [Thu, 26 Apr 2001 20:25:03 +0000 (20:25 +0000)]
Print out 'host=', too.
patch from Yury Bokhoncovich <byg@center-f1.ru>
aland [Thu, 26 Apr 2001 19:38:49 +0000 (19:38 +0000)]
removed old documentation.
aland [Thu, 26 Apr 2001 16:26:46 +0000 (16:26 +0000)]
The second argument to 'bind' is 'struct sockaddr', NOT
'struct sockaddr_in'
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.
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>
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>
aland [Tue, 24 Apr 2001 15:14:18 +0000 (15:14 +0000)]
removed annoying -Waggregate-return warning
aland [Mon, 23 Apr 2001 16:52:33 +0000 (16:52 +0000)]
removed unused functions
aland [Mon, 23 Apr 2001 16:47:13 +0000 (16:47 +0000)]
Enabled configurable control of whether or not unresponsive
children are killed.
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>
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.
aland [Fri, 20 Apr 2001 18:06:32 +0000 (18:06 +0000)]
Make escaped string buffer large enough.
Bernhard Herzog <bh@intevation.de>
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>
aland [Fri, 20 Apr 2001 17:45:57 +0000 (17:45 +0000)]
Corrected error messages, based on comments from
Thomas Jalsovsky <admin@postel.sk>
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.
cmiller [Fri, 20 Apr 2001 00:03:26 +0000 (00:03 +0000)]
getspnam() in libc didn't define HAVE_GETSPNAM. My oversight. Sorry!
pam [Tue, 17 Apr 2001 15:28:14 +0000 (15:28 +0000)]
Make configure SMART - use AC_SMART_CHECK_* instead.
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.
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.
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.
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>
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>
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
aland [Thu, 12 Apr 2001 15:30:34 +0000 (15:30 +0000)]
Fixed memory leak.
Patch from Bernhard Herzog <bh@intevation.de>
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>
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>
aland [Thu, 12 Apr 2001 15:17:27 +0000 (15:17 +0000)]
removed unneeded text
cmiller [Thu, 12 Apr 2001 00:37:27 +0000 (00:37 +0000)]
Put ldflags correctly in Makefile. define HAVE_MYSQL_H in right spot.
aland [Wed, 11 Apr 2001 16:40:47 +0000 (16:40 +0000)]
Added patch from Bernhard Herzog <bh@intevation.de>
aland [Wed, 11 Apr 2001 15:10:03 +0000 (15:10 +0000)]
Patch from Bernhard Herzog <bh@intevation.de> to make it
non-blocking.
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.
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.
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.
aland [Tue, 10 Apr 2001 14:11:55 +0000 (14:11 +0000)]
include all of the available dictionaries by default
aland [Tue, 10 Apr 2001 14:11:37 +0000 (14:11 +0000)]
commented out values where no attribute for them was defined
aland [Tue, 10 Apr 2001 14:06:40 +0000 (14:06 +0000)]
Updated to make it load
aland [Tue, 10 Apr 2001 13:56:32 +0000 (13:56 +0000)]
moved #if 0 / #endif, so that the useful code gets executed.
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.
cmiller [Thu, 5 Apr 2001 21:16:40 +0000 (21:16 +0000)]
Added autoconf to mysql. Improved LDAP autoconf.
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>
cmiller [Thu, 5 Apr 2001 13:51:01 +0000 (13:51 +0000)]
Better documented example.
cmiller [Thu, 5 Apr 2001 00:08:13 +0000 (00:08 +0000)]
Added autoconf.
cmiller [Thu, 5 Apr 2001 00:07:48 +0000 (00:07 +0000)]
Added autoconf to rlm_unix.
cmiller [Thu, 5 Apr 2001 00:06:01 +0000 (00:06 +0000)]
Fixed a "/*" to "*/" .
cmiller [Wed, 4 Apr 2001 22:36:02 +0000 (22:36 +0000)]
'config.status' is another file to remove on cleans.
cmiller [Wed, 4 Apr 2001 22:34:46 +0000 (22:34 +0000)]
Found appropriate test for k5crypto library.
cmiller [Wed, 4 Apr 2001 22:31:38 +0000 (22:31 +0000)]
Added PAM autoconfig.
cmiller [Wed, 4 Apr 2001 22:31:14 +0000 (22:31 +0000)]
Moved clean of config stuff to 'clean' rule, from 'distclean' rule.
cmiller [Wed, 4 Apr 2001 20:44:15 +0000 (20:44 +0000)]
Put in necessary commas.
cmiller [Wed, 4 Apr 2001 20:23:49 +0000 (20:23 +0000)]
Added LDAP autoconf stuff.
cmiller [Wed, 4 Apr 2001 20:14:52 +0000 (20:14 +0000)]
I spell 'dependency' differently on prime-numbered days of the month.
cmiller [Wed, 4 Apr 2001 17:06:06 +0000 (17:06 +0000)]
Added krb5 autoconf.
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
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.
aland [Mon, 2 Apr 2001 15:10:01 +0000 (15:10 +0000)]
When using threads, do NOT kill unresponsive children.
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>
cmiller [Sun, 1 Apr 2001 20:55:38 +0000 (20:55 +0000)]
Added a short HOWTO on submitting a bug report.
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.
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.
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
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>
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>
cmiller [Wed, 28 Mar 2001 00:09:26 +0000 (00:09 +0000)]
Changed sense of configuring with no parameters and some deps missing.
cmiller [Tue, 27 Mar 2001 05:32:28 +0000 (05:32 +0000)]
First distrib-configure test release.
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
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.
jcarneal [Fri, 23 Mar 2001 18:14:41 +0000 (18:14 +0000)]
Part of escaping patch.
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.
jcarneal [Thu, 22 Mar 2001 23:36:27 +0000 (23:36 +0000)]
sql user escape patch
jcarneal [Thu, 22 Mar 2001 23:35:21 +0000 (23:35 +0000)]
sql user escape patch
mmachado [Thu, 22 Mar 2001 20:13:48 +0000 (20:13 +0000)]
Few oracle fixups and converted iODBC driver to use dynamic driver code
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.
aland [Thu, 22 Mar 2001 16:56:38 +0000 (16:56 +0000)]
Include sql_oracle.h
Note by <bswhb@263.net>
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.
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.
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.
miquels [Thu, 22 Mar 2001 13:44:15 +0000 (13:44 +0000)]
* Updated checkrad.pl.in - no need to edit Portmaster settings anymore
cmiller [Tue, 20 Mar 2001 12:41:32 +0000 (12:41 +0000)]
Removed fatal-looking error and added descriptive comment to client_find()
function.
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.