freeradius.git
8 years agoString "yes" not true
Arran Cudbard-Bell [Fri, 6 May 2016 22:45:42 +0000 (18:45 -0400)]
String "yes" not true

8 years agoDon't mix labels and positional field assignments
Arran Cudbard-Bell [Fri, 6 May 2016 22:43:09 +0000 (18:43 -0400)]
Don't mix labels and positional field assignments

8 years agoMerge pull request #1601 from gyx1000/rlm_python_tests
Arran Cudbard-Bell [Thu, 5 May 2016 14:52:25 +0000 (10:52 -0400)]
Merge pull request #1601 from gyx1000/rlm_python_tests

rlm_python tests

8 years agorlm_python tests
Guillaume Pannatier [Thu, 5 May 2016 14:42:18 +0000 (16:42 +0200)]
rlm_python tests

8 years agoShould default to cext compat in v3.0.x so we don't introduce a breaking change
Arran Cudbard-Bell [Thu, 5 May 2016 13:45:55 +0000 (09:45 -0400)]
Should default to cext compat in v3.0.x so we don't introduce a breaking change

8 years agoFixup thread local storage destructors so they should always fire
Arran Cudbard-Bell [Thu, 5 May 2016 01:53:06 +0000 (19:53 -0600)]
Fixup thread local storage destructors so they should always fire

8 years agoDon't escape quotes when passing strings to Python
Arran Cudbard-Bell [Wed, 4 May 2016 22:43:47 +0000 (15:43 -0700)]
Don't escape quotes when passing strings to Python

8 years agoAdd missing constant
Arran Cudbard-Bell [Wed, 4 May 2016 22:37:09 +0000 (15:37 -0700)]
Add missing constant

8 years agoBackport rlm_python from v3.1.x Closes #1589, Closes #1015, Closes #408
Arran Cudbard-Bell [Wed, 4 May 2016 22:30:20 +0000 (15:30 -0700)]
Backport rlm_python from v3.1.x Closes #1589, Closes #1015, Closes #408

8 years agoIgnore v3.1.x modules
Arran Cudbard-Bell [Wed, 4 May 2016 21:46:35 +0000 (14:46 -0700)]
Ignore v3.1.x modules

8 years agoMark server pair in rlm_ldap as having multiple instances
Arran Cudbard-Bell [Wed, 4 May 2016 14:59:11 +0000 (07:59 -0700)]
Mark server pair in rlm_ldap as having multiple instances

8 years agotypo. Fixes #1597
Alan T. DeKok [Thu, 28 Apr 2016 20:17:24 +0000 (16:17 -0400)]
typo.  Fixes #1597

8 years agoNote recent changes
Alan T. DeKok [Tue, 26 Apr 2016 18:50:16 +0000 (14:50 -0400)]
Note recent changes

8 years agoRemove support for statically compiled EAP methods Closes #1591
Arran Cudbard-Bell [Tue, 26 Apr 2016 15:27:34 +0000 (11:27 -0400)]
Remove support for statically compiled EAP methods Closes #1591

8 years agocontinue if filename doesn't match.
Alan T. DeKok [Mon, 25 Apr 2016 19:02:48 +0000 (15:02 -0400)]
continue if filename doesn't match.

8 years agoRaise exfile limit to 256
Alan T. DeKok [Mon, 25 Apr 2016 18:13:27 +0000 (14:13 -0400)]
Raise exfile limit to 256

8 years agoClean up the oldest entry if there are no unused ones
Alan T. DeKok [Mon, 25 Apr 2016 17:55:04 +0000 (13:55 -0400)]
Clean up the oldest entry if there are no unused ones

8 years agoMove common code to cleanup routine
Alan T. DeKok [Mon, 25 Apr 2016 17:42:06 +0000 (13:42 -0400)]
Move common code to cleanup routine

8 years agoRe-order headers
Arran Cudbard-Bell [Sat, 23 Apr 2016 13:33:40 +0000 (09:33 -0400)]
Re-order headers

8 years agoUpdate Aruba Dictionary
Alexis La Goutte [Tue, 19 Apr 2016 19:17:05 +0000 (21:17 +0200)]
Update Aruba Dictionary

