]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
12 years agoCorrect bind error handling in rlm_ldap 219/head
Olivier Beytrison [Sat, 9 Mar 2013 17:55:49 +0000 (18:55 +0100)] 
Correct bind error handling in rlm_ldap
Additionnaly, if we do edir authorization, and the bind failed, return RLM_USERLOCK along a Module-Failure-Message

12 years agoAdd call to AC_CANONICAL_SYSTEM to populate $host
Arran Cudbard-Bell [Fri, 8 Mar 2013 16:37:53 +0000 (11:37 -0500)] 
Add call to AC_CANONICAL_SYSTEM to populate $host

12 years agoFix debug messages
Alan T. DeKok [Fri, 8 Mar 2013 15:08:40 +0000 (10:08 -0500)] 
Fix debug messages

And add "request" field to radius_readfrom_program()

12 years agoNote recent changes
Alan T. DeKok [Fri, 8 Mar 2013 13:21:07 +0000 (08:21 -0500)] 
Note recent changes

12 years agoCleanup the last bits of non-talloc socket destruction
Arran Cudbard-Bell [Fri, 8 Mar 2013 04:30:56 +0000 (23:30 -0500)] 
Cleanup the last bits of non-talloc socket destruction

12 years agoFix typos/weird function names
Arran Cudbard-Bell [Fri, 8 Mar 2013 04:30:20 +0000 (23:30 -0500)] 
Fix typos/weird function names

12 years agoFix typo in oracle configure script
Arran Cudbard-Bell [Fri, 8 Mar 2013 04:10:48 +0000 (23:10 -0500)] 
Fix typo in oracle configure script

12 years agoUse talloc destructors to close sockets (SQLite)
Arran Cudbard-Bell [Thu, 7 Mar 2013 20:57:44 +0000 (15:57 -0500)] 
Use talloc destructors to close sockets (SQLite)

12 years agoUse talloc destructors to close sockets (postgresql)
Arran Cudbard-Bell [Fri, 8 Mar 2013 03:19:56 +0000 (22:19 -0500)] 
Use talloc destructors to close sockets (postgresql)

12 years agoUse talloc destructors to close sockets (sybase)
Arran Cudbard-Bell [Fri, 8 Mar 2013 03:19:45 +0000 (22:19 -0500)] 
Use talloc destructors to close sockets (sybase)

12 years agoUse talloc destructors to close sockets (unixodbc)
Arran Cudbard-Bell [Fri, 8 Mar 2013 03:19:35 +0000 (22:19 -0500)] 
Use talloc destructors to close sockets (unixodbc)

12 years agoUse talloc destructors to close sockets (oracle)
Arran Cudbard-Bell [Thu, 7 Mar 2013 22:17:59 +0000 (17:17 -0500)] 
Use talloc destructors to close sockets (oracle)

12 years agoUse talloc destructors to close sockets (mysql)
Arran Cudbard-Bell [Thu, 7 Mar 2013 22:17:50 +0000 (17:17 -0500)] 
Use talloc destructors to close sockets (mysql)

12 years agoUse talloc destructors to close sockets (iodbc)
Arran Cudbard-Bell [Thu, 7 Mar 2013 21:57:48 +0000 (16:57 -0500)] 
Use talloc destructors to close sockets (iodbc)

12 years agoUse talloc destructors to close sockets (freetds)
Arran Cudbard-Bell [Thu, 7 Mar 2013 21:50:57 +0000 (16:50 -0500)] 
Use talloc destructors to close sockets (freetds)

12 years agoUse talloc destructors to close sockets (firebird)
Arran Cudbard-Bell [Thu, 7 Mar 2013 21:40:34 +0000 (16:40 -0500)] 
Use talloc destructors to close sockets (firebird)

12 years agoUse talloc destructors to close sockets (db2)
Arran Cudbard-Bell [Thu, 7 Mar 2013 21:04:12 +0000 (16:04 -0500)] 
Use talloc destructors to close sockets (db2)

12 years agoMake close method optional
Arran Cudbard-Bell [Thu, 7 Mar 2013 19:57:21 +0000 (14:57 -0500)] 
Make close method optional

12 years agoRename sql_init_socket to sql_socket_init
Arran Cudbard-Bell [Thu, 7 Mar 2013 19:46:38 +0000 (14:46 -0500)] 
Rename sql_init_socket to sql_socket_init

12 years agoMark sqlite as stable
Arran Cudbard-Bell [Thu, 7 Mar 2013 19:38:27 +0000 (14:38 -0500)] 
Mark sqlite as stable

12 years agoAdd schemas and support files for IP allocation for SQLite
Arran Cudbard-Bell [Thu, 7 Mar 2013 19:38:18 +0000 (14:38 -0500)] 
Add schemas and support files for IP allocation for SQLite

