freeradius.git
23 years agoJust another round of "quiet the gcc warnings"
pacman [Wed, 14 Mar 2001 06:54:54 +0000 (06:54 +0000)]
Just another round of "quiet the gcc warnings"

23 years ago * Fix a spelling error
hartwick [Wed, 14 Mar 2001 00:23:06 +0000 (00:23 +0000)]
* Fix a spelling error

23 years ago added RLM_INSTALL target, so that the modules can tell the
aland [Tue, 13 Mar 2001 23:19:36 +0000 (23:19 +0000)]
added RLM_INSTALL target, so that the modules can tell the
upper-layer install rules to call module-specific install targets.

23 years agoFixed #include referring to renamed file.
cmiller [Tue, 13 Mar 2001 21:13:29 +0000 (21:13 +0000)]
Fixed #include referring to renamed file.

23 years agoAdded libiodbc2-dev to Build-depends.
cmiller [Tue, 13 Mar 2001 20:15:04 +0000 (20:15 +0000)]
Added libiodbc2-dev to Build-depends.

23 years ago new 'with cisco VSA hack', based on a patch by
aland [Tue, 13 Mar 2001 19:09:06 +0000 (19:09 +0000)]
new 'with cisco VSA hack', based on a patch by
Administrator <admin@postel.sk>

Cisco sends VSA's like: H323-Attribute = "h323-attribute=value"
This is stupid.

The patch was modified to re-write *only* Cisco VSA's.

23 years ago Copied from Cistron 1.6.5, with minor changes for FreeRADIUS
aland [Tue, 13 Mar 2001 18:11:11 +0000 (18:11 +0000)]
Copied from Cistron 1.6.5, with minor changes for FreeRADIUS

23 years ago Added comments on '-l stderr'
aland [Tue, 13 Mar 2001 18:04:07 +0000 (18:04 +0000)]
Added comments on '-l stderr'

23 years ago Copied from Cistron, with minor touch-ups for FreeRADIUS.
aland [Tue, 13 Mar 2001 18:02:20 +0000 (18:02 +0000)]
Copied from Cistron, with minor touch-ups for FreeRADIUS.

23 years ago * Add a check that prevents the server from seg faulting if
hartwick [Tue, 13 Mar 2001 17:35:43 +0000 (17:35 +0000)]
* Add a check that prevents the server from seg faulting if
  row[0] happens to be NULL.

23 years ago Patch from Bernhard Reiter <bernhard@intevation.de>
aland [Tue, 13 Mar 2001 17:20:41 +0000 (17:20 +0000)]
Patch from Bernhard Reiter <bernhard@intevation.de>

Add '-I' to the include directory, to turn it into something we
can use for CFLAGS.

23 years ago Patches from Yury Bokhoncovich <byg@center-f1.ru>
aland [Tue, 13 Mar 2001 17:19:05 +0000 (17:19 +0000)]
Patches from Yury Bokhoncovich <byg@center-f1.ru>

Just to compile the driver.

23 years ago Patch from Yury Bokhoncovich <byg@center-f1.ru>
aland [Tue, 13 Mar 2001 17:08:31 +0000 (17:08 +0000)]
Patch from Yury Bokhoncovich <byg@center-f1.ru>

The following patch change all "default 'now'" construction for
"default now()". This is more correct. 'now' expression leads us to
troubles in PgSQL v6.53 anyway.

23 years agoFixed double hyphen in mysql-lib location def.
cmiller [Tue, 13 Mar 2001 15:31:51 +0000 (15:31 +0000)]
Fixed double hyphen in mysql-lib location def.

23 years agoReadded 'clean' as dep in build-indep.
cmiller [Tue, 13 Mar 2001 04:53:18 +0000 (04:53 +0000)]
Readded 'clean' as dep in build-indep.

23 years ago Minor code re-arrangements, to strip the user name for realms
aland [Mon, 12 Mar 2001 22:00:42 +0000 (22:00 +0000)]
Minor code re-arrangements, to strip the user name for realms
which are NOT proxied.

23 years ago Enable logging to do to stderr, just like stdout.
aland [Mon, 12 Mar 2001 19:25:28 +0000 (19:25 +0000)]
Enable logging to do to stderr, just like stdout.

Change request by Antonio Dias <accdias@sst.com.br>

