freeradius.git
11 years agoEap channel binding support code
Kevin [Fri, 3 Feb 2012 13:15:10 +0000 (08:15 -0500)]
Eap channel binding support code

11 years agoAdded attribute and values for EAP channel binding response codes.
Margaret Wasserman [Fri, 3 Feb 2012 02:45:31 +0000 (21:45 -0500)]
Added attribute and values for EAP channel binding response codes.

11 years agoMerge pull request #210 from arr2036/master
Alan DeKok [Tue, 5 Mar 2013 03:06:35 +0000 (19:06 -0800)]
Merge pull request #210 from arr2036/master

DHCP fixes

11 years agoDHCP fixes from v2.1.x
Arran Cudbard-Bell [Tue, 5 Mar 2013 02:25:37 +0000 (21:25 -0500)]
DHCP fixes from v2.1.x

11 years agoWhitespace fixes
Arran Cudbard-Bell [Tue, 5 Mar 2013 02:14:03 +0000 (21:14 -0500)]
Whitespace fixes

11 years agoAdd relay ip attribute
Arran Cudbard-Bell [Mon, 4 Mar 2013 22:39:35 +0000 (17:39 -0500)]
Add relay ip attribute

11 years agoPrint option only N times, not N + 1
Alan T. DeKok [Sun, 3 Mar 2013 03:40:09 +0000 (19:40 -0800)]
Print option only N times, not N + 1

11 years agoDocument deleted modules
Alan T. DeKok [Sat, 2 Mar 2013 22:38:02 +0000 (17:38 -0500)]
Document deleted modules

11 years agoAdd field separators for MD5 functions
Alan T. DeKok [Sat, 2 Mar 2013 22:36:11 +0000 (17:36 -0500)]
Add field separators for MD5 functions

11 years agoDelete unused module.
Alan T. DeKok [Sat, 2 Mar 2013 22:23:39 +0000 (17:23 -0500)]
Delete unused module.

There is no sample configuration for it.  No one seems to use it.
The new "users" file parser is fast enough that there isn't
any real need for a DBM

11 years agoMark parameters unused
Alan T. DeKok [Sun, 3 Mar 2013 02:19:18 +0000 (18:19 -0800)]
Mark parameters unused

11 years agoReformatting in firebird
Arran Cudbard-Bell [Sat, 2 Mar 2013 21:41:31 +0000 (16:41 -0500)]
Reformatting in firebird

11 years agoUse correct return codes and variable types
Alan T. DeKok [Sat, 2 Mar 2013 20:55:01 +0000 (12:55 -0800)]
Use correct return codes and variable types

11 years agoRemove unused variable
Alan T. DeKok [Sat, 2 Mar 2013 20:54:35 +0000 (12:54 -0800)]
Remove unused variable

11 years agoFix compiler warnings
Alan T. DeKok [Sat, 2 Mar 2013 20:47:59 +0000 (12:47 -0800)]
Fix compiler warnings

11 years agoRemove unused variable
Alan T. DeKok [Sat, 2 Mar 2013 20:46:55 +0000 (12:46 -0800)]
Remove unused variable

11 years agoRemove unused variable
Alan T. DeKok [Sat, 2 Mar 2013 20:45:53 +0000 (12:45 -0800)]
Remove unused variable

11 years agoRemove compiler warnings
Alan T. DeKok [Sat, 2 Mar 2013 20:45:05 +0000 (12:45 -0800)]
Remove compiler warnings

11 years agoRemove more warnings
Alan T. DeKok [Sat, 2 Mar 2013 20:39:00 +0000 (12:39 -0800)]
Remove more warnings

11 years agoFix compile warnings
Alan T. DeKok [Sat, 2 Mar 2013 20:34:19 +0000 (12:34 -0800)]
Fix compile warnings

11 years agoToo many -Ls
Arran Cudbard-Bell [Sat, 2 Mar 2013 16:11:11 +0000 (11:11 -0500)]
Too many -Ls

11 years agoOnly string and integer types can have tags.
Alan T. DeKok [Sat, 2 Mar 2013 15:42:18 +0000 (10:42 -0500)]
Only string and integer types can have tags.

This should fix the issue with Coverity

11 years agoArray entry always exists
Alan T. DeKok [Sat, 2 Mar 2013 15:38:45 +0000 (10:38 -0500)]
Array entry always exists

11 years agoRemove dead code
Alan T. DeKok [Sat, 2 Mar 2013 15:37:58 +0000 (10:37 -0500)]
Remove dead code

