freeradius.git
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

11 years agoFix eap-tnc configure script
Arran Cudbard-Bell [Mon, 25 Feb 2013 17:15:46 +0000 (12:15 -0500)]
Fix eap-tnc configure script

11 years agoFix typos
Arran Cudbard-Bell [Mon, 25 Feb 2013 17:14:56 +0000 (12:14 -0500)]
Fix typos

11 years agoOutput required libcurl version
Arran Cudbard-Bell [Mon, 25 Feb 2013 16:43:59 +0000 (11:43 -0500)]
Output required libcurl version

11 years agoRemove reference to lvalue (when was this module last built?\!)
Arran Cudbard-Bell [Mon, 25 Feb 2013 16:31:30 +0000 (11:31 -0500)]
Remove reference to lvalue (when was this module last built?\!)

11 years agoCheck for OpenSSL support
Arran Cudbard-Bell [Mon, 25 Feb 2013 16:25:39 +0000 (11:25 -0500)]
Check for OpenSSL support

11 years agoUse boilermake for documentation.
Alan T. DeKok [Mon, 25 Feb 2013 16:14:48 +0000 (11:14 -0500)]
Use boilermake for documentation.

11 years agoFix typo
Alan T. DeKok [Mon, 25 Feb 2013 16:01:20 +0000 (11:01 -0500)]
Fix typo

11 years agoFix typos
Alan T. DeKok [Mon, 25 Feb 2013 02:33:53 +0000 (21:33 -0500)]
Fix typos

11 years agoMove scripts directory to boilermake
Alan T. DeKok [Sun, 24 Feb 2013 01:29:49 +0000 (20:29 -0500)]
Move scripts directory to boilermake

TODO: have "BINDIR" macro, which installs files into bindir
and for sbindir

11 years agoDependencies need to be passed as LIBS
Arran Cudbard-Bell [Mon, 25 Feb 2013 16:21:27 +0000 (11:21 -0500)]
Dependencies need to be passed as LIBS

11 years agoTry adding openssl libs to linkerflags when testing eap-ikev2
Arran Cudbard-Bell [Mon, 25 Feb 2013 16:13:02 +0000 (11:13 -0500)]
Try adding openssl libs to linkerflags when testing eap-ikev2

11 years agoFix eap-ikev2 configure script
Arran Cudbard-Bell [Mon, 25 Feb 2013 15:52:23 +0000 (10:52 -0500)]
Fix eap-ikev2 configure script

11 years agoMove EAP types (sub-modules) to use talloc
Alan T. DeKok [Fri, 22 Feb 2013 01:14:50 +0000 (20:14 -0500)]
Move EAP types (sub-modules) to use talloc

11 years agoMore formatting
Arran Cudbard-Bell [Sat, 23 Feb 2013 01:33:41 +0000 (20:33 -0500)]
More formatting

11 years agoFix const free warnings
Arran Cudbard-Bell [Sat, 23 Feb 2013 01:22:51 +0000 (20:22 -0500)]
Fix const free warnings

11 years agoMore jlibtool cleanups
Arran Cudbard-Bell [Sat, 23 Feb 2013 01:18:36 +0000 (20:18 -0500)]
More jlibtool cleanups

11 years agoPreliminary fix for linking in DynaLoader
Arran Cudbard-Bell [Fri, 22 Feb 2013 21:41:23 +0000 (16:41 -0500)]
Preliminary fix for linking in DynaLoader

11 years agoFixup formatting
Arran Cudbard-Bell [Fri, 22 Feb 2013 21:13:27 +0000 (16:13 -0500)]
Fixup formatting

11 years agoMake rlm_perl configure script more verbose
Arran Cudbard-Bell [Fri, 22 Feb 2013 04:45:01 +0000 (23:45 -0500)]
Make rlm_perl configure script more verbose

11 years agoNot needed as were using C99 types
Arran Cudbard-Bell [Fri, 22 Feb 2013 01:29:57 +0000 (20:29 -0500)]
Not needed as were using C99 types

11 years agoReformat base64 code, use library base64 functions in rlm_pap
Arran Cudbard-Bell [Fri, 22 Feb 2013 01:27:20 +0000 (20:27 -0500)]
Reformat base64 code, use library base64 functions in rlm_pap

11 years agoFix error strings to make more sense
Alan T. DeKok [Thu, 21 Feb 2013 14:34:31 +0000 (09:34 -0500)]
Fix error strings to make more sense

11 years agoStatic declarations of structures belong in C files, not H files
Alan T. DeKok [Thu, 21 Feb 2013 03:56:17 +0000 (22:56 -0500)]
Static declarations of structures belong in C files, not H files

And set the "end of CONF_PARSER" entry, too.

11 years agomark unused
Alan T. DeKok [Thu, 21 Feb 2013 00:48:29 +0000 (19:48 -0500)]
mark unused

11 years agodup may return < 0
Alan T. DeKok [Thu, 21 Feb 2013 00:48:00 +0000 (19:48 -0500)]
dup may return < 0

11 years agofix for coverity
Alan T. DeKok [Thu, 21 Feb 2013 00:46:45 +0000 (19:46 -0500)]
fix for coverity

11 years agofix for coverity
Alan T. DeKok [Thu, 21 Feb 2013 00:44:33 +0000 (19:44 -0500)]
fix for coverity

11 years agoFix for coverity
Alan T. DeKok [Thu, 21 Feb 2013 00:42:50 +0000 (19:42 -0500)]
Fix for coverity

11 years agoSkip encrypted, tagged, etc. attrs for zero-length CUI
Alan T. DeKok [Thu, 21 Feb 2013 00:41:38 +0000 (19:41 -0500)]
Skip encrypted, tagged, etc. attrs for zero-length CUI

11 years agoCheck for !cs before expanding variables
Alan T. DeKok [Thu, 21 Feb 2013 00:37:54 +0000 (19:37 -0500)]
Check for !cs before expanding variables

11 years agoFree variables on exit
Alan T. DeKok [Thu, 21 Feb 2013 00:37:06 +0000 (19:37 -0500)]
Free variables on exit

11 years agoFix typo
Alan T. DeKok [Thu, 21 Feb 2013 00:34:59 +0000 (19:34 -0500)]
Fix typo

11 years agoForce buffer to be terminated
Alan T. DeKok [Thu, 21 Feb 2013 00:34:11 +0000 (19:34 -0500)]
Force buffer to be terminated

11 years agoFix typo
Arran Cudbard-Bell [Wed, 20 Feb 2013 23:28:22 +0000 (18:28 -0500)]
Fix typo

11 years agoUse talloc to alloc conn memory
Arran Cudbard-Bell [Wed, 20 Feb 2013 23:01:26 +0000 (18:01 -0500)]
Use talloc to alloc conn memory