23 years agoMade logfile rotater $logdir aware.
cmiller [Mon, 12 Mar 2001 17:07:18 +0000 (17:07 +0000)]
Made logfile rotater $logdir aware.

23 years ago Removed 'clean' dep from build-indep rule.
cmiller [Mon, 12 Mar 2001 17:01:10 +0000 (17:01 +0000)]
Removed 'clean' dep from build-indep rule.
Added lib/freeradius and log/freeradius dirs to list.
Updated changelog.

23 years ago Replaced sprintf with snprintf
aland [Mon, 12 Mar 2001 16:52:03 +0000 (16:52 +0000)]
Replaced sprintf with snprintf

23 years ago Changed sprintf's to snprintf's, now that we have snprintf in the
aland [Mon, 12 Mar 2001 16:48:14 +0000 (16:48 +0000)]
Changed sprintf's to snprintf's, now that we have snprintf in the
source tree.

23 years ago Define exec_prefix, as noted by Administrator <admin@postel.sk>
aland [Mon, 12 Mar 2001 16:36:17 +0000 (16:36 +0000)]
Define exec_prefix, as noted by Administrator <admin@postel.sk>

23 years ago Massive changes to get SNMP auto-configured && working.
aland [Mon, 12 Mar 2001 15:56:33 +0000 (15:56 +0000)]
Massive changes to get SNMP auto-configured && working.

23 years ago Copied MySQL checks to similar code for Oracle && ODBC.
aland [Mon, 12 Mar 2001 15:06:47 +0000 (15:06 +0000)]
Copied MySQL checks to similar code for Oracle && ODBC.

23 years agoFixed bug which caused module to fail, if after ldap server transition through
pam [Sun, 11 Mar 2001 15:48:57 +0000 (15:48 +0000)]
Fixed bug which caused module to fail, if after ldap server transition through
up->down->up states.

23 years ago - added Build-depends for SQL and gdbm libraries
cmiller [Sat, 10 Mar 2001 17:08:06 +0000 (17:08 +0000)]
 - added Build-depends for SQL and gdbm libraries
 - put modules in own directory, instead of system /usr/lib/

23 years agoAdded author of first LDAP patch to the credit/reference comments.
pam [Sat, 10 Mar 2001 14:20:20 +0000 (14:20 +0000)]
Added author of first LDAP patch to the credit/reference comments.
Small formatting changes in comments

23 years agoModified the rlm_sql driver Makefiles to use the new autoconf values. Removed rlm_sql...
mmachado [Sat, 10 Mar 2001 01:49:04 +0000 (01:49 +0000)]
Modified the rlm_sql driver Makefiles to use the new autoconf values. Removed rlm_sql specific checkconfig.

23 years ago Added code back to make Password && CHAP-Password work together.
aland [Fri, 9 Mar 2001 20:16:38 +0000 (20:16 +0000)]
Added code back to make Password && CHAP-Password work together.

Bug found by Erik Heinz <erik@iks-jena.de>

23 years ago Corrected location of 'readme' file, noted by
aland [Fri, 9 Mar 2001 20:10:46 +0000 (20:10 +0000)]
Corrected location of 'readme' file, noted by
Hans Grobler <grobh@sun.ac.za>

23 years ago If an 'authorize' module returns REJECT, then presume that IT
aland [Fri, 9 Mar 2001 19:57:27 +0000 (19:57 +0000)]
If an 'authorize' module returns REJECT, then presume that IT
is smart enough to re-write the reply pairs.

The main server no longer deletes them.

Based on a report from "spirn" <spirn@21cn.com>

23 years ago One more pass at MySQL configuration.
aland [Fri, 9 Mar 2001 18:30:09 +0000 (18:30 +0000)]
One more pass at MySQL configuration.

23 years ago Updated to remove all references to GDBM_SYNC
aland [Fri, 9 Mar 2001 18:27:18 +0000 (18:27 +0000)]
Updated to remove all references to GDBM_SYNC

23 years ago One more try for getting configuration of mysql to work.
aland [Fri, 9 Mar 2001 16:44:45 +0000 (16:44 +0000)]
One more try for getting configuration of mysql to work.

23 years agoUpdated rlm_sql README. Fixed autoconf for sql drivers. Fixed typo in rules.mak which...
mmachado [Thu, 8 Mar 2001 23:05:53 +0000 (23:05 +0000)]
Updated rlm_sql README. Fixed autoconf for sql drivers. Fixed typo in rules.mak which prevented the drivers from linking to their database libraries.

