]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
12 years agodon't count status server requests in internal stats 212/head
Jakob Hirsch [Wed, 6 Mar 2013 17:34:52 +0000 (18:34 +0100)] 
don't count status server requests in internal stats

Requests to to status server should not be added to the internal counters,
notably the Access-Accept replies. See also the thread in
http://lists.freeradius.org/pipermail/freeradius-devel/2013-March/007801.html

12 years agoFix doxygen stuff
Alan T. DeKok [Wed, 6 Mar 2013 15:21:49 +0000 (10:21 -0500)] 
Fix doxygen stuff

12 years agoFix userparse.
Alan T. DeKok [Wed, 6 Mar 2013 14:41:00 +0000 (09:41 -0500)] 
Fix userparse.

Manual merge of 03a789e4f792da7

12 years agoMore sqlite fixes
Arran Cudbard-Bell [Wed, 6 Mar 2013 06:22:06 +0000 (01:22 -0500)] 
More sqlite fixes

12 years agoMore travis fixes
Arran Cudbard-Bell [Wed, 6 Mar 2013 06:19:28 +0000 (01:19 -0500)] 
More travis fixes

12 years agoFix config path
Arran Cudbard-Bell [Wed, 6 Mar 2013 05:36:10 +0000 (00:36 -0500)] 
Fix config path

12 years agoDon't need to check row
Arran Cudbard-Bell [Wed, 6 Mar 2013 05:24:12 +0000 (00:24 -0500)] 
Don't need to check row

12 years agoFix typo
Arran Cudbard-Bell [Wed, 6 Mar 2013 05:22:14 +0000 (00:22 -0500)] 
Fix typo

12 years agoFix some warnings
Arran Cudbard-Bell [Wed, 6 Mar 2013 05:16:30 +0000 (00:16 -0500)] 
Fix some warnings

12 years agoAdd instantiate method for rlm_sql drivers
Arran Cudbard-Bell [Wed, 6 Mar 2013 04:39:27 +0000 (23:39 -0500)] 
Add instantiate method for rlm_sql drivers

12 years agoRename sql_conn to sql_conn_t
Arran Cudbard-Bell [Wed, 6 Mar 2013 04:39:10 +0000 (23:39 -0500)] 
Rename sql_conn to sql_conn_t

12 years agoRemove wrappers from sqlite
Arran Cudbard-Bell [Wed, 6 Mar 2013 04:38:20 +0000 (23:38 -0500)] 
Remove wrappers from sqlite

12 years agoRemove col_type
Arran Cudbard-Bell [Wed, 6 Mar 2013 03:39:09 +0000 (22:39 -0500)] 
Remove col_type

12 years agoAdd support for floats to sqlite
Arran Cudbard-Bell [Wed, 6 Mar 2013 03:38:18 +0000 (22:38 -0500)] 
Add support for floats to sqlite

12 years agoFix potential memory leak
Arran Cudbard-Bell [Wed, 6 Mar 2013 03:38:03 +0000 (22:38 -0500)] 
Fix potential memory leak

12 years agoFix travis retardation
Arran Cudbard-Bell [Wed, 6 Mar 2013 02:43:27 +0000 (21:43 -0500)] 
Fix travis retardation

12 years agoFixup sqlite
Arran Cudbard-Bell [Wed, 6 Mar 2013 02:10:47 +0000 (21:10 -0500)] 
Fixup sqlite

12 years agoUse libtalloc for creating and destroying sql connections
Arran Cudbard-Bell [Wed, 6 Mar 2013 02:08:48 +0000 (21:08 -0500)] 
Use libtalloc for creating and destroying sql connections

12 years agoAdd macro to check for memory allocation errors
Arran Cudbard-Bell [Wed, 6 Mar 2013 02:08:12 +0000 (21:08 -0500)] 
Add macro to check for memory allocation errors

12 years agoUse talloc_array instead of talloc_size
Arran Cudbard-Bell [Wed, 20 Feb 2013 17:44:24 +0000 (12:44 -0500)] 
Use talloc_array instead of talloc_size

12 years agoUse talloc to allocate tlvs in dhcp.c
Arran Cudbard-Bell [Wed, 20 Feb 2013 17:44:36 +0000 (12:44 -0500)] 
Use talloc to allocate tlvs in dhcp.c

12 years agoFix brackets
Alan T. DeKok [Wed, 6 Mar 2013 01:27:55 +0000 (20:27 -0500)] 
Fix brackets

12 years agoFix typo
Alan T. DeKok [Tue, 5 Mar 2013 22:12:37 +0000 (17:12 -0500)] 
Fix typo

12 years agoCopy updated code from v2.x.x
Alan T. DeKok [Tue, 5 Mar 2013 19:35:22 +0000 (14:35 -0500)] 
Copy updated code from v2.x.x

Just copy && edit until it works.
Pretty much add TAG_ANY to pairfind(), and convert DHCP2ATTR(foo)
to foo, DHCP_MAGIC_VENDOR

12 years agoRemove unused argument from dhcp_encode()
Alan T. DeKok [Tue, 5 Mar 2013 19:34:10 +0000 (14:34 -0500)] 
Remove unused argument from dhcp_encode()

12 years agoAdded 0x... for numbers
Alan T. DeKok [Sun, 3 Mar 2013 16:45:04 +0000 (11:45 -0500)] 
Added 0x... for numbers

12 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

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

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

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

12 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

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

12 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

12 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

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

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

12 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

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

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

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

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

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

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

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

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

12 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

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

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

12 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

12 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.

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

12 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.

12 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

12 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.

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

12 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

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

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

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

12 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

12 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

12 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

12 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

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

12 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

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

12 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

12 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

12 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 "/"

12 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 /

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

12 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

12 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

12 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...

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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

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

12 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

12 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

12 years agoFrom ArubaOS 6.2.x : new Aruba RADIUS Attributes with new Aruba feature (AirGroup... 208/head
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

12 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

12 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

12 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)

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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*

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

12 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

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