11 years agoUse memcpy for binary structures, not strncpy
Alan T. DeKok [Sat, 2 Mar 2013 15:32:20 +0000 (10:32 -0500)]
Use memcpy for binary structures, not strncpy

11 years agoUse talloc for hs_type
Alan T. DeKok [Sat, 2 Mar 2013 15:30:38 +0000 (10:30 -0500)]
Use talloc for hs_type

We'll probably need to audit the source for similar issues.
Or, simply convert everything to talloc, and the problems
will go away.

11 years agoFree memory on error
Alan T. DeKok [Sat, 2 Mar 2013 15:26:25 +0000 (10:26 -0500)]
Free memory on error

11 years agoReturn something. No idea if it's correct.
Alan T. DeKok [Sat, 2 Mar 2013 15:10:55 +0000 (10:10 -0500)]
Return something.  No idea if it's correct.

People shouldn't be using the freetds module.

We should probably just deleted it.

11 years agoNote that it's fall-through
Alan T. DeKok [Sat, 2 Mar 2013 15:10:04 +0000 (10:10 -0500)]
Note that it's fall-through

11 years agoIf we don't re-connect, it's an error.
Alan T. DeKok [Sat, 2 Mar 2013 15:08:58 +0000 (10:08 -0500)]
If we don't re-connect, it's an error.

11 years agoFree memory on error
Alan T. DeKok [Sat, 2 Mar 2013 15:07:15 +0000 (10:07 -0500)]
Free memory on error

11 years agoInitialize VP to NULL.
Alan T. DeKok [Sat, 2 Mar 2013 15:03:26 +0000 (10:03 -0500)]
Initialize VP to NULL.

There may be no data from the json call.  If so, we return NULL

11 years agoUse correct variable
Alan T. DeKok [Sat, 2 Mar 2013 15:02:01 +0000 (10:02 -0500)]
Use correct variable

11 years agoUse correct variable
Alan T. DeKok [Sat, 2 Mar 2013 15:00:47 +0000 (10:00 -0500)]
Use correct variable

11 years agoUse correct argument
Alan T. DeKok [Sat, 2 Mar 2013 14:58:42 +0000 (09:58 -0500)]
Use correct argument

11 years agoFree memory on bind / select failed
Alan T. DeKok [Sat, 2 Mar 2013 14:57:27 +0000 (09:57 -0500)]
Free memory on bind / select failed

11 years agoHacks for Coverity.
Alan T. DeKok [Sat, 2 Mar 2013 14:53:36 +0000 (09:53 -0500)]
Hacks for Coverity.

We know that editing the dictionaries won't happen.  Coverity doesn't

11 years agoMade "chase_referrals" and "rebind" to "yes" by default.
Alan T. DeKok [Sat, 2 Mar 2013 14:50:13 +0000 (09:50 -0500)]
Made "chase_referrals" and "rebind" to "yes" by default.

And updated the source so that it prints out warnings
if they cannot be enabled.

We should probably just remove these two options.  There are
always benefits to leaving them on.  There are no real benefits
to turning them off

11 years agoUse correct buffer for output
Alan T. DeKok [Sat, 2 Mar 2013 14:49:46 +0000 (09:49 -0500)]
Use correct buffer for output

11 years agoFixup oracle configure script
Arran Cudbard-Bell [Sat, 2 Mar 2013 05:30:37 +0000 (00:30 -0500)]
Fixup oracle configure script

11 years agoReconfig for new acinclude stuff
Arran Cudbard-Bell [Fri, 1 Mar 2013 16:51:36 +0000 (11:51 -0500)]
Reconfig for new acinclude stuff

11 years agoFix reconfig
Arran Cudbard-Bell [Fri, 1 Mar 2013 16:51:22 +0000 (11:51 -0500)]
Fix reconfig

11 years agoConfigure scripts depend on local macro files, too
Alan T. DeKok [Fri, 1 Mar 2013 16:10:42 +0000 (11:10 -0500)]
Configure scripts depend on local macro files, too

11 years agoUse GNU Make patterns to regenerate configure scripts
Alan T. DeKok [Fri, 1 Mar 2013 16:09:26 +0000 (11:09 -0500)]
Use GNU Make patterns to regenerate configure scripts

11 years agoEnsure directory name always ends with "/"
Alan T. DeKok [Fri, 1 Mar 2013 16:08:50 +0000 (11:08 -0500)]
Ensure directory name always ends with "/"

11 years agoEnsure that the directory name always ends with /
Alan T. DeKok [Fri, 1 Mar 2013 16:06:41 +0000 (11:06 -0500)]
Ensure that the directory name always ends with /