23 years ago More checks for IODBC, MySQL, and Oracle. I have *no* clue
aland [Thu, 8 Mar 2001 21:50:35 +0000 (21:50 +0000)]
More checks for IODBC, MySQL, and Oracle.  I have *no* clue
if they work, but they're based on a pretty-much working template..

23 years ago Removed GDBM_SYNC, as only one module used it, and that module
aland [Thu, 8 Mar 2001 21:31:21 +0000 (21:31 +0000)]
Removed GDBM_SYNC, as only one module used it, and that module
didn't even need it.

23 years ago Preliminary checks for mysql libraries && header files.
aland [Thu, 8 Mar 2001 17:40:07 +0000 (17:40 +0000)]
Preliminary checks for mysql libraries && header files.

23 years ago Added example of how to use the script
aland [Thu, 8 Mar 2001 16:56:26 +0000 (16:56 +0000)]
Added example of how to use the script

23 years agoReordered "missing.h" after what it's #ifndef'ing for.
cmiller [Wed, 7 Mar 2001 22:30:52 +0000 (22:30 +0000)]
Reordered "missing.h" after what it's #ifndef'ing for.

23 years ago Look for REG_EXTENDED in regex.h.
aland [Wed, 7 Mar 2001 19:53:10 +0000 (19:53 +0000)]
Look for REG_EXTENDED in regex.h.

Also, define in 'radiusd.conf', whether or not we have regular
expressions, and if we have extended regular expressions.

Nothing currently uses these defines, though.

23 years ago Included a better fix for REG_EXTENDED
aland [Wed, 7 Mar 2001 17:25:09 +0000 (17:25 +0000)]
Included a better fix for REG_EXTENDED

23 years ago Minor fix for apparent bug # 108
aland [Wed, 7 Mar 2001 17:23:22 +0000 (17:23 +0000)]
Minor fix for apparent bug # 108

23 years agoSome GDBMs use synchronous access by default, it seems, and GDBM_SYNC
cmiller [Wed, 7 Mar 2001 16:55:31 +0000 (16:55 +0000)]
Some GDBMs use synchronous access by default, it seems, and GDBM_SYNC
isn't defined.  Fixed that.

23 years ago Try adding for -lcrypto, if we're trying to use SNMP, and linking
aland [Wed, 7 Mar 2001 15:21:33 +0000 (15:21 +0000)]
Try adding for -lcrypto, if we're trying to use SNMP, and linking
against the bare -lsnmp failed.

23 years ago If we have POSIX regular expressions, check if REG_EXTENDED
aland [Wed, 7 Mar 2001 15:15:12 +0000 (15:15 +0000)]
If we have POSIX regular expressions, check if REG_EXTENDED
is defined.  If so, use it.

If not, #define it to be (0), so that we can use it in the
main source.

From a patch by Erik Heinz <erik@iks-jena.de>

23 years agoChanged comments calling the code Cistron to FreeRADIUS. Corrected some
cmiller [Tue, 6 Mar 2001 23:44:50 +0000 (23:44 +0000)]
Changed comments calling the code Cistron to FreeRADIUS.  Corrected some
docs of factual errors.

23 years ago provide an easy way to move users from old cistron's config files
aland [Tue, 6 Mar 2001 20:48:51 +0000 (20:48 +0000)]
provide an easy way to move users from old cistron's config files
into LDAP (by creating a suitable ldif file that works with the
schema proposed in the Readme)

Submitted by

Javier Fernandez-Sanguino =?iso-8859-1?Q?Pe=F1a?= <jfernandez@sgi.es>

23 years ago PostgreSQL configure checks, from a patch by
aland [Tue, 6 Mar 2001 18:10:06 +0000 (18:10 +0000)]
PostgreSQL configure checks, from a patch by

Jason Slagle <raistlin@tacorp.net>

23 years ago Made the 'counter' module a little more useful, and added it's
aland [Tue, 6 Mar 2001 17:29:40 +0000 (17:29 +0000)]
Made the 'counter' module a little more useful, and added it's
configuration to the sample radiusd.conf.

23 years ago Explicit initialization of static variables.
aland [Tue, 6 Mar 2001 17:25:08 +0000 (17:25 +0000)]
Explicit initialization of static variables.

Allowed dict_addattr() to be given '-1' as an attribute value,
in which case it picks a new, unused attribute value.

