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.
jcarneal [Mon, 19 Mar 2001 20:52:19 +0000 (20:52 +0000)]
Bug. Forgot to check a pointer before dereferencing it.
aland [Mon, 19 Mar 2001 01:02:14 +0000 (01:02 +0000)]
Corrected functionality of Exec-Program-Wait, as the FreeRADIUS
'userparse' function returns slightly different values than the old
Cistron function.
Added a sample script, to show how it works.
Bug found by Stephan von Krawczynski <skraw@ithnet.com>
aland [Sun, 18 Mar 2001 18:50:57 +0000 (18:50 +0000)]
Removed attempt to build drivers. gmake isn't cooperating.
cmiller [Sun, 18 Mar 2001 05:14:05 +0000 (05:14 +0000)]
Added cool sanity checks for oft-changing stuff (man pages and conf files).
Removed radclient.1 from undocumented list.
aland [Sat, 17 Mar 2001 15:32:44 +0000 (15:32 +0000)]
If NOT using shared libraries, add '-dlpreopen' to the RLM_LIBS
line, so that any built drivers will be statically linked to the
main sql driver.
cmiller [Sat, 17 Mar 2001 14:41:28 +0000 (14:41 +0000)]
Removed new manpages from 'undocumented' list. Added clients.conf .
Now, shows only
check-radiusd-config.1.gz
checkrad.1.gz
radclient.1.gz
hints.5.gz
huntgroups.5.gz
proxy.conf.5.gz
clients.conf.5.gz
Updated directory usage.
cmiller [Sat, 17 Mar 2001 00:48:47 +0000 (00:48 +0000)]
Removed doc/ traversal.
cmiller [Sat, 17 Mar 2001 00:48:06 +0000 (00:48 +0000)]
Minor tweaks.
cmiller [Sat, 17 Mar 2001 00:47:03 +0000 (00:47 +0000)]
Unneeded file.
cmiller [Sat, 17 Mar 2001 00:07:02 +0000 (00:07 +0000)]
Removed bogus build-dep.
Added 3 dictionaries to conffiles.
aland [Fri, 16 Mar 2001 20:27:50 +0000 (20:27 +0000)]
Updated tests & set for regex.h
cmiller [Fri, 16 Mar 2001 04:46:19 +0000 (04:46 +0000)]
Fixed up some whitespace.
aland [Thu, 15 Mar 2001 21:40:09 +0000 (21:40 +0000)]
Added file from Jochen Friedrich <jochen@scram.de>
aland [Thu, 15 Mar 2001 20:20:01 +0000 (20:20 +0000)]
Added documentation for Cisco VSA hack.
aland [Thu, 15 Mar 2001 18:06:12 +0000 (18:06 +0000)]
Patch to include function sql_destroy_socket(), from
Bernhard Reiter <bernhard@intevation.de>
aland [Thu, 15 Mar 2001 18:03:10 +0000 (18:03 +0000)]
If RLM_SUBDIRS is defined, then recursively make 'common' for the
targets static, dynamic, and clean.
This allows the SQL module to build it's sub-modules.
Some minor changes to the SQL module build internals were made
to help this process.
aland [Thu, 15 Mar 2001 17:56:45 +0000 (17:56 +0000)]
Use $(INCLTDL) in the RLM_CFLAGS lines, so that we can find the
ltdl.h header file, where ever it is.
aland [Thu, 15 Mar 2001 15:04:52 +0000 (15:04 +0000)]
Fix checks for regular expressions, found by
"Sergey Kodentsev" <sergk@vmail.ru>
aland [Thu, 15 Mar 2001 14:47:29 +0000 (14:47 +0000)]
Include <inttypes.h> for Tru64 Unix.
Bug found by "Simon L. Jackson" <simon.jackson@sysworks.com.au>
aland [Wed, 14 Mar 2001 20:25:25 +0000 (20:25 +0000)]
Implemented callbacks for escape function.
Wrote escape function for shell characters, on exec.
aland [Wed, 14 Mar 2001 20:08:42 +0000 (20:08 +0000)]
Renamed radius_xlat2 to radius_xlat, as the old radius_xlat is now
gone.
New typedef for function callback, to escape the attribute string
values, when doing the radius_xlat. This is so that SQL, shell, etc
can escape their magic values, and the user sending RADIUS attributes
can't play games with them.
Made radius_xlat take this new function, but it doesn't currently
do anything with it.
cmiller [Wed, 14 Mar 2001 19:45:11 +0000 (19:45 +0000)]
Updated the configure option listing.
aland [Wed, 14 Mar 2001 16:48:13 +0000 (16:48 +0000)]
More attributes from the newer RFC's, from
Kostas Kalevras <kkalev@noc.ntua.gr>
pacman [Wed, 14 Mar 2001 06:54:54 +0000 (06:54 +0000)]
Just another round of "quiet the gcc warnings"
hartwick [Wed, 14 Mar 2001 00:23:06 +0000 (00:23 +0000)]
* Fix a spelling error
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.
cmiller [Tue, 13 Mar 2001 21:13:29 +0000 (21:13 +0000)]
Fixed #include referring to renamed file.
cmiller [Tue, 13 Mar 2001 20:15:04 +0000 (20:15 +0000)]
Added libiodbc2-dev to Build-depends.
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.
aland [Tue, 13 Mar 2001 18:11:11 +0000 (18:11 +0000)]
Copied from Cistron 1.6.5, with minor changes for FreeRADIUS
aland [Tue, 13 Mar 2001 18:04:07 +0000 (18:04 +0000)]
Added comments on '-l stderr'
aland [Tue, 13 Mar 2001 18:02:20 +0000 (18:02 +0000)]
Copied from Cistron, with minor touch-ups for FreeRADIUS.
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.
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.
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.
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.
cmiller [Tue, 13 Mar 2001 15:31:51 +0000 (15:31 +0000)]
Fixed double hyphen in mysql-lib location def.
cmiller [Tue, 13 Mar 2001 04:53:18 +0000 (04:53 +0000)]
Readded 'clean' as dep in build-indep.
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.
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>
cmiller [Mon, 12 Mar 2001 17:07:18 +0000 (17:07 +0000)]
Made logfile rotater $logdir aware.
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.
aland [Mon, 12 Mar 2001 16:52:03 +0000 (16:52 +0000)]
Replaced sprintf with snprintf
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.
aland [Mon, 12 Mar 2001 16:36:17 +0000 (16:36 +0000)]
Define exec_prefix, as noted by Administrator <admin@postel.sk>
aland [Mon, 12 Mar 2001 15:56:33 +0000 (15:56 +0000)]
Massive changes to get SNMP auto-configured && working.
aland [Mon, 12 Mar 2001 15:06:47 +0000 (15:06 +0000)]
Copied MySQL checks to similar code for Oracle && ODBC.
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.
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/
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
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.
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>
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>
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>
aland [Fri, 9 Mar 2001 18:30:09 +0000 (18:30 +0000)]
One more pass at MySQL configuration.
aland [Fri, 9 Mar 2001 18:27:18 +0000 (18:27 +0000)]
Updated to remove all references to GDBM_SYNC
aland [Fri, 9 Mar 2001 16:44:45 +0000 (16:44 +0000)]
One more try for getting configuration of mysql to work.
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.
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..
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.
aland [Thu, 8 Mar 2001 17:40:07 +0000 (17:40 +0000)]
Preliminary checks for mysql libraries && header files.
aland [Thu, 8 Mar 2001 16:56:26 +0000 (16:56 +0000)]
Added example of how to use the script
cmiller [Wed, 7 Mar 2001 22:30:52 +0000 (22:30 +0000)]
Reordered "missing.h" after what it's #ifndef'ing for.
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.
aland [Wed, 7 Mar 2001 17:25:09 +0000 (17:25 +0000)]
Included a better fix for REG_EXTENDED
aland [Wed, 7 Mar 2001 17:23:22 +0000 (17:23 +0000)]
Minor fix for apparent bug # 108
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.
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.
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>
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.
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>
aland [Tue, 6 Mar 2001 18:10:06 +0000 (18:10 +0000)]
PostgreSQL configure checks, from a patch by
Jason Slagle <raistlin@tacorp.net>
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.
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.
aland [Tue, 6 Mar 2001 16:18:52 +0000 (16:18 +0000)]
Updated with changes from:
Emanuel Moura dos Santos <ems@unforgettable.com>
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.
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.