freeradius.git
22 years ago If the tag is invalid, rad_send() should ignore it, and set tag
aland [Wed, 20 Feb 2002 16:19:13 +0000 (16:19 +0000)]
If the tag is invalid,  rad_send() should ignore it, and set tag
to 0x00.

rad_decode(), if the type of attribute is string and has an invalid
tag, it should recognize the first octet as being part of the string.

If the attribute is "Tunnel-Password", and has invalid tag, then
the tag should be ignored.

Patch from Takahiro Wagatsuma <waga@sic.shibaura-it.ac.jp>

22 years ago Added URL's for tips on configuring MySQL.
aland [Wed, 20 Feb 2002 16:12:27 +0000 (16:12 +0000)]
Added URL's for tips on configuring MySQL.

This doesn't really belong here, but there isn't a better place for
it right now.

22 years ago use dir name macros in all configure options
aland [Wed, 20 Feb 2002 16:09:22 +0000 (16:09 +0000)]
use dir name macros in all configure options
libtool is required only when building the package
misc clean ups (reorder "header" to follow general RPM style)
make sure /var/log/radius and /var/log/radius/radacct are owned by
root and only readable by root.

Patch from Marko Myllynen

22 years ago use condrestart instead of reload, so radiusd is not started by
aland [Wed, 20 Feb 2002 16:03:46 +0000 (16:03 +0000)]
use condrestart instead of reload, so radiusd is not started by
logrotate if it was not already running

Added keyword "missingok" so logrotate execution won't stop if
some FreeRADIUS files are not found (e.g., FreeRADIUS hasn't
started after install and thus some files are not yet created).

Added rotating of radutmp

rotate detail files using "radacct/*/detail" so all detail files
are automatically rotated, no need to add NAS names to the path.
missingok parameter ensures that this works whether * matches
to anything or not.

Patch from Marko Myllynen