23 years ago Updated with changes from:
aland [Tue, 6 Mar 2001 16:18:52 +0000 (16:18 +0000)]
Updated with changes from:

Emanuel Moura dos Santos <ems@unforgettable.com>

23 years ago Added preliminary code to re-set the database every hour/day/week.
aland [Mon, 5 Mar 2001 22:07:14 +0000 (22:07 +0000)]
Added preliminary code to re-set the database every hour/day/week.

Resetting it every month is harder, so I won't do that right now.

It still doesn't have configurable counter attributes.  We'd like to
be able to say:

DEFAULT My-Counter < value

and define 'My-Counter' in radiusd.conf.

23 years ago Added paircompare_register, so that we can examine the counter
aland [Mon, 5 Mar 2001 21:52:58 +0000 (21:52 +0000)]
Added paircompare_register, so that we can examine the counter
from the 'users' file.

23 years ago Initial stab at counting information.
aland [Mon, 5 Mar 2001 21:12:07 +0000 (21:12 +0000)]
Initial stab at counting information.

Use a GDBM file, key on a user-supplied attribute, and user another
user-supplied attribute as the count. Right now, it only does
accounting, and does no checks for authorization (e.g. count > value)

It also does little or no error checking.

It also doesn't reset it's count, ever.  It should do so automatically.

23 years agoQuoted the rlm_sql_mysql in the sql config file
mmachado [Mon, 5 Mar 2001 19:15:54 +0000 (19:15 +0000)]
Quoted the rlm_sql_mysql in the sql config file

23 years ago Added VOIP attributes from Cisco's web page.
aland [Mon, 5 Mar 2001 17:56:58 +0000 (17:56 +0000)]
Added VOIP attributes from Cisco's web page.

23 years ago Added pointer to Cisco's web page.
aland [Mon, 5 Mar 2001 17:53:32 +0000 (17:53 +0000)]
Added pointer to Cisco's web page.

23 years ago Corrected typo, noted by Administrator <admin@postel.sk>
aland [Mon, 5 Mar 2001 15:58:54 +0000 (15:58 +0000)]
Corrected typo, noted by  Administrator <admin@postel.sk>

23 years ago*** empty log message ***
cmiller [Mon, 5 Mar 2001 03:58:00 +0000 (03:58 +0000)]
*** empty log message ***

23 years ago Changed priority, added conffiles and tweaked config file output.
cmiller [Mon, 5 Mar 2001 03:51:58 +0000 (03:51 +0000)]
Changed priority, added conffiles and tweaked config file output.

23 years agoTweaks.
cmiller [Mon, 5 Mar 2001 03:48:53 +0000 (03:48 +0000)]
Tweaks.

23 years ago Code "cleanups." I confess that I sometimes went beyond the TODO
cmiller [Mon, 5 Mar 2001 03:42:10 +0000 (03:42 +0000)]
Code "cleanups."  I confess that I sometimes went beyond the TODO
suggestions with changes to brace styles and explicit testing.  :/

I tested it lightly, and I don't see any breakage.  I hope it's not
broken anywhere!

23 years ago Moved local #includes after global ones. (So "missing.h" is after
cmiller [Mon, 5 Mar 2001 03:32:35 +0000 (03:32 +0000)]
Moved local #includes after global ones.  (So "missing.h" is after
<netinet/in.h>, especially.  I get warnings otherwise.)

23 years ago Y2K readiness statements are no longer relevant
aland [Sun, 4 Mar 2001 20:18:59 +0000 (20:18 +0000)]
Y2K readiness statements are no longer relevant

23 years ago Removed dependence on pam_pwdb, as pam_unix_* does the same thing,
aland [Sun, 4 Mar 2001 16:39:55 +0000 (16:39 +0000)]
Removed dependence on pam_pwdb, as pam_unix_* does the same thing,
but in a MUCH more intelligent fashion.

23 years ago Allow environment variable expansion in the configuration file,
aland [Thu, 1 Mar 2001 22:34:10 +0000 (22:34 +0000)]
Allow environment variable expansion in the configuration file,
via $ENV{}   e.g. $ENV{PATH}

This is a low priority item, but was easy to add..

23 years ago Updated the $INCLUDE code to allow for included files
cparker [Thu, 1 Mar 2001 05:59:53 +0000 (05:59 +0000)]
Updated the $INCLUDE code to allow for included files
below the top level.  Tested with include 'sql.conf'
inside 'modules' sub-section successfully.