Add Aruba-Calea-Server-Ip (41) and Aruba-Admin-Path (42) coming from Aruba ClearPass 6.6.0

8 years agoReplace BUILD_DIR/lib/, not global /lib/. Fixes #1585
Alan T. DeKok [Tue, 19 Apr 2016 19:53:52 +0000 (15:53 -0400)]
Replace BUILD_DIR/lib/, not global /lib/.  Fixes #1585

8 years agoFix #ifdef placement error. Fixes #1572
Alan T. DeKok [Tue, 19 Apr 2016 19:52:37 +0000 (15:52 -0400)]
Fix #ifdef placement error.  Fixes #1572

Don't wrap TLS error functions with #ifdef PSK_MAX_IDENTITY_LEN

8 years agoMerge pull request #1583 from lytboris/v3.0.x
Arran Cudbard-Bell [Tue, 19 Apr 2016 15:16:53 +0000 (11:16 -0400)]
Merge pull request #1583 from lytboris/v3.0.x

Fix build on FreeBSD

8 years agoENOTRECOVERABLE & EOWNERDEAD may not be defined on FreeBSD
Boris Lytochkin [Sun, 3 Apr 2016 07:10:45 +0000 (10:10 +0300)]
ENOTRECOVERABLE & EOWNERDEAD may not be defined on FreeBSD

8 years agominor cleanup
Alan T. DeKok [Mon, 18 Apr 2016 19:24:58 +0000 (15:24 -0400)]
minor cleanup

8 years agoEnsure da is parented from VP, not ctx
Alan T. DeKok [Fri, 15 Apr 2016 14:54:02 +0000 (10:54 -0400)]
Ensure da is parented from VP, not ctx

8 years agotalloc_parent(vp) == ctx
Alan T. DeKok [Fri, 15 Apr 2016 14:43:15 +0000 (10:43 -0400)]
talloc_parent(vp) == ctx

8 years agoEnsure da is parented from VP, not ctx
Alan T. DeKok [Fri, 15 Apr 2016 14:42:41 +0000 (10:42 -0400)]
Ensure da is parented from VP, not ctx

8 years agonew lintian overrides for RFC documents
Matthew Newton [Tue, 12 Apr 2016 21:45:02 +0000 (22:45 +0100)]
new lintian overrides for RFC documents

8 years agoOnly build mschap auth_wbclient when core/ntstatus.h is present
Matthew Newton [Tue, 12 Apr 2016 20:42:39 +0000 (21:42 +0100)]
Only build mschap auth_wbclient when core/ntstatus.h is present

In addition, don't check for the library if the headers aren't there,
otherwise we'll link against libwbclient unnecessarily.

Closes #1489

8 years agoupdate man pages on install to have correct paths
Matthew Newton [Sat, 9 Apr 2016 20:52:53 +0000 (21:52 +0100)]
update man pages on install to have correct paths

8 years agofix typo
Alan T. DeKok [Tue, 5 Apr 2016 13:14:49 +0000 (09:14 -0400)]
fix typo

8 years agomore messages about broken RADIUS clients
Alan T. DeKok [Mon, 4 Apr 2016 15:28:22 +0000 (11:28 -0400)]
more messages about broken RADIUS clients

8 years agonote recent changes
Alan T. DeKok [Sat, 2 Apr 2016 13:55:11 +0000 (09:55 -0400)]
note recent changes

8 years agoPrint xlat types, too. Fixes #1574
Alan T. DeKok [Fri, 1 Apr 2016 15:42:31 +0000 (11:42 -0400)]
Print xlat types, too.  Fixes #1574

8 years agoUse xlat for regex comparison. Fixes #1574
Alan T. DeKok [Fri, 1 Apr 2016 15:39:18 +0000 (11:39 -0400)]
Use xlat for regex comparison.  Fixes #1574

8 years agoRemove execute permissions from files.
Alan T. DeKok [Tue, 29 Mar 2016 13:49:35 +0000 (09:49 -0400)]
Remove execute permissions from files.

Because apparently it matters to Debian

8 years agonote recent changes
Alan T. DeKok [Tue, 22 Mar 2016 18:36:03 +0000 (14:36 -0400)]
note recent changes