11 years agoRemove extraneous fprintf
Alan T. DeKok [Fri, 1 Mar 2013 16:02:12 +0000 (11:02 -0500)]
Remove extraneous fprintf

11 years agoProperly track absolute / relative paths
Alan T. DeKok [Fri, 1 Mar 2013 01:22:37 +0000 (20:22 -0500)]
Properly track absolute / relative paths

11 years agoProperly track relative / absolute filenames
Alan T. DeKok [Fri, 1 Mar 2013 01:19:14 +0000 (20:19 -0500)]
Properly track relative / absolute filenames

So we can do the following:

top: $INCLUDE foo/bar
foo/bar: $INCLUDE baz
foo/baz stuff

Which makes file tracking nice

11 years agoThe linker arguments still go through gcc...
Arran Cudbard-Bell [Fri, 1 Mar 2013 06:25:02 +0000 (01:25 -0500)]
The linker arguments still go through gcc...

11 years agoRename SQL data types so they don't conflict with drivers
Arran Cudbard-Bell [Fri, 1 Mar 2013 06:18:47 +0000 (01:18 -0500)]
Rename SQL data types so they don't conflict with drivers

11 years agoBe extremely verbose about where were looking for things
Arran Cudbard-Bell [Fri, 1 Mar 2013 05:42:43 +0000 (00:42 -0500)]
Be extremely verbose about where were looking for things

11 years agoPass rpath when linking in directories that are probably outside of the normal linker...
Arran Cudbard-Bell [Fri, 1 Mar 2013 04:55:16 +0000 (23:55 -0500)]
Pass rpath when linking in directories that are probably outside of the normal linker path

11 years agoAdd extra search location for db2
Arran Cudbard-Bell [Fri, 1 Mar 2013 03:03:14 +0000 (22:03 -0500)]
Add extra search location for db2

11 years agoClean up test build rules
Alan T. DeKok [Wed, 27 Feb 2013 16:35:58 +0000 (11:35 -0500)]
Clean up test build rules

Next step is to convert the tests to boilermake

11 years agoAdd missing state definitions
Arran Cudbard-Bell [Wed, 27 Feb 2013 17:10:39 +0000 (12:10 -0500)]
Add missing state definitions

11 years agoAdd configure scripts for rlm_securid
Arran Cudbard-Bell [Wed, 27 Feb 2013 16:22:47 +0000 (11:22 -0500)]
Add configure scripts for rlm_securid

11 years agoShouldn't have removed this
Alan T. DeKok [Wed, 27 Feb 2013 15:22:57 +0000 (10:22 -0500)]
Shouldn't have removed this

11 years agoNo longer needed
Alan T. DeKok [Wed, 27 Feb 2013 15:08:28 +0000 (10:08 -0500)]
No longer needed

11 years agoMerge pull request #208 from alagoutte/master
Alan DeKok [Wed, 27 Feb 2013 15:10:42 +0000 (07:10 -0800)]
Merge pull request #208 from alagoutte/master

Update Aruba RADIUS Attributes

11 years agoRun the tests.
Alan T. DeKok [Wed, 27 Feb 2013 15:06:21 +0000 (10:06 -0500)]
Run the tests.

Accidentally deleted in prior commit