22 years ago do not use radwatch (it's deprecated)
aland [Wed, 20 Feb 2002 16:01:00 +0000 (16:01 +0000)]
do not use radwatch (it's deprecated)
test that config file exists
return proper return value, not 0 always
added condrestart support, used by logrotate (see next patch)
misc clean ups

Patch from Marko Myllynen

22 years ago In proxy_send(), if there is no realm to proxy the request to,
aland [Tue, 19 Feb 2002 22:50:53 +0000 (22:50 +0000)]
In proxy_send(), if there is no realm to proxy the request to,
then return an error.

In rad_respond(), check if proxy_send() returns an error, and
reject the request if so.

Also, fix up a possible race condition in refresh_request(), where
we were marking the request finished, and THEN still accessing it.

22 years ago Don't call fopen on syslog, if the logging destination is syslog
aland [Tue, 19 Feb 2002 18:29:58 +0000 (18:29 +0000)]
Don't call fopen on syslog, if the logging destination is syslog

22 years ago Corrected logic in delay request code.
aland [Tue, 19 Feb 2002 15:46:04 +0000 (15:46 +0000)]
Corrected logic in delay request code.

Bug noted by Eddie Stassen <eddie@saix.net>

22 years ago Added define for librad_max_attributes
aland [Tue, 19 Feb 2002 15:41:50 +0000 (15:41 +0000)]
Added define for librad_max_attributes

22 years ago There are cases where IF all of the matching realms are marked
aland [Mon, 18 Feb 2002 22:09:55 +0000 (22:09 +0000)]
There are cases where IF all of the matching realms are marked
dead, that we do NOT want to fall through to the default realm.

Based on a patch from bj@zuto.de (Rainer Clasen)

22 years ago Added note that the pid file is written only in daemon mode.
aland [Mon, 18 Feb 2002 21:43:37 +0000 (21:43 +0000)]
Added note that the pid file is written only in daemon mode.

22 years ago Added log message when marking a realm dead.
aland [Mon, 18 Feb 2002 21:38:40 +0000 (21:38 +0000)]
Added log message when marking a realm dead.

22 years ago Sanity checks and more cleanups for new "reject_delay"
aland [Mon, 18 Feb 2002 19:43:14 +0000 (19:43 +0000)]
Sanity checks and more cleanups for new "reject_delay"

22 years ago Added configuration section "security", with "max_attributes" and
aland [Mon, 18 Feb 2002 19:42:10 +0000 (19:42 +0000)]
Added configuration section "security", with "max_attributes" and
"reject_delay"

22 years ago New security configuration items: max_attributes && reject_delay.
aland [Mon, 18 Feb 2002 19:26:05 +0000 (19:26 +0000)]
New security configuration items: max_attributes && reject_delay.

roland.haenel@qsc.de says that a delaying the reject helps slow
down a DoS attack.  This probably only helps for well-behaved NAS
boxes, but slowing down authentication rejects is probably a good
idea in any case.

22 years agoAvoid compiler warning
raghu [Wed, 13 Feb 2002 20:32:55 +0000 (20:32 +0000)]
Avoid compiler warning

22 years agoTLS-Length contains Total Length as expected by MS
raghu [Wed, 13 Feb 2002 20:32:16 +0000 (20:32 +0000)]
TLS-Length contains Total Length as expected by MS

22 years agoTLS-Length contains total length as expected by MS
raghu [Wed, 13 Feb 2002 20:30:01 +0000 (20:30 +0000)]
TLS-Length contains total length as expected by MS

22 years ago Minor cleanups.
aland [Wed, 13 Feb 2002 20:04:57 +0000 (20:04 +0000)]
Minor cleanups.

Patch from Marko Myllynen

22 years ago A *much* better method for finding Python.
aland [Wed, 13 Feb 2002 15:09:52 +0000 (15:09 +0000)]
A *much* better method for finding Python.

Patch from Gordon Messmer <yinyang@eburg.com>

22 years ago Don't clobber the password if we're using SNMP
aland [Wed, 13 Feb 2002 14:33:25 +0000 (14:33 +0000)]
Don't clobber the password if we're using SNMP

Patch from "scott.list" <scott.list@mlec.net>

22 years ago Added a note on building statically, for people who don't have
aland [Mon, 11 Feb 2002 20:39:24 +0000 (20:39 +0000)]
Added a note on building statically, for people who don't have
some shared libraries.

22 years ago Added comments on how to use && set 'libdir'
aland [Mon, 11 Feb 2002 20:36:25 +0000 (20:36 +0000)]
Added comments on how to use && set 'libdir'

Added sample python module config, from migs paraz <mparaz@yahoo.com>

22 years ago Whoops... corrected a typo
aland [Mon, 11 Feb 2002 20:24:30 +0000 (20:24 +0000)]
Whoops... corrected a typo

22 years ago Preliminary Python module from migs paraz <mparaz@yahoo.com>
aland [Mon, 11 Feb 2002 20:23:06 +0000 (20:23 +0000)]
Preliminary Python module from migs paraz <mparaz@yahoo.com>

To get it to build, go to the rlm_python directory, and do:

LIBS="-lpthread -ldl -lutil" ./configure --with-rlm-python-lib-dir=/usr/lib/python2.0/config/  --with-rlm-python-include-dir=/usr/include/python2.0/ --with-rlm-python-version=2.0

... at least on my system, with python 2.0.  The 'configure' scripts
should be fixed in the future to do this automagically, but that's
for the future.

22 years ago Use sed on input library names, to make them safe for the shell,
aland [Mon, 11 Feb 2002 20:17:25 +0000 (20:17 +0000)]
Use sed on input library names, to make them safe for the shell,
to create variable names.

22 years ago Whoops... this should have been committed with the other code.
aland [Mon, 11 Feb 2002 15:42:49 +0000 (15:42 +0000)]
Whoops... this should have been committed with the other code.

From Dmitri Ageev <d_ageev@ortcc.ru>

22 years ago* Fix a small bug in log_badlogins. The nas domain should be a variable not hard...
kkalev [Sat, 9 Feb 2002 13:41:25 +0000 (13:41 +0000)]
* Fix a small bug in log_badlogins. The nas domain should be a variable not hard coded.

22 years ago Updated with summaries of changes since 0.4
aland [Fri, 8 Feb 2002 18:51:02 +0000 (18:51 +0000)]
Updated with summaries of changes since 0.4

22 years ago Added note about unixODBC
aland [Fri, 8 Feb 2002 17:25:01 +0000 (17:25 +0000)]
Added note about unixODBC

22 years ago add unixODBC support
aland [Fri, 8 Feb 2002 17:24:16 +0000 (17:24 +0000)]
add unixODBC support

Patch from Dmitri Ageev <d_ageev@ortcc.ru>

22 years ago Added 'reconfig' target, to re-build the SQL driver configure scripts
aland [Fri, 8 Feb 2002 17:23:43 +0000 (17:23 +0000)]
Added 'reconfig' target, to re-build the SQL driver configure scripts

22 years ago Re-set result on failed match.
aland [Fri, 8 Feb 2002 16:52:12 +0000 (16:52 +0000)]
Re-set result on failed match.

Patch from Thomas Jalsovsky <admin@postel.sk>

22 years ago* Add support for the rest of the operators. Created the lib/operators.php3 file...
kkalev [Fri, 8 Feb 2002 14:55:41 +0000 (14:55 +0000)]
* Add support for the rest of the operators. Created the lib/operators.php3 file containing helper functions

22 years agoEAPTLS ACK packet length is 6 and not 5
raghu [Fri, 8 Feb 2002 00:45:31 +0000 (00:45 +0000)]
EAPTLS ACK packet length is 6 and not 5

22 years ago* Added operator support in sql. The eq(=),set(:=) and add(+=) operators are supporte...
kkalev [Thu, 7 Feb 2002 17:58:36 +0000 (17:58 +0000)]
* Added operator support in sql. The eq(=),set(:=) and add(+=) operators are supported. Added an
  sql_use_operators configuration directive. Hope everything works.
* Fixed a bug in sql/change_attrs which did not allow multi valued attributes in sql.
* unset item_vals before adding info in ldap and sql user_info files.

22 years agoAdd ordering in user_accounting.php3. The results can be either ordered ascending...
kkalev [Thu, 7 Feb 2002 09:18:32 +0000 (09:18 +0000)]
Add ordering in user_accounting.php3. The results can be either ordered ascending (older first)
or descending (recent first). Added a corresponding configuration directive.

22 years ago Usage() function, for help.
aland [Wed, 6 Feb 2002 20:52:04 +0000 (20:52 +0000)]
Usage() function, for help.

Added '-r server_ip' option, to allow sending packets to different
servers.

Patch from Randy Moore <ramoore@axion-it.net>

22 years ago Removed dependency on hard-code size of the session ID.
aland [Wed, 6 Feb 2002 20:49:17 +0000 (20:49 +0000)]
Removed dependency on hard-code size of the session ID.

Based on a patch from Randy Moore <ramoore@axion-it.net>

22 years ago While doing paircmp(), if one attribute doesn't match, then go
aland [Wed, 6 Feb 2002 20:06:23 +0000 (20:06 +0000)]
While doing paircmp(), if one attribute doesn't match, then go
look for another instance of the same attribute, which may result
in a match.

Since most attributes only show up once, this won't significantly
affect the behaviour of the server.

22 years agoEAP-TLS, Added new variable to avoid confusion with certificate file names
raghu [Tue, 5 Feb 2002 19:35:39 +0000 (19:35 +0000)]
EAP-TLS, Added new variable to avoid confusion with certificate file names

22 years agoName changes to reflect proper names & elegant fragmentation handling
raghu [Tue, 5 Feb 2002 19:24:05 +0000 (19:24 +0000)]
Name changes to reflect proper names & elegant fragmentation handling

22 years ago Only double-check the counter value against the reset date, IF
aland [Tue, 5 Feb 2002 17:09:43 +0000 (17:09 +0000)]
Only double-check the counter value against the reset date, IF
the count attribute is of type DATE.

Integers get counted as-is.

All other attributes get counted not by their value, but by
how many times they've been seen.

22 years ago Fix for adding ascend binary filters, using +=
aland [Mon, 4 Feb 2002 21:41:15 +0000 (21:41 +0000)]
Fix for adding ascend binary filters, using +=

22 years ago Added -D_POSIX_PTHREAD_SEMANTICS to use the two argument version
aland [Mon, 4 Feb 2002 15:45:35 +0000 (15:45 +0000)]
Added -D_POSIX_PTHREAD_SEMANTICS to use the two argument version
of ctime_r on Solaris, as that OS is too stupid to do anything
useful or intelligent on it's own.

Bug noted by Eddie Stassen <eddie@saix.net>

22 years ago Moved the server to using ctime_r, instead of ctime, to help
aland [Fri, 1 Feb 2002 19:39:57 +0000 (19:39 +0000)]
Moved the server to using ctime_r, instead of ctime, to help
with threading issues.

Bug noted by Eddie Stassen <eddie@saix.net>

22 years ago Replaced calls to localtime() with calls to localtime_r(), which
aland [Fri, 1 Feb 2002 16:17:08 +0000 (16:17 +0000)]
Replaced calls to localtime() with calls to localtime_r(), which
is thread safe.

Bug noted by Eddie Stassen <eddie@saix.net>

22 years ago Include header file for time.
aland [Fri, 1 Feb 2002 16:14:42 +0000 (16:14 +0000)]
Include header file for time.

22 years ago renamed 'clock' variable to quiet compiler warnings.
aland [Fri, 1 Feb 2002 16:11:02 +0000 (16:11 +0000)]
renamed 'clock' variable to quiet compiler warnings.

22 years ago Look for, and define localtime_r.
aland [Fri, 1 Feb 2002 16:08:00 +0000 (16:08 +0000)]
Look for, and define localtime_r.

For systems NOT having it, the "implementation" just calls localtime,
and copies the data to the user-supplied buffer.

On systems with per-thread buffers for localtime() (like glibc),
this doesn't make any difference.

On systems without per-thread buffers, it will at least lower the
possibility of race conditions.

This hack is just a temporary one, until we need a *real* thread-safe
version of localtime_r.

22 years ago Changed Simultaneous-Use check behavior to trust content of
aland [Thu, 31 Jan 2002 22:17:58 +0000 (22:17 +0000)]
Changed Simultaneous-Use check behavior to trust content of
radutmp file if NAS is not in 'naslist'. Also prevents unnecessary
'fork'ing if NAS is listed as type 'other' in 'naslist'.

Patch from Randy Moore <ramoore@axion-it.net>

22 years ago Remvoed references to bugs.freeradius.org, as it doesn't exist
aland [Thu, 31 Jan 2002 17:48:54 +0000 (17:48 +0000)]
Remvoed references to bugs.freeradius.org, as it doesn't exist
any more.

22 years ago Try s slightly different way of closing stdin, stdout, and stderr
aland [Tue, 29 Jan 2002 22:47:15 +0000 (22:47 +0000)]
Try s slightly different way of closing stdin, stdout, and stderr
when running in daemon mode.

The previous code had 2-3 sections which looked like they tried
to do the same thing...

22 years ago Increased the size of the attribute Value fields in the MySQL db
aland [Tue, 29 Jan 2002 18:39:40 +0000 (18:39 +0000)]
Increased the size of the attribute Value fields in the MySQL db
schema file to allow strings up to 253 characters long.

Patch from Randy Moore <ramoore@axion-it.net>

22 years ago In the 'rlm_sql_accounting' subroutine, fixes two cases where
aland [Tue, 29 Jan 2002 18:38:19 +0000 (18:38 +0000)]
In the 'rlm_sql_accounting' subroutine, fixes two cases where
sql_finish was called before we were done processing the results
of an sql query, fixes a few incorrect error log messages, and
fixes the logic for processing STOP packets so that if the query
did not run, we don't try to process the results of the query.

Patch from Randy Moore <ramoore@axion-it.net

22 years ago The patch below fixes a problem that Simultaneous_Use from limiting
aland [Mon, 28 Jan 2002 21:47:46 +0000 (21:47 +0000)]
The patch below fixes a problem that Simultaneous_Use from limiting
duplicate logins.  This was happening because the radutmp_checksimul
subroutine was looking for the stripped UserName in the 'radutmp' file, but the radutmp_accounting subroutine was storing the
unstripped UserName.  So the simultaneous use check never found
the previous logins.

Patch from Randy Moore <ramoore@axion-it.net>

22 years ago Moved cisco accounting hack code.
aland [Mon, 28 Jan 2002 18:47:13 +0000 (18:47 +0000)]
Moved cisco accounting hack code.

Patch from "Kevin C. Miller" <kevinm@andrew.cmu.edu>

22 years ago Free the SQL data *after* using it, not before.
aland [Mon, 28 Jan 2002 18:43:42 +0000 (18:43 +0000)]
Free the SQL data *after* using it, not before.

Patch from Randy Moore <ramoore@axion-it.net>

22 years agoAdd a few names in the AUTHORS file.
kkalev [Sun, 27 Jan 2002 13:43:24 +0000 (13:43 +0000)]
Add a few names in the AUTHORS file.
Add the User-Profile attribute. This is used by the rlm_ldap module and contains
the DN for an entry containing check and reply radius attributes. If it is set
it will be used instead of the default_profile directive. The idea is to use different
user profiles based on checks done in the users file. That way we can do something like
this:

DEFAULT Service-Type == Outbound-User, User-Profile := "uid=outound-dialup,dc=company,dc=com"

The same idea could also work for the sql module, to select groups containing radius attributes
without having the user belong to them based only on checks on the incoming Access-Request

22 years agoAdd a password generator for new/edit user. Based on a patch from Alex Savguira ...
kkalev [Fri, 25 Jan 2002 14:10:45 +0000 (14:10 +0000)]
Add a password generator for new/edit user. Based on a patch from Alex Savguira <alexs@ravdata.com>

22 years ago removed misleading (and unimplemented) wtmpfile, utmpfile, and
aland [Thu, 24 Jan 2002 17:17:51 +0000 (17:17 +0000)]
removed misleading (and unimplemented) wtmpfile, utmpfile, and
detailfile.

22 years agorlm_passwd allows to authorize user via any pwd-like file. Format of
3APA3A [Thu, 24 Jan 2002 13:13:54 +0000 (13:13 +0000)]
rlm_passwd allows to authorize user via any pwd-like file. Format of
pwd file is configurable via "format" option in module configuration.
Examples:

passwd smbpasswd {
 filename = /etc/smbpasswd
 format = "*User-Name::LM-Password:NT-Password:::"
 authtype = MS-CHAP
 hashsize = 100
 ignorenislike = no
 allowmultiplekeys = no
}

passwd group {
 filename = /etc/group
 format = "Group-Name:::*,User-Name"
 hashsize = 50
 ignorenislike = yes
 allowmultiplekeys = no
}

format:
* - key field, there should be exactly one key field
    *Attribute means that
, - field is listable, may contains few keys

authorize {
 ...
 smbpasswd
 group
}

authenticate {
 ...
 mschap
 ...
}

22 years agoEAP-TLS configuration parameters included.
raghu [Thu, 24 Jan 2002 04:40:36 +0000 (04:40 +0000)]
EAP-TLS configuration parameters included.

22 years agoAdded RLM_LDFlags to support -L/path option from modules.
raghu [Thu, 24 Jan 2002 04:28:41 +0000 (04:28 +0000)]
Added  RLM_LDFlags to support -L/path option from modules.

22 years agoEAP-TLS support in RADIUS.
raghu [Thu, 24 Jan 2002 04:24:43 +0000 (04:24 +0000)]
EAP-TLS support in RADIUS.

22 years agoFix a small typo
kkalev [Wed, 23 Jan 2002 15:07:38 +0000 (15:07 +0000)]
Fix a small typo

22 years ago allow_async is boolean, not int.
fcusack [Tue, 22 Jan 2002 22:04:38 +0000 (22:04 +0000)]
allow_async is boolean, not int.

22 years agoPrototype & Signature corrections
raghu [Tue, 22 Jan 2002 21:45:08 +0000 (21:45 +0000)]
Prototype & Signature corrections

22 years agoFixed some typos in LDAPv3 schema. Thanks to Takahiro Wagatsuma <waga@sic.shibaura...
pam [Tue, 22 Jan 2002 08:54:36 +0000 (08:54 +0000)]
Fixed some typos in LDAPv3 schema. Thanks to Takahiro Wagatsuma <waga@sic.shibaura-it.ac.jp>.

22 years ago If we have an error when reading the data, the IP address &&
aland [Mon, 21 Jan 2002 22:45:19 +0000 (22:45 +0000)]
If we have an error when reading the data, the IP address &&
other returned information MAY be incorrect or non-existent.

So we move the check for errors to BEFORE the code which grabs
the IP address.

Bug noted by Oleg Gritsinevich <olegg@ukrpack.net>

22 years ago Corrected buffer over-write, which would allocate room for a 'char'
aland [Mon, 21 Jan 2002 16:01:44 +0000 (16:01 +0000)]
Corrected buffer over-write, which would allocate room for a 'char'
instead of a 'char *' in an array used for the returned rows.

Patch from "Alex L. Demidov" <alexd@tahiti.vinf.ru>

22 years ago- LM-Password-TEXT/NT-Password-TEXT removed
3APA3A [Mon, 21 Jan 2002 11:21:51 +0000 (11:21 +0000)]
- LM-Password-TEXT/NT-Password-TEXT removed

22 years ago- NT-Password-TEXT/LM-Password-TEXT attributes removed, authenticate() checks
3APA3A [Mon, 21 Jan 2002 11:20:42 +0000 (11:20 +0000)]
- NT-Password-TEXT/LM-Password-TEXT attributes removed, authenticate() checks
  the length instead

22 years agoUpdated LDAPv3 schema to contain FreeRadius-specific configuration attributes.
pam [Mon, 21 Jan 2002 08:59:10 +0000 (08:59 +0000)]
Updated LDAPv3 schema to contain FreeRadius-specific configuration attributes.

22 years agoA new file for State Attribute Generattion & verification
raghu [Sat, 19 Jan 2002 23:20:02 +0000 (23:20 +0000)]
A new file for State Attribute Generattion & verification
This file should be in src/lib for all modules to utilize

22 years agoThis file should be moved to src/lib.
raghu [Sat, 19 Jan 2002 22:47:17 +0000 (22:47 +0000)]
This file should be moved to src/lib.
A new file to generate & verify state attribute.

22 years agoEAP module is generalised to handle any EAP-Type.
raghu [Sat, 19 Jan 2002 22:44:47 +0000 (22:44 +0000)]
EAP module is generalised to handle any EAP-Type.
Following are the changes
1. A new Data structure EAP_HANDLER for consistent interface
with all EAP-Types
2. An opaque container to hold Request-Response data for any EAP-Type
3. Password is no more checked in the EAP-Module, but will
checked in specific EAP-Type that requires it.
4. A new Data structure eaptype_t for EAP-Type specific data passing
between EAP module & EAP-Types
5. Some minor code enhancements & beautifications.

22 years ago+ Items for ms-chap support in ldap module added
3APA3A [Sat, 19 Jan 2002 10:49:15 +0000 (10:49 +0000)]
+ Items for ms-chap support in ldap module added

22 years ago+ support for "authtype" configuration parameter added. Patch by
3APA3A [Sat, 19 Jan 2002 10:38:53 +0000 (10:38 +0000)]
+ support for "authtype" configuration parameter added. Patch by
  Takahiro Wagatsuma <waga@sic.shibaura-it.ac.jp>

22 years ago+ LM-Password-TEXT/NT-Password-TEXT/SMB-Account-CTRL-TEXT attributes
3APA3A [Sat, 19 Jan 2002 10:37:28 +0000 (10:37 +0000)]
+ LM-Password-TEXT/NT-Password-TEXT/SMB-Account-CTRL-TEXT attributes
  handling added. Patch by Takahiro Wagatsuma <waga@sic.shibaura-it.ac.jp>

22 years ago+ defines for PW_LM_PASSWORD_TEXT/PW_NT_PASSWORD_TEXT/PW_SMB_ACCOUNT_CTRL_TEXT added
3APA3A [Sat, 19 Jan 2002 10:21:25 +0000 (10:21 +0000)]
+ defines for PW_LM_PASSWORD_TEXT/PW_NT_PASSWORD_TEXT/PW_SMB_ACCOUNT_CTRL_TEXT added

22 years ago+ LM-Password-TEXT/NT-Password-TEXT/SMB-Account-CTRL-TEXT attributes added
3APA3A [Sat, 19 Jan 2002 10:18:18 +0000 (10:18 +0000)]
+ LM-Password-TEXT/NT-Password-TEXT/SMB-Account-CTRL-TEXT attributes added

22 years ago include rad_assert.h before using it
fcusack [Sat, 19 Jan 2002 01:20:24 +0000 (01:20 +0000)]
include rad_assert.h before using it

22 years ago fix softfail bug (update last_auth on failed auth)
fcusack [Fri, 18 Jan 2002 22:47:08 +0000 (22:47 +0000)]
fix softfail bug (update last_auth on failed auth)

22 years ago use rad_assert() to guarantee creation of mppe attributes.
fcusack [Fri, 18 Jan 2002 21:34:57 +0000 (21:34 +0000)]
use rad_assert() to guarantee creation of mppe attributes.

22 years ago remove (noreplace)
fcusack [Fri, 18 Jan 2002 21:19:39 +0000 (21:19 +0000)]
remove (noreplace)

22 years ago! Check for ACB_DISABLED flag moved to authorization
3APA3A [Fri, 18 Jan 2002 17:06:11 +0000 (17:06 +0000)]
! Check for ACB_DISABLED flag moved to authorization

22 years ago Use the module's second name (i.e. "ldap ldap1") to register the
aland [Fri, 18 Jan 2002 16:49:43 +0000 (16:49 +0000)]
Use the module's second name (i.e. "ldap ldap1") to register the
xlat function.  If there is no second name, use the first name.

And when done, unregister the given name.

Based on a patch by Takahiro Wagatsuma <waga@sic.shibaura-it.ac.jp>

22 years ago* Add general_ld_library_path directive and set LD_LIBRARY_PATH accordingly (used...
kkalev [Fri, 18 Jan 2002 12:41:20 +0000 (12:41 +0000)]
* Add general_ld_library_path directive and set LD_LIBRARY_PATH accordingly (used in snmpfinger and
  radaclient).
* Add general_finger_type directive to determine if we will use snmpfinger in user_finger.php3
* Fix a bug in config.php3 when we have a directive containing ':'
* Fix a bug in lib/ldap/change_attrs.php3 that did not allow changing more than one value of a
  multivalued attribute simultaneously.

22 years ago* todo/serverside-ip-pools: new file describing how to implemented
miquels [Fri, 18 Jan 2002 12:39:16 +0000 (12:39 +0000)]
* todo/serverside-ip-pools: new file describing how to implemented
  server-side IP pools
* todo/radius.conf.sample2: removed, we have a radius.conf don't we

22 years ago! createsmbpw bug patched Takahiro Wagatsuma <waga@sic.shibaura-it.ac.jp>
3APA3A [Fri, 18 Jan 2002 07:45:01 +0000 (07:45 +0000)]
! createsmbpw bug patched Takahiro Wagatsuma <waga@sic.shibaura-it.ac.jp>

22 years ago Use rad_malloc() instead of malloc() + NULL test.
fcusack [Fri, 18 Jan 2002 02:35:30 +0000 (02:35 +0000)]
Use rad_malloc() instead of malloc() + NULL test.
Fix prototype/function call mismatches.
Bug noted by Lance Uyehara <lance@verniernetworks.com>.

22 years ago add missing '{' in rad_check_password().
fcusack [Fri, 18 Jan 2002 02:22:48 +0000 (02:22 +0000)]
add missing '{' in rad_check_password().
Patch from Lance Uyehara <lance@verniernetworks.com>.

22 years ago Update Copyright date.
fcusack [Thu, 17 Jan 2002 04:02:17 +0000 (04:02 +0000)]
Update Copyright date.

22 years ago Remove 2 TODOs that aren't needed. Update Copyright dates.
fcusack [Thu, 17 Jan 2002 04:00:47 +0000 (04:00 +0000)]
Remove 2 TODOs that aren't needed.  Update Copyright dates.

22 years ago * wrap rlm_sql.h into #ifdef _RLM_SQL_H
aland [Wed, 16 Jan 2002 21:51:45 +0000 (21:51 +0000)]
* wrap rlm_sql.h into #ifdef _RLM_SQL_H
* sql_iodbc.h - dumped typedef SQL_ROW (already defined in rlm_sql.h)
              - typo fix
              - function declaration fixes
* sql_iodbc.c - fixed row allocation in sql_select_query() (off by 1)
              - moved SQLAllocStmt() from sql_init_socket() into sql_query()
                (and inserted SQLFreeStmt() into sql_free_result()
              - typo fix

Patch from Andreas Kainz <aka@maxxio.at>

22 years ago Correctly check for the odbc lib.
aland [Wed, 16 Jan 2002 21:19:41 +0000 (21:19 +0000)]
Correctly check for the odbc lib.
(checks for SQLConnect() in libodbc.*)

Patch from Andreas Kainz <aka@maxxio.at>

22 years ago Prefix attribute names with Quintum, to ensure they're unique,
aland [Wed, 16 Jan 2002 18:42:10 +0000 (18:42 +0000)]
Prefix attribute names with Quintum, to ensure they're unique,
and not the same as the Cisco attributes.

22 years ago Made CHAP-Password 'octets', as it's normally a binary string.
aland [Wed, 16 Jan 2002 16:32:36 +0000 (16:32 +0000)]
Made CHAP-Password 'octets', as it's normally a binary string.

Updated the 'octets' parser in parimake(), to allow for "string"
style data to be used, too.

22 years ago Include the quintum dictionary in the default list.
aland [Wed, 16 Jan 2002 15:47:27 +0000 (15:47 +0000)]
Include the quintum dictionary in the default list.