8 years agofree the row earlier
Alan T. DeKok [Tue, 22 Mar 2016 15:38:30 +0000 (11:38 -0400)]
free the row earlier

8 years agotypo
Alan T. DeKok [Tue, 22 Mar 2016 14:58:16 +0000 (10:58 -0400)]
typo

8 years agoConsistent messages
Alan T. DeKok [Tue, 22 Mar 2016 14:57:07 +0000 (10:57 -0400)]
Consistent messages

8 years agoAllow extended attrs to have "encrypt=2"
Alan T. DeKok [Mon, 21 Mar 2016 19:06:38 +0000 (15:06 -0400)]
Allow extended attrs to have "encrypt=2"

8 years agonote recent changes
Alan T. DeKok [Tue, 15 Mar 2016 18:36:45 +0000 (14:36 -0400)]
note recent changes

8 years agoDon't call radius_pairmove. It does too much work.
Alan T. DeKok [Tue, 15 Mar 2016 18:01:04 +0000 (14:01 -0400)]
Don't call radius_pairmove.  It does too much work.

8 years agonote recent changes
Alan T. DeKok [Fri, 11 Mar 2016 14:58:17 +0000 (09:58 -0500)]
note recent changes

8 years agoMerge pull request #1527 from herwinw/rlm_perl_robustness_v3.0.x
Arran Cudbard-Bell [Mon, 14 Mar 2016 11:00:18 +0000 (11:00 +0000)]
Merge pull request #1527 from herwinw/rlm_perl_robustness_v3.0.x

Made rlm_perl less error-prone

8 years agoxlat for home server pool state
Alan T. DeKok [Thu, 10 Mar 2016 16:49:06 +0000 (11:49 -0500)]
xlat for home server pool state

8 years agoxlat for home server state
Alan T. DeKok [Thu, 10 Mar 2016 16:45:32 +0000 (11:45 -0500)]
xlat for home server state

8 years agoMerge pull request #1562 from matsimon/1510-debian-logrotate-30x
Alan DeKok [Thu, 10 Mar 2016 14:25:35 +0000 (09:25 -0500)]
Merge pull request #1562 from matsimon/1510-debian-logrotate-30x

Fix Debian logrotate, closes #1510 (on 3.0.x)

8 years agoregularize debug messages
Alan T. DeKok [Wed, 9 Mar 2016 22:49:22 +0000 (17:49 -0500)]
regularize debug messages

8 years agocheck length against zero integer, not zero character
Alan T. DeKok [Wed, 9 Mar 2016 22:48:46 +0000 (17:48 -0500)]
check length against zero integer, not zero character

8 years agoCheck for zero integer, not zero character
Alan T. DeKok [Wed, 9 Mar 2016 22:45:25 +0000 (17:45 -0500)]
Check for zero integer, not zero character

8 years agoPrint warning if checksimul is used without a query
Alan T. DeKok [Wed, 9 Mar 2016 22:45:04 +0000 (17:45 -0500)]
Print warning if checksimul is used without a query

8 years agoEnable simul_count_query
Alan T. DeKok [Wed, 9 Mar 2016 22:20:15 +0000 (17:20 -0500)]
Enable simul_count_query

There's no reason to disable it in the default configuration.

8 years agoMerge pull request #1559 from pwdng/freetds
Arran Cudbard-Bell [Wed, 9 Mar 2016 19:31:18 +0000 (19:31 +0000)]
Merge pull request #1559 from pwdng/freetds

rlm_sql_freetds is now stable, remove conditions from redhat spec file

8 years agoMerge pull request #1558 from pwdng/v3.0.x
Arran Cudbard-Bell [Wed, 9 Mar 2016 17:54:02 +0000 (17:54 +0000)]
Merge pull request #1558 from pwdng/v3.0.x

Use threadsafe OpenSSL error functions

8 years agorlm_sql_freetds is now stable, remove conditions from redhat spec file
Philippe Wooding [Wed, 9 Mar 2016 17:49:35 +0000 (18:49 +0100)]
rlm_sql_freetds is now stable, remove conditions from redhat spec file

8 years agoUse threadsafe OpenSSL error functions
Arran Cudbard-Bell [Tue, 8 Mar 2016 05:17:16 +0000 (00:17 -0500)]
Use threadsafe OpenSSL error functions