12 years agoAdd support for bootstrapping sqlite databases
Arran Cudbard-Bell [Thu, 7 Mar 2013 19:37:32 +0000 (14:37 -0500)] 
Add support for bootstrapping sqlite databases

12 years agoClose SQLite sockets properly on failure
Arran Cudbard-Bell [Thu, 7 Mar 2013 19:36:42 +0000 (14:36 -0500)] 
Close SQLite sockets properly on failure

12 years agoAdd function for checking whether files exist
Arran Cudbard-Bell [Thu, 7 Mar 2013 19:26:54 +0000 (14:26 -0500)] 
Add function for checking whether files exist

12 years agoRemove MySQL text
Alan T. DeKok [Fri, 8 Mar 2013 00:57:27 +0000 (19:57 -0500)] 
Remove MySQL text

12 years agoMerge pull request #215 from alanbuxey/master
Alan DeKok [Fri, 8 Mar 2013 00:53:05 +0000 (16:53 -0800)] 
Merge pull request #215 from alanbuxey/master

keeping up with new RFCs

12 years agoadded RFC6677 to the main include list 215/head
Alan Buxey [Thu, 7 Mar 2013 20:55:54 +0000 (20:55 +0000)] 
added RFC6677 to the main include list

wont get used otherwise...

12 years agokeeping up with the RFCs 214/head
Alan Buxey [Thu, 7 Mar 2013 20:52:19 +0000 (20:52 +0000)] 
keeping up with the RFCs

RFC 6677.  awaiting RFC-ietf-abfab-gss-eap-09 to be passed before
further dictionary changes

12 years agoDon't dlclose() modules on "radiusd -m"
Alan T. DeKok [Thu, 7 Mar 2013 14:57:41 +0000 (09:57 -0500)] 
Don't dlclose() modules on "radiusd -m"

It's a bit counter-intuitive to the meaning of "-m", but
it means that the libraries hang around, so that valgrind
can find symbols in them.

12 years agoMerge pull request #212 from jahir/master
Alan DeKok [Thu, 7 Mar 2013 14:43:59 +0000 (06:43 -0800)] 
Merge pull request #212 from jahir/master

don't count status server requests in internal stats

12 years agoFix SQLite inserts
Arran Cudbard-Bell [Wed, 6 Mar 2013 22:37:05 +0000 (17:37 -0500)] 
Fix SQLite inserts

12 years agoBasic Sqlite Schema
Arran Cudbard-Bell [Wed, 6 Mar 2013 22:21:45 +0000 (17:21 -0500)] 
Basic Sqlite Schema

12 years agoExtra debugging
Arran Cudbard-Bell [Wed, 6 Mar 2013 22:20:52 +0000 (17:20 -0500)] 
Extra debugging

12 years agoWS fixup
Arran Cudbard-Bell [Wed, 6 Mar 2013 22:20:37 +0000 (17:20 -0500)] 
WS fixup

12 years agoCreate non xlated values too!
Arran Cudbard-Bell [Wed, 6 Mar 2013 22:20:25 +0000 (17:20 -0500)] 
Create non xlated values too!

12 years agoFix Doxygen
Arran Cudbard-Bell [Wed, 6 Mar 2013 20:22:05 +0000 (15:22 -0500)] 
Fix Doxygen

12 years agoOutput reason for connection failure
Arran Cudbard-Bell [Wed, 6 Mar 2013 20:08:01 +0000 (15:08 -0500)] 
Output reason for connection failure

12 years agoShould probably open in multi-threaded mode
Arran Cudbard-Bell [Wed, 6 Mar 2013 18:58:55 +0000 (13:58 -0500)] 
Should probably open in multi-threaded mode

12 years agoAllocate the subsection if it doesn't exist instead of failing
Arran Cudbard-Bell [Wed, 6 Mar 2013 18:58:20 +0000 (13:58 -0500)] 
Allocate the subsection if it doesn't exist instead of failing

12 years agoRemove boilerplate text, update copyright
Arran Cudbard-Bell [Wed, 6 Mar 2013 18:49:16 +0000 (13:49 -0500)] 
Remove boilerplate text, update copyright

12 years agoFix order of arguments and expose cf_section_alloc
Arran Cudbard-Bell [Wed, 6 Mar 2013 18:45:00 +0000 (13:45 -0500)] 
Fix order of arguments and expose cf_section_alloc

12 years agoDon't segv if we log an error with a NULL cs
Arran Cudbard-Bell [Wed, 6 Mar 2013 16:42:15 +0000 (11:42 -0500)] 
Don't segv if we log an error with a NULL cs

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