11 years agoFrom ArubaOS 6.2.x : new Aruba RADIUS Attributes with new Aruba feature (AirGroup...
Alexis La Goutte [Wed, 27 Feb 2013 13:08:59 +0000 (14:08 +0100)]
From ArubaOS 6.2.x : new Aruba RADIUS Attributes with new Aruba feature (AirGroup, MDPS, CPPM...)

(Aruba620) #show aaa radius-attributes | include Aruba
Aruba-Mdps-Device-Version       21     String       Aruba      14823
Aruba-Mdps-Max-Devices          18     Integer      Aruba      14823
Aruba-Location-Id               6      String       Aruba      14823
Aruba-Template-User             8      String       Aruba      14823
Aruba-No-DHCP-Fingerprint       14     Integer      Aruba      14823
Aruba-AirGroup-Device-Type      27     Integer      Aruba      14823
Aruba-Mdps-Device-Udid          15     String       Aruba      14823
Aruba-AirGroup-Shared-User      25     String       Aruba      14823
Aruba-Mdps-Device-Serial        22     String       Aruba      14823
Aruba-User-Role                 1      String       Aruba      14823
Aruba-Port-Id                   7      String       Aruba      14823
Aruba-Priv-Admin-User           3      Integer      Aruba      14823
Aruba-Mdps-Device-Product       20     String       Aruba      14823
Aruba-User-Vlan                 2      Integer      Aruba      14823
Aruba-AirGroup-Shared-Role      26     String       Aruba      14823
Aruba-Device-Type               12     String       Aruba      14823
Aruba-Mdps-Device-Imei          16     String       Aruba      14823
Aruba-Essid-Name                5      String       Aruba      14823
Aruba-AP-Group                  10     String       Aruba      14823
Aruba-CPPM-Role                 23     String       Aruba      14823
Aruba-Mdps-Device-Name          19     String       Aruba      14823
Aruba-AirGroup-User-Name        24     String       Aruba      14823
Aruba-Mdps-Device-Iccid         17     String       Aruba      14823
Aruba-Framed-IPv6-Address       11     String       Aruba      14823
Aruba-AP-Name                   13     String       Aruba      14823
Aruba-Named-User-Vlan           9      String       Aruba      14823
Aruba-Admin-Role                4      String       Aruba      14823

11 years agoFix sybase enough that it builds
Arran Cudbard-Bell [Wed, 27 Feb 2013 07:09:22 +0000 (02:09 -0500)]
Fix sybase enough that it builds

11 years agoAdd dependencies for firebird freetds and sybase
Arran Cudbard-Bell [Wed, 27 Feb 2013 06:53:48 +0000 (01:53 -0500)]
Add dependencies for firebird freetds and sybase

11 years agoAdd autoconf script for sybase (which also uses freetds but a new version of the...
Arran Cudbard-Bell [Wed, 27 Feb 2013 06:48:23 +0000 (01:48 -0500)]
Add autoconf script for sybase (which also uses freetds but a new version of the API)

11 years agoAdd autoconf script for freetds
Arran Cudbard-Bell [Wed, 27 Feb 2013 06:42:33 +0000 (01:42 -0500)]
Add autoconf script for freetds

11 years agoRemove cruft from rlm_sql configure script, and inherit EXPERIMENTAL status from...
Arran Cudbard-Bell [Wed, 27 Feb 2013 06:41:40 +0000 (01:41 -0500)]
Remove cruft from rlm_sql configure script, and inherit EXPERIMENTAL status from top level configure script

11 years agoFix quoting in rlm_ldap autoconf file
Arran Cudbard-Bell [Tue, 26 Feb 2013 21:34:01 +0000 (16:34 -0500)]
Fix quoting in rlm_ldap autoconf file

11 years agoRemoved Makefile.in, no longer needed
Alan T. DeKok [Tue, 26 Feb 2013 21:30:33 +0000 (16:30 -0500)]
Removed Makefile.in, no longer needed

11 years agoRemoved old Makefiles, no longer used
Alan T. DeKok [Tue, 26 Feb 2013 21:28:08 +0000 (16:28 -0500)]
Removed old Makefiles, no longer used

11 years agoFix typo
Alan T. DeKok [Tue, 26 Feb 2013 20:12:42 +0000 (15:12 -0500)]
Fix typo

11 years agoMoved raddb/ to use boilermake
Alan T. DeKok [Tue, 26 Feb 2013 19:58:10 +0000 (14:58 -0500)]
Moved raddb/ to use boilermake

11 years agoq is char*, not PAIR_LIST*
Alan T. DeKok [Tue, 26 Feb 2013 18:24:17 +0000 (13:24 -0500)]
q is char*, not PAIR_LIST*

11 years agoRemove checks for libltdl
Alan T. DeKok [Tue, 26 Feb 2013 16:53:59 +0000 (11:53 -0500)]
Remove checks for libltdl

11 years agoMerge pull request #193 from candlerb/candlerb/redis_fixes_master
Arran Cudbard-Bell [Tue, 26 Feb 2013 18:22:47 +0000 (10:22 -0800)]
Merge pull request #193 from candlerb/candlerb/redis_fixes_master

rlm_redis argument splitting for master

11 years agoRemove superfluous redis_escape_func
Brian Candler [Thu, 14 Feb 2013 12:15:46 +0000 (12:15 +0000)]
Remove superfluous redis_escape_func

11 years agorlm_redis argument splitting
Brian Candler [Sat, 9 Feb 2013 10:20:10 +0000 (10:20 +0000)]
rlm_redis argument splitting

rlm_redis_query now splits the query into separate arguments and expands
each one individually.

This allows for both string literals and expansions to contain spaces, e.g.

    %{redis:LPUSH 'my key' %{User-Name}}

11 years agoRemove quotes from quoted argv entries
Brian Candler [Fri, 8 Feb 2013 18:55:56 +0000 (18:55 +0000)]
Remove quotes from quoted argv entries

11 years agoFactor out argv splitting into rad_expand_xlat
Brian Candler [Fri, 8 Feb 2013 17:41:58 +0000 (17:41 +0000)]
Factor out argv splitting into rad_expand_xlat

11 years agoUse less Travis buildbot time
Arran Cudbard-Bell [Tue, 26 Feb 2013 17:24:36 +0000 (12:24 -0500)]
Use less Travis buildbot time

11 years agoBuild the pam stuff too
Arran Cudbard-Bell [Tue, 26 Feb 2013 06:34:22 +0000 (01:34 -0500)]
Build the pam stuff too

11 years agoInstall more dependencies so we build more
Arran Cudbard-Bell [Tue, 26 Feb 2013 06:25:27 +0000 (01:25 -0500)]
Install more dependencies so we build more

11 years agoFix redis configure script
Arran Cudbard-Bell [Tue, 26 Feb 2013 05:55:45 +0000 (00:55 -0500)]
Fix redis configure script

11 years agoFix build button [ci skip]
Arran Cudbard-Bell [Tue, 26 Feb 2013 03:34:09 +0000 (22:34 -0500)]
Fix build button [ci skip]

11 years agoFix library path in tests
Arran Cudbard-Bell [Tue, 26 Feb 2013 03:05:43 +0000 (22:05 -0500)]
Fix library path in tests

11 years agoDon't crash on server exit
Arran Cudbard-Bell [Tue, 26 Feb 2013 02:27:39 +0000 (21:27 -0500)]
Don't crash on server exit

11 years agoOutput last few lines of radius.log on error
Arran Cudbard-Bell [Tue, 26 Feb 2013 02:27:21 +0000 (21:27 -0500)]
Output last few lines of radius.log on error

11 years agoTest target must trigger cert creation process, else we time out waiting for the...
Arran Cudbard-Bell [Tue, 26 Feb 2013 01:44:25 +0000 (20:44 -0500)]
Test target must trigger cert creation process, else we time out waiting for the server to start on Travis builds

11 years agoAdd configure script
Arran Cudbard-Bell [Tue, 26 Feb 2013 00:54:51 +0000 (19:54 -0500)]
Add configure script

11 years agoOverwrite digest da *after* packing the TLV
Arran Cudbard-Bell [Tue, 26 Feb 2013 00:49:39 +0000 (19:49 -0500)]
Overwrite digest da *after* packing the TLV

11 years agoPass port to runtest.sh
Arran Cudbard-Bell [Tue, 26 Feb 2013 00:04:04 +0000 (19:04 -0500)]
Pass port to runtest.sh

11 years agoImprove rlm_digest debug messages
Arran Cudbard-Bell [Tue, 26 Feb 2013 00:02:50 +0000 (19:02 -0500)]
Improve rlm_digest debug messages

11 years agoFix rlm_mschap builds on OSX
Arran Cudbard-Bell [Mon, 25 Feb 2013 22:13:51 +0000 (17:13 -0500)]
Fix rlm_mschap builds on OSX

11 years agoFix test scripts [ci skip]
Arran Cudbard-Bell [Mon, 25 Feb 2013 21:36:49 +0000 (16:36 -0500)]
Fix test scripts [ci skip]

11 years agoInstall basic dependencies
Arran Cudbard-Bell [Mon, 25 Feb 2013 19:11:43 +0000 (14:11 -0500)]
Install basic dependencies

11 years agoFix formatting in README.rst and add build status
Arran Cudbard-Bell [Mon, 25 Feb 2013 19:04:53 +0000 (14:04 -0500)]
Fix formatting in README.rst and add build status

11 years agoChange README to README.rst
Arran Cudbard-Bell [Mon, 25 Feb 2013 18:35:56 +0000 (13:35 -0500)]
Change README to README.rst

11 years agoBuild with clang and gcc
Arran Cudbard-Bell [Mon, 25 Feb 2013 18:27:08 +0000 (13:27 -0500)]
Build with clang and gcc

11 years agoFirst attempt at integrating Travis
Arran Cudbard-Bell [Mon, 25 Feb 2013 18:25:58 +0000 (13:25 -0500)]
First attempt at integrating Travis

11 years agoFix typo
Arran Cudbard-Bell [Mon, 25 Feb 2013 18:05:25 +0000 (13:05 -0500)]
Fix typo