8 years agoFix Debian logrotate, closes #1510
Mathieu Simon [Tue, 8 Mar 2016 22:57:13 +0000 (23:57 +0100)]
Fix Debian logrotate, closes #1510

- Remove the patch to scripts/logrotate/freeradius as it isn't
  anyway the file that the Debian package eventually installs.
- Instead apply the Debian-specific locations to debian/freeradius.logrotate
  so deb packages should now come with a working logrotate config.

8 years agoLeave Response-Packet-Type for request_finish
Alan T. DeKok [Tue, 8 Mar 2016 16:17:06 +0000 (11:17 -0500)]
Leave Response-Packet-Type for request_finish

8 years agoMerge pull request #1556 from mcnewton/wbcparams30
Alan DeKok [Tue, 8 Mar 2016 15:53:08 +0000 (10:53 -0500)]
Merge pull request #1556 from mcnewton/wbcparams30

wbcCtxAuthenticateUserEx params update to allow workstation login

8 years agowbcCtxAuthenticateUserEx params update to allow workstation login
Matthew Newton [Tue, 8 Mar 2016 13:52:14 +0000 (13:52 +0000)]
wbcCtxAuthenticateUserEx params update to allow workstation login

8 years agonote recent changes
Alan T. DeKok [Tue, 8 Mar 2016 14:26:53 +0000 (09:26 -0500)]
note recent changes

8 years agoPass talloc context to function.
Alan T. DeKok [Tue, 8 Mar 2016 14:09:42 +0000 (09:09 -0500)]
Pass talloc context to function.

And rename it.

8 years agoStill need to set the value field
Arran Cudbard-Bell [Sat, 5 Mar 2016 03:54:33 +0000 (22:54 -0500)]
Still need to set the value field

8 years agoDon't set value field to NULL
Arran Cudbard-Bell [Sat, 5 Mar 2016 03:52:57 +0000 (22:52 -0500)]
Don't set value field to NULL

8 years agoPrint more useful error
Arran Cudbard-Bell [Sat, 5 Mar 2016 03:37:34 +0000 (22:37 -0500)]
Print more useful error

8 years agoUse the shorter of the two lengths
Alan T. DeKok [Fri, 4 Mar 2016 19:15:39 +0000 (14:15 -0500)]
Use the shorter of the two lengths

8 years agonote recent changes
Alan T. DeKok [Fri, 4 Mar 2016 18:54:08 +0000 (13:54 -0500)]
note recent changes

8 years agorealmname may be NULL
Alan T. DeKok [Fri, 4 Mar 2016 18:53:25 +0000 (13:53 -0500)]
realmname may be NULL

8 years agoIncrement proxy responses in the right place
Alan T. DeKok [Fri, 4 Mar 2016 01:32:56 +0000 (20:32 -0500)]
Increment proxy responses in the right place

8 years agoNeed to advance q too
Arran Cudbard-Bell [Fri, 4 Mar 2016 00:08:14 +0000 (19:08 -0500)]
Need to advance q too

8 years agoDon't do fail-over for originate CoA
Alan T. DeKok [Thu, 3 Mar 2016 23:20:12 +0000 (18:20 -0500)]
Don't do fail-over for originate CoA

8 years agoHandle NO_DATA. Fixes #1551
Alan T. DeKok [Wed, 2 Mar 2016 15:14:21 +0000 (10:14 -0500)]
Handle NO_DATA.  Fixes #1551

8 years agonote recent changes
Alan T. DeKok [Tue, 1 Mar 2016 15:43:38 +0000 (10:43 -0500)]
note recent changes

8 years agoDon't create response if it's do_not_respond.
Alan T. DeKok [Tue, 1 Mar 2016 15:03:24 +0000 (10:03 -0500)]
Don't create response if it's do_not_respond.

As a bug fix to commit 7ef12be8

8 years agonote recent changes
Alan T. DeKok [Fri, 26 Feb 2016 13:44:41 +0000 (08:44 -0500)]
note recent changes