23 years ago Do not treat 'Password' attributes as special any more. The radius
aland [Wed, 28 Feb 2001 22:04:57 +0000 (22:04 +0000)]
Do not treat 'Password' attributes as special any more.  The radius
code decrypts them, so they now become attributes like any other.

Based on bug reported by "Sergey Kodentsev" <sergk@ic.vrn.ru>

23 years ago This file is no longer relevant. The rlm_ldap README describes
aland [Wed, 28 Feb 2001 16:14:59 +0000 (16:14 +0000)]
This file is no longer relevant.  The rlm_ldap README describes
it in more detail.

23 years agoAdded path to libltdl to find headers
mmachado [Wed, 28 Feb 2001 00:10:24 +0000 (00:10 +0000)]
Added path to libltdl to find headers

23 years ago Added a few more cisco attributes
aland [Tue, 27 Feb 2001 15:03:56 +0000 (15:03 +0000)]
Added a few more cisco attributes

23 years ago Added comment suggesting use of clients.conf instead.
cmiller [Mon, 26 Feb 2001 21:47:47 +0000 (21:47 +0000)]
Added comment suggesting use of clients.conf instead.

23 years ago Added two style hints.
cmiller [Mon, 26 Feb 2001 21:38:53 +0000 (21:38 +0000)]
Added two style hints.

23 years ago Added HOSTINFO definition, which is a string like "i586-pc-linux-gnu".
aland [Fri, 23 Feb 2001 21:35:22 +0000 (21:35 +0000)]
Added HOSTINFO definition, which is a string like "i586-pc-linux-gnu".

Also made the string used in the SNMP ident.

23 years ago Added portable 'snprintf' and 'vsnprintf' to the source tree.
aland [Fri, 23 Feb 2001 21:25:57 +0000 (21:25 +0000)]
Added portable 'snprintf' and 'vsnprintf' to the source tree.

23 years ago Added checks and extensions for future use of local 'snprintf',
aland [Fri, 23 Feb 2001 21:20:49 +0000 (21:20 +0000)]
Added checks and extensions for future use of local 'snprintf',
if the system isn't smart enough to include one.

23 years ago removed unused header template files
aland [Fri, 23 Feb 2001 21:10:09 +0000 (21:10 +0000)]
removed unused header template files

23 years agoSwitched back to new authorize code. $INCLUDE for sql.conf is not working. Can you...
mmachado [Fri, 23 Feb 2001 20:20:26 +0000 (20:20 +0000)]
Switched back to new authorize code. $INCLUDE for sql.conf is not working. Can you do an $INCLUDE within the modules{} section??

23 years ago Made 'decode_attribute' take a 'const' as it's first argument, so
aland [Thu, 22 Feb 2001 23:55:58 +0000 (23:55 +0000)]
Made 'decode_attribute' take a 'const' as it's first argument, so
that we can pass it pointers taken from 'const char *fmt', in the
xlat routine.

23 years agoAdded driver option to sql config file
mmachado [Thu, 22 Feb 2001 07:05:25 +0000 (07:05 +0000)]
Added driver option to sql config file

23 years agoUpdated documentation and changed Makefile
mmachado [Wed, 21 Feb 2001 22:08:25 +0000 (22:08 +0000)]
Updated documentation and changed Makefile

23 years agoldap.attrmap now includes comments about using generic LDAP attributes for
pam [Wed, 21 Feb 2001 08:03:32 +0000 (08:03 +0000)]
ldap.attrmap now includes comments about using generic LDAP attributes for
storing RADIUS Check and Reply pairs.

23 years agoGet rid of references to my old address
pacman [Tue, 20 Feb 2001 20:55:30 +0000 (20:55 +0000)]
Get rid of references to my old address

23 years agoMake the 5 packet methods into an array within module_t - now calling them
pacman [Tue, 20 Feb 2001 20:51:32 +0000 (20:51 +0000)]
Make the 5 packet methods into an array within module_t - now calling them
doesn't require a big switch()

23 years agoAdded ldap.attrmap which specifies mapping between LDAP and RADIUS attributes
pam [Tue, 20 Feb 2001 10:28:46 +0000 (10:28 +0000)]
Added ldap.attrmap which specifies mapping between LDAP and RADIUS attributes
Changed radius.conf to reflect current rlm_ldap configuration options

