freeradius.git
19 years agoAdd a radiusObjectProfile objectclass to be used for creating radius profile
kkalev [Wed, 9 Feb 2005 12:56:19 +0000 (12:56 +0000)]
Add a radiusObjectProfile objectclass to be used for creating radius profile
objects if none other objectclass can be used (like *person objectclass, etc)
Original idea and patch by Novell

19 years agoUpdate example.pl with a patch from Thor Spruyt (bug #195)
kkalev [Wed, 9 Feb 2005 12:48:31 +0000 (12:48 +0000)]
Update example.pl with a patch from Thor Spruyt (bug #195)

19 years agoAdd an rlm_perl patch from Thor Spruyt (bug #196)
kkalev [Wed, 9 Feb 2005 12:46:20 +0000 (12:46 +0000)]
Add an rlm_perl patch from Thor Spruyt (bug #196)

19 years agoUpdate dictionary.garderos with patch from Thor Spruyt (bug #205)
kkalev [Wed, 9 Feb 2005 12:44:12 +0000 (12:44 +0000)]
Update dictionary.garderos with patch from Thor Spruyt (bug #205)

19 years ago conf files can now do:
aland [Wed, 9 Feb 2005 00:51:14 +0000 (00:51 +0000)]
conf files can now do:

$INCLUDE /path/to/dir/

With a trailing "/" at the end, it means "include all files
in that directory, but not the '.' files"

For future expansion.

19 years agoReally stupid typo
kkalev [Wed, 9 Feb 2005 00:06:00 +0000 (00:06 +0000)]
Really stupid typo

19 years ago Don't return binary data
aland [Tue, 8 Feb 2005 23:29:37 +0000 (23:29 +0000)]
Don't return binary data

19 years ago Update documentation for new functionality
aland [Tue, 8 Feb 2005 23:26:58 +0000 (23:26 +0000)]
Update documentation for new functionality

19 years agoMake debug messages on password extraction a little bit more verbose
kkalev [Tue, 8 Feb 2005 23:14:31 +0000 (23:14 +0000)]
Make debug messages on password extraction a little bit more verbose

19 years ago Now that we have MD5-Password and SHA-Password, along with
aland [Tue, 8 Feb 2005 23:13:26 +0000 (23:13 +0000)]
Now that we have MD5-Password and SHA-Password, along with
{User, Crypt, NT, LM}-Password, those attributes should store
the appropriate "hashed" versions of the password.

The PAP module should automagically figure out what to do, based
on which of the above attributes it sees.

19 years ago Added ability for functions to be in conditions. Not perfect yet,
aland [Tue, 8 Feb 2005 21:47:56 +0000 (21:47 +0000)]
Added ability for functions to be in conditions.  Not perfect yet,
but it works...

19 years agoAdd a few more checks for the previous patch
kkalev [Tue, 8 Feb 2005 21:44:06 +0000 (21:44 +0000)]
Add a few more checks for the previous patch

19 years agoAdd another configuration directive, password_radius_attribute. The default is
kkalev [Tue, 8 Feb 2005 21:39:11 +0000 (21:39 +0000)]
Add another configuration directive, password_radius_attribute. The default is
User-Password and it's purpose is to allow administrators to store NT hashes or
other forms of passwords in the userPassword attribute and map them to the
correct radius password attribute

19 years ago Named policies are items just like any other.
aland [Tue, 8 Feb 2005 20:36:23 +0000 (20:36 +0000)]
Named policies are items just like any other.

Remove DOS LF's.

19 years ago When there are errors instantiating a module, don't assume that
aland [Tue, 8 Feb 2005 20:33:50 +0000 (20:33 +0000)]
When there are errors instantiating a module, don't assume that
'ci' is a CONF_SECTION, it may be a CONF_PAIR.  Instead, use the
'lineno' which was defined above.

19 years ago Don't set Framed-MTU in default configuration
aland [Mon, 7 Feb 2005 17:48:29 +0000 (17:48 +0000)]
Don't set Framed-MTU in default configuration

19 years ago Added {SHA, SSHA, MD5, SMD5}-Password attributes for future
aland [Fri, 4 Feb 2005 02:00:08 +0000 (02:00 +0000)]
Added {SHA, SSHA, MD5, SMD5}-Password attributes for future
expansion

19 years agoAdd a few header files
kkalev [Wed, 2 Feb 2005 11:45:17 +0000 (11:45 +0000)]
Add a few header files

19 years ago Removed C++ comment
aland [Mon, 31 Jan 2005 18:55:32 +0000 (18:55 +0000)]
Removed C++ comment

19 years ago Updates from Trapeze
aland [Mon, 31 Jan 2005 18:42:26 +0000 (18:42 +0000)]
Updates from Trapeze

19 years agoAdd second patch from Novell for creating a postauth method in order to
kkalev [Fri, 28 Jan 2005 07:21:43 +0000 (07:21 +0000)]
Add second patch from Novell for creating a postauth method in order to
implement the Novell eDirectory account policy check

19 years ago Text from bug #168
aland [Wed, 26 Jan 2005 20:35:00 +0000 (20:35 +0000)]
Text from bug #168

19 years ago Handle EAP-Success codes a little better
aland [Wed, 26 Jan 2005 20:28:02 +0000 (20:28 +0000)]
Handle EAP-Success codes a little better

Patch from bug #180

19 years agoaddition
pnixon [Wed, 26 Jan 2005 11:18:35 +0000 (11:18 +0000)]
addition

19 years agoLocal-Web specific attributes
pnixon [Sun, 23 Jan 2005 02:08:18 +0000 (02:08 +0000)]
Local-Web specific attributes

19 years ago Check for too small lengths, too
aland [Wed, 19 Jan 2005 00:52:11 +0000 (00:52 +0000)]
Check for too small lengths, too

19 years ago From bug #197
aland [Mon, 10 Jan 2005 20:35:07 +0000 (20:35 +0000)]
From bug #197

19 years agoWhen trying to acquire the detail file lock, sleep more time than rlm_detail
kkalev [Fri, 7 Jan 2005 15:03:52 +0000 (15:03 +0000)]
When trying to acquire the detail file lock, sleep more time than rlm_detail
so that we let rlm_detail win. This should probably at least improve the
locking problems reported.

19 years agoUpdate the TODO file
kkalev [Wed, 5 Jan 2005 16:01:57 +0000 (16:01 +0000)]
Update the TODO file

19 years agoAdd an iPlanet version of the LDAP schema from Daniel Wilson
kkalev [Wed, 5 Jan 2005 15:46:51 +0000 (15:46 +0000)]
Add an iPlanet version of the LDAP schema from Daniel Wilson

19 years ago* Add an sqlrelay functions file. The user_admin page does not currently work. Lookin...
kkalev [Tue, 4 Jan 2005 15:17:28 +0000 (15:17 +0000)]
* Add an sqlrelay functions file. The user_admin page does not currently work. Looking into it.
* Add sqlrelay support in the scripts. Add a sqlrelay_query script to run sqlrelay commands

19 years ago* If date calculation fails, abort
kkalev [Tue, 4 Jan 2005 14:04:00 +0000 (14:04 +0000)]
* If date calculation fails, abort
* Add a backup_radacct script

19 years agoFix a problem when reading username.mappings
kkalev [Tue, 4 Jan 2005 13:17:27 +0000 (13:17 +0000)]
Fix a problem when reading username.mappings

19 years agoAdd a patch from Thor Spruyt to add the new functionality
kkalev [Sun, 2 Jan 2005 14:44:59 +0000 (14:44 +0000)]
Add a patch from Thor Spruyt to add the new functionality

19 years agoAdd patch from Thor Spruyt to include new functionality
kkalev [Sun, 2 Jan 2005 14:43:04 +0000 (14:43 +0000)]
Add patch from Thor Spruyt to include new functionality

19 years agoChange the nas table structure to match the mysql one
kkalev [Sun, 2 Jan 2005 14:33:43 +0000 (14:33 +0000)]
Change the nas table structure to match the mysql one

19 years agoAdd a header with the page encoding before sending any page (header added in config...
kkalev [Sun, 2 Jan 2005 14:09:57 +0000 (14:09 +0000)]
Add a header with the page encoding before sending any page (header added in config.php3)
This closes Bug #153

19 years agoAdd Novell patch for reading the user's Universal Password from LDAP (eDirectory).
kkalev [Sun, 2 Jan 2005 13:36:33 +0000 (13:36 +0000)]
Add Novell patch for reading the user's Universal Password from LDAP (eDirectory).

19 years agoIf we are near a reset then, before doing anything else, change the return value
kkalev [Sun, 2 Jan 2005 10:37:32 +0000 (10:37 +0000)]
If we are near a reset then, before doing anything else, change the return value
to the time left to the next reset, instead of the time left in the counter.
Bug found by fduch@antar.bryansk.ru (Bug #190)

19 years agoAdd an option to rlm_exec to control whether shell escaping is done on
phampson [Wed, 29 Dec 2004 22:52:23 +0000 (22:52 +0000)]
Add an option to rlm_exec to control whether shell escaping is done on
the RADIUS attributes passed into the environment variables.
Also give the return values from programs executed by rlm_exec more
meanings than RLM_MODULE_OK or RLM_MODULE_FAIL, allowing rlm_exec to
participate fully in configurable failover.

19 years agoFix typo
phampson [Wed, 29 Dec 2004 08:25:42 +0000 (08:25 +0000)]
Fix typo

19 years agoCorrectly process the Dialupadmin configuration and perl scripts for the
phampson [Wed, 29 Dec 2004 08:14:58 +0000 (08:14 +0000)]
Correctly process the Dialupadmin configuration and perl scripts for the
correct locations of binaries and configuration files.

19 years agoUpdate to config.sub 2004-11-30 and config.guess 2004-11-12
phampson [Wed, 29 Dec 2004 08:10:49 +0000 (08:10 +0000)]
Update to config.sub 2004-11-30 and config.guess 2004-11-12

19 years agoMore autoheader cleanups. HAVE_REGEX_H is provided by autoconf.h already
phampson [Wed, 29 Dec 2004 06:00:52 +0000 (06:00 +0000)]
More autoheader cleanups. HAVE_REGEX_H is provided by autoconf.h already

19 years agoRollback 1.12, which was comitted with the wrong comment and without the
phampson [Wed, 29 Dec 2004 05:48:40 +0000 (05:48 +0000)]
Rollback 1.12, which was comitted with the wrong comment and without the
rest of the patch.

19 years agoRegenerate configure with autogen.sh
phampson [Wed, 29 Dec 2004 05:45:42 +0000 (05:45 +0000)]
Regenerate configure with autogen.sh

19 years agoMore autoheader updates
phampson [Wed, 29 Dec 2004 05:37:38 +0000 (05:37 +0000)]
More autoheader updates

19 years agoMore autoheader cleanups. Use autoheader for modules that
phampson [Wed, 29 Dec 2004 05:09:02 +0000 (05:09 +0000)]
More autoheader cleanups. Use autoheader for modules that
have AC_CONFIG_HEADER in their configure.in scripts.

19 years agooops. typo
pnixon [Tue, 28 Dec 2004 10:37:55 +0000 (10:37 +0000)]
oops. typo

19 years agoUse Timestamp in Accttime field
pnixon [Sun, 26 Dec 2004 22:48:39 +0000 (22:48 +0000)]
Use Timestamp in Accttime field

19 years agoHistory corrections to match what actually happened with the version
phampson [Thu, 23 Dec 2004 03:10:31 +0000 (03:10 +0000)]
History corrections to match what actually happened with the version
numbers.

19 years agoApply patch from Bugzilla #149 to process REJECT post-auth stanza for rejections
phampson [Thu, 23 Dec 2004 02:08:17 +0000 (02:08 +0000)]
Apply patch from Bugzilla #149 to process REJECT post-auth stanza for rejections
from a home server or external process.

19 years agoAlso add a Makefile.in
kkalev [Tue, 21 Dec 2004 15:11:33 +0000 (15:11 +0000)]
Also add a Makefile.in
We need to copy the configure script from rlm_counter here.

19 years agoAdd the first version of a request caching module. More information in
kkalev [Tue, 21 Dec 2004 15:08:05 +0000 (15:08 +0000)]
Add the first version of a request caching module. More information in
experimental.conf
When creating the datadir, create it with mode 755, not 700. Otherwise, only
root may run radclient.

19 years ago* In bin/snmpfinger also accept @,. in the username
kkalev [Mon, 20 Dec 2004 16:58:16 +0000 (16:58 +0000)]
* In bin/snmpfinger also accept @,. in the username
* If we are stripping realms, then if needed strip them from the data returned by snmpfinger in
  user_finger.php3

19 years agoDebian updates:
phampson [Sun, 19 Dec 2004 02:31:07 +0000 (02:31 +0000)]
Debian updates:
Two second pause during restart
Copyright information about OpenSSL
Versioned dependancies between freeradius package and module packages.

19 years agoRepair 1.0.0 release date
phampson [Sun, 19 Dec 2004 00:52:55 +0000 (00:52 +0000)]
Repair 1.0.0 release date

19 years agoUpdate changelog with 1.0.1's changelog
phampson [Sun, 19 Dec 2004 00:43:18 +0000 (00:43 +0000)]
Update changelog with 1.0.1's changelog

19 years agoChange big-endian detection to use the autoconf-defined macro, not the
phampson [Sun, 19 Dec 2004 00:32:53 +0000 (00:32 +0000)]
Change big-endian detection to use the autoconf-defined macro, not the
sometimes locally defined macro.

19 years agoRerun autogen.sh after changes to build system
phampson [Sun, 19 Dec 2004 00:30:22 +0000 (00:30 +0000)]
Rerun autogen.sh after changes to build system

19 years agoAdd support so using autoheader to generate autoconf.h, and add
phampson [Sat, 18 Dec 2004 23:52:30 +0000 (23:52 +0000)]
Add support so using autoheader to generate autoconf.h, and add
AC_C_BIGENDIAN and AC_SYS_LARGEFILE macros. This required the
HAVE_LOCAL_SNPRINTF macro to move to libradius.h.
Refreshed config.guess, config.sub and ltmain.sh.

19 years ago Remove rlm_x99_token. There's no maintainer, and it's causing
aland [Fri, 17 Dec 2004 17:45:53 +0000 (17:45 +0000)]
Remove rlm_x99_token.  There's no maintainer, and it's causing
too many other people problems.

19 years ago Remove DOS CR's
aland [Thu, 16 Dec 2004 22:21:41 +0000 (22:21 +0000)]
Remove DOS CR's

19 years ago Better text
aland [Thu, 16 Dec 2004 06:45:17 +0000 (06:45 +0000)]
Better text

19 years ago Fix minor typos
aland [Wed, 15 Dec 2004 23:55:37 +0000 (23:55 +0000)]
Fix minor typos

19 years ago Unlock mutex after updating structure, not before
aland [Wed, 15 Dec 2004 23:38:05 +0000 (23:38 +0000)]
Unlock mutex after updating structure, not before

19 years ago Unblock SIGCHLD when returning.
aland [Wed, 15 Dec 2004 23:36:47 +0000 (23:36 +0000)]
Unblock SIGCHLD when returning.

Bug noted by L.C. Badea

19 years ago Updated error messages for %{config:...}
aland [Tue, 14 Dec 2004 21:24:49 +0000 (21:24 +0000)]
Updated error messages for %{config:...}

Allowed the config to be dynamically translated, too.
e.g. %{config: section.%{sub-section-name}.item
causes the sub-section-name to be expanded at run-time.

This didn't work before because (I think) the dynamic expansion
code expects to see %{foo} as a bare word, surrounded by whitespace.

e.g. "%{foo}" gets expanded, "...%{foo}..." doesn't.

This should be checked...

19 years ago Made the name search a little more forgiving, so it works
aland [Tue, 14 Dec 2004 21:14:14 +0000 (21:14 +0000)]
Made the name search a little more forgiving, so it works
as previously advertised

19 years ago Update dict_attrbyname() to accept
aland [Tue, 14 Dec 2004 20:04:59 +0000 (20:04 +0000)]
Update dict_attrbyname() to accept
Attr-%d
Vendor-%d-Attr-%d
VendorName-Attr-%d
VendorName-Attribute-Name

which should be a little more generic than what we had previously.

See recent comments to src/lib/valuepair.c, on how these changes
affect pairmake(), and pairparsevalue()

19 years ago Additional comments about things we should eventually do
aland [Tue, 14 Dec 2004 20:01:37 +0000 (20:01 +0000)]
Additional comments about things we should eventually do

19 years agoInclude crypt.h if it is available so we get a prototype for crypt()
wichert [Tue, 14 Dec 2004 12:13:04 +0000 (12:13 +0000)]
Include crypt.h if it is available so we get a prototype for crypt()

19 years agoChange return type of ip_ntoa and ipv6_ntoa to const char* to fix a compile warning
wichert [Tue, 14 Dec 2004 11:57:25 +0000 (11:57 +0000)]
Change return type of ip_ntoa and ipv6_ntoa to const char* to fix a compile warning

19 years agoVersion 1.0 of radsqlrelay.c No Makefile additions for now
kkalev [Mon, 13 Dec 2004 13:34:31 +0000 (13:34 +0000)]
Version 1.0 of radsqlrelay.c No Makefile additions for now

19 years ago No DOS nonsense.
aland [Thu, 9 Dec 2004 02:31:18 +0000 (02:31 +0000)]
No DOS nonsense.

More documentation.

19 years ago Calling policies is now done by foo(), not by "call foo"
aland [Wed, 8 Dec 2004 22:05:31 +0000 (22:05 +0000)]
Calling policies is now done by foo(), not by "call foo"

19 years ago Look in /usr/include/et for krb5 headers, so that stupid FC
aland [Wed, 8 Dec 2004 17:20:25 +0000 (17:20 +0000)]
Look in /usr/include/et for krb5 headers, so that stupid FC
systems will work

19 years ago* Add a snmp_clearsession which can disconnect a user by using the Cisco AAA Session MIB
kkalev [Wed, 8 Dec 2004 15:10:42 +0000 (15:10 +0000)]
* Add a snmp_clearsession which can disconnect a user by using the Cisco AAA Session MIB
* Add a configuration directive general_sessionclear_bin

19 years agoAlso delete sessions from sql_extra_servers. Add the ability to disconnect
kkalev [Wed, 8 Dec 2004 15:06:25 +0000 (15:06 +0000)]
Also delete sessions from sql_extra_servers. Add the ability to disconnect
a user (using the AAA Session MIB of Cisco)

19 years agoAdd a not about return-attribute being only integer type
kkalev [Tue, 7 Dec 2004 18:45:16 +0000 (18:45 +0000)]
Add a not about return-attribute being only integer type

19 years agoUpdate documentation
kkalev [Tue, 7 Dec 2004 18:42:20 +0000 (18:42 +0000)]
Update documentation

19 years agoAdd a return-attribute directive. That way we can send back configurable
kkalev [Tue, 7 Dec 2004 18:40:28 +0000 (18:40 +0000)]
Add a return-attribute directive. That way we can send back configurable
attributes instead of session-timeout. The return-attribute will work *only*
if we *don't* count Acct-Session-Time

19 years ago Minor updates
aland [Tue, 7 Dec 2004 18:04:27 +0000 (18:04 +0000)]
Minor updates

19 years ago First stab at documentation.
aland [Tue, 7 Dec 2004 17:59:48 +0000 (17:59 +0000)]
First stab at documentation.

19 years ago Document new load balancing among the modules
aland [Tue, 7 Dec 2004 00:27:36 +0000 (00:27 +0000)]
Document new load balancing among the modules

19 years ago whitespace
aland [Mon, 6 Dec 2004 20:57:02 +0000 (20:57 +0000)]
whitespace

Better error messages if we can't find a module

19 years agoPrint out statistics every so many packets if we are in forground. Useful for
kkalev [Mon, 6 Dec 2004 16:47:02 +0000 (16:47 +0000)]
Print out statistics every so many packets if we are in forground. Useful for
perfomance testing

19 years agoinline ms_sleep and isdateline
kkalev [Mon, 6 Dec 2004 15:28:44 +0000 (15:28 +0000)]
inline ms_sleep and isdateline
Make the sleep time between sending packets configurable
Also sleep only after sending a configurable number of packets (default 1)

19 years ago All policies have to be in named policies...
aland [Mon, 6 Dec 2004 00:26:19 +0000 (00:26 +0000)]
All policies have to be in named policies...

19 years ago Parse load-balance groups by parsing them as normal groups,
aland [Sun, 5 Dec 2004 23:54:32 +0000 (23:54 +0000)]
Parse load-balance groups by parsing them as normal groups,
and then setting their type to MOD_LOAD_BALANCE.  This means
that the parsing code is the same (nice), but that their processing
is done by the special "load-balance" group.

19 years ago Added some support for load balancing sections. Some defines,
aland [Sun, 5 Dec 2004 23:40:15 +0000 (23:40 +0000)]
Added some support for load balancing sections.  Some defines,
and a function to do load balancing, if and when they're defined.

We still have to write the code to parse the load balancing stuff,
and create the data structures...

19 years ago Sample of policy language
aland [Sat, 4 Dec 2004 18:02:52 +0000 (18:02 +0000)]
Sample of policy language

19 years ago First pass at a "policy language"
aland [Sat, 4 Dec 2004 17:58:04 +0000 (17:58 +0000)]
First pass at a "policy language"

In the tradition of programmers everywhere, there's no documentation.

But it works, honest

19 years ago Get less excited about % in strings...
aland [Fri, 3 Dec 2004 18:41:24 +0000 (18:41 +0000)]
Get less excited about % in strings...

19 years ago Change $(INSTALL) to $(LIBTOOL) --mode=install $(INSTALL)
aland [Fri, 3 Dec 2004 18:24:31 +0000 (18:24 +0000)]
Change $(INSTALL) to $(LIBTOOL) --mode=install $(INSTALL)

It doesn't hurt, and it helps some platforms work.

19 years agoFix Bug #167
kkalev [Fri, 3 Dec 2004 16:13:42 +0000 (16:13 +0000)]
Fix Bug #167

19 years ago Added Request-Processing-Stage as an xlat, in which modules
aland [Wed, 1 Dec 2004 22:33:29 +0000 (22:33 +0000)]
Added Request-Processing-Stage as an xlat, in which modules
can now discover which stage they're in.

19 years ago Line-based log module.
aland [Wed, 1 Dec 2004 22:31:58 +0000 (22:31 +0000)]
Line-based log module.

No examples of documentation yet.

19 years agoadd a make target to install radwatch only
pnixon [Tue, 30 Nov 2004 15:47:09 +0000 (15:47 +0000)]
add a make target to install radwatch only

19 years agoUpdate documentation about read_groups
kkalev [Tue, 30 Nov 2004 13:02:23 +0000 (13:02 +0000)]
Update documentation about read_groups