8 years agoMerge pull request #1548 from lytboris/v3.0.x
Alan DeKok [Thu, 25 Feb 2016 20:33:33 +0000 (15:33 -0500)]
Merge pull request #1548 from lytboris/v3.0.x

add notes for rlm_preprocess default behavior change

8 years agosmall fixups for previous commit
Boris Lytochkin [Thu, 25 Feb 2016 18:11:26 +0000 (21:11 +0300)]
small fixups for previous commit

8 years agoadd note for rlm_preprocess
Boris Lytochkin [Thu, 25 Feb 2016 18:10:19 +0000 (21:10 +0300)]
add note for rlm_preprocess

8 years agoremove unnecessary request->proxy_timestamp
Alan T. DeKok [Wed, 24 Feb 2016 16:50:38 +0000 (11:50 -0500)]
remove unnecessary request->proxy_timestamp

it's just request->proxy->timestamp

8 years agoOnly normal attributes are treated specially. Fixes #1544
Alan T. DeKok [Wed, 24 Feb 2016 13:25:49 +0000 (08:25 -0500)]
Only normal attributes are treated specially.  Fixes #1544

8 years agoUse correct packet for CoA
Alan T. DeKok [Tue, 23 Feb 2016 17:24:18 +0000 (12:24 -0500)]
Use correct packet for CoA

8 years agoReturn the correct list.
Alan T. DeKok [Tue, 23 Feb 2016 17:18:10 +0000 (12:18 -0500)]
Return the correct list.

8 years agouse FR_ACTION_DONE
Alan T. DeKok [Fri, 19 Feb 2016 16:16:59 +0000 (11:16 -0500)]
use FR_ACTION_DONE

8 years agonote recent changes
Alan T. DeKok [Thu, 18 Feb 2016 16:07:35 +0000 (11:07 -0500)]
note recent changes

8 years agotypo
Alan T. DeKok [Wed, 17 Feb 2016 17:48:27 +0000 (12:48 -0500)]
typo

8 years agoclean up linelog_escape function
Alan T. DeKok [Wed, 17 Feb 2016 17:43:59 +0000 (12:43 -0500)]
clean up linelog_escape function

8 years agoSet "dup" in more cases
Alan T. DeKok [Wed, 17 Feb 2016 16:55:35 +0000 (11:55 -0500)]
Set "dup" in more cases

8 years agocleanups
Alan T. DeKok [Wed, 17 Feb 2016 16:26:33 +0000 (11:26 -0500)]
cleanups

8 years agoClean up old files only once a second
Alan T. DeKok [Wed, 17 Feb 2016 16:22:36 +0000 (11:22 -0500)]
Clean up old files only once a second

8 years agominor cleanups
Alan T. DeKok [Wed, 17 Feb 2016 16:21:35 +0000 (11:21 -0500)]
minor cleanups

8 years agoexfile will create directories for us
Alan T. DeKok [Wed, 17 Feb 2016 16:04:14 +0000 (11:04 -0500)]
exfile will create directories for us

8 years agoClarify the code.
Alan T. DeKok [Wed, 17 Feb 2016 15:55:57 +0000 (10:55 -0500)]
Clarify the code.

So that there aren't lots of if conditions

8 years agoand another
Alan T. DeKok [Tue, 16 Feb 2016 21:33:31 +0000 (16:33 -0500)]
and another

8 years ago%zd -> %d
Alan T. DeKok [Tue, 16 Feb 2016 21:08:23 +0000 (16:08 -0500)]
%zd -> %d

8 years agowarning on possible truncation
Alan T. DeKok [Tue, 16 Feb 2016 16:49:13 +0000 (11:49 -0500)]
warning on possible truncation

8 years agomove MAX_PACKET_LEN to common header
Alan T. DeKok [Tue, 16 Feb 2016 16:42:18 +0000 (11:42 -0500)]
move MAX_PACKET_LEN to common header

8 years agoBreak out early if we're at the end of the packet.
Alan T. DeKok [Tue, 16 Feb 2016 16:21:57 +0000 (11:21 -0500)]
Break out early if we're at the end of the packet.

8 years agoMore checks as per commit 39149c
Alan T. DeKok [Tue, 16 Feb 2016 16:21:46 +0000 (11:21 -0500)]
More checks as per commit 39149c