23 years agoAttempt in better documenting rlm_ldap configuration and use
pam [Tue, 20 Feb 2001 10:25:42 +0000 (10:25 +0000)]
Attempt in better documenting rlm_ldap configuration and use
All current options documented

23 years ago* Added patch by Hannu Laurila <hannu.laurila@japo.fi> for configuartion of
pam [Tue, 20 Feb 2001 10:24:22 +0000 (10:24 +0000)]
* Added patch by Hannu Laurila <hannu.laurila@japo.fi> for configuartion of
LDAP to RADIUS attribute mappings.
Now rlm_ldap supports both RADIUS-specific LDAP attributes (a la IETF draft)
and generic LDAP attributes stroring Check-Item and Reply-Item value pairs.
* Added ldap_debug configuration option to facilitate tracing LDAP SDK
operations

23 years ago * Remove a bunch of variables that were included but never really
hartwick [Sun, 18 Feb 2001 19:58:25 +0000 (19:58 +0000)]
* Remove a bunch of variables that were included but never really
  used.  The CONF_PARSER table is now just the NULL line.

23 years agoOk, make system done, but have to figure out how to deal with targets in the rules...
mmachado [Fri, 16 Feb 2001 05:56:27 +0000 (05:56 +0000)]
Ok, make system done, but have to figure out how to deal with targets in the rules.mak file...

23 years agosyntax error fix
mmachado [Fri, 16 Feb 2001 05:51:53 +0000 (05:51 +0000)]
syntax error fix

23 years agoAdded new Makefile system based on the rlm modules Makefiles
mmachado [Thu, 15 Feb 2001 20:40:50 +0000 (20:40 +0000)]
Added new Makefile system based on the rlm modules Makefiles

23 years ago Removed CR's from the source files, so that they're UNIX files,
aland [Thu, 15 Feb 2001 20:06:35 +0000 (20:06 +0000)]
Removed CR's from the source files, so that they're UNIX files,
and not DOS.

23 years agoInital makefiles for drivers that don't work. HELP!
mmachado [Thu, 15 Feb 2001 18:14:30 +0000 (18:14 +0000)]
Inital makefiles for drivers that don't work. HELP!

23 years agoAdded a second mode of operation to cf_section_parse, where it takes a base
pacman [Thu, 15 Feb 2001 07:26:08 +0000 (07:26 +0000)]
Added a second mode of operation to cf_section_parse, where it takes a base
pointer and uses offsets instead of absolute pointers (just like the way
XtGetApplicationResources works). Changed all modules that were using
cf_section_parse to use this new mode, so they can parse directly into their
instance structure instead of going through a static temporary variable.

23 years agoFixed data type on error module call
mmachado [Wed, 14 Feb 2001 21:43:38 +0000 (21:43 +0000)]
Fixed data type on error module call

23 years agoReanmed sql_create_socket to sql_init_socket
mmachado [Wed, 14 Feb 2001 21:35:43 +0000 (21:35 +0000)]
Reanmed sql_create_socket to sql_init_socket

Modified postgres code into a dynamic rlm_sql driver

23 years agoWas leaking on detach and destroy (or detach and instantiate, depending on
pacman [Wed, 14 Feb 2001 09:31:35 +0000 (09:31 +0000)]
Was leaking on detach and destroy (or detach and instantiate, depending on
whether your point of view). No more leaks, I hope.

23 years agoWas leaking memory on module unload
pacman [Wed, 14 Feb 2001 08:26:48 +0000 (08:26 +0000)]
Was leaking memory on module unload

23 years agoDynamically loadable database drivers support. Code compiles, but due to Jeffs config...
mmachado [Tue, 13 Feb 2001 06:23:40 +0000 (06:23 +0000)]
Dynamically loadable database drivers support. Code compiles, but due to Jeffs configurable queries I have been unable to test :) I need to talk to Jeff before I can *fix* it. I think all the module abstractions are working though. It should also be easy to port for the other database types. More experenced lt_dl people are welcome to criticize my modules code... This is my first dl application, so be nice.

I am particaully proud of how it handles database specific connections. It used a void * in the SQLSOCK struct that driver authors can point at their own private structure definitions. A SQLSOCK is passed to every module function. Also, this allowed all the threading code to be handled in the main rlm_sql. As for as I can see, any database driver will be thread safe without even having to touch threads code.