]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
11 years agoShould use krb5_free_error_message to free error message
Arran Cudbard-Bell [Fri, 13 Dec 2013 22:47:54 +0000 (22:47 +0000)] 
Should use krb5_free_error_message to free error message

11 years agoBetter error handling for heimdal
Arran Cudbard-Bell [Fri, 13 Dec 2013 20:57:52 +0000 (20:57 +0000)] 
Better error handling for heimdal

Apparently they don't use the comm_err API so all the messages come out as unknown...

11 years agoIgnore icon.png
Arran Cudbard-Bell [Fri, 13 Dec 2013 17:20:01 +0000 (17:20 +0000)] 
Ignore icon.png

11 years agoDisable threading for MIT libkrb5 <= 1.11.4 i.e. all currently released versions
Arran Cudbard-Bell [Fri, 13 Dec 2013 14:28:58 +0000 (14:28 +0000)] 
Disable threading for MIT libkrb5 <= 1.11.4 i.e. all currently released versions

11 years agoMerge pull request #489 from spaetow/master
Arran Cudbard-Bell [Thu, 12 Dec 2013 18:18:57 +0000 (10:18 -0800)] 
Merge pull request #489 from spaetow/master

Adding RFC7055 (ABFAB/Moonshot RFC)

11 years agoAdded VALUEs from the RFC
Alan T. DeKok [Thu, 12 Dec 2013 18:41:56 +0000 (13:41 -0500)] 
Added VALUEs from the RFC

11 years agoUse memdup for binary data, not strdup
Alan T. DeKok [Thu, 12 Dec 2013 14:16:59 +0000 (09:16 -0500)] 
Use memdup for binary data, not strdup

11 years agoSometimes KRB5_IS_THREAD_SAFE isn't defined
Alan T. DeKok [Thu, 12 Dec 2013 13:57:23 +0000 (08:57 -0500)] 
Sometimes KRB5_IS_THREAD_SAFE isn't defined

11 years agoMore sanity checks for connection limits
Alan T. DeKok [Thu, 12 Dec 2013 13:55:09 +0000 (08:55 -0500)] 
More sanity checks for connection limits

11 years agoOnly apply hack if rlm_krb5 was compiled thread capable
Arran Cudbard-Bell [Thu, 12 Dec 2013 12:24:28 +0000 (12:24 +0000)] 
Only apply hack if rlm_krb5 was compiled thread capable

11 years agoformatting
Arran Cudbard-Bell [Thu, 12 Dec 2013 12:20:50 +0000 (12:20 +0000)] 
formatting

11 years agoFree service principal on detach
Arran Cudbard-Bell [Thu, 12 Dec 2013 12:20:15 +0000 (12:20 +0000)] 
Free service principal on detach

11 years agoNote that it's OK to fall through
Alan T. DeKok [Wed, 11 Dec 2013 19:06:29 +0000 (14:06 -0500)] 
Note that it's OK to fall through

11 years agoAdded assert
Alan T. DeKok [Wed, 11 Dec 2013 19:04:38 +0000 (14:04 -0500)] 
Added assert

11 years agoWe can only decode attributes of 256 bytes or less
Alan T. DeKok [Wed, 11 Dec 2013 18:59:48 +0000 (13:59 -0500)] 
We can only decode attributes of 256 bytes or less

11 years agoPrototype functions if they're needed
Alan T. DeKok [Wed, 11 Dec 2013 18:50:54 +0000 (13:50 -0500)] 
Prototype functions if they're needed

11 years agoOnly munge pps fields for non-detail sockets
Alan T. DeKok [Wed, 11 Dec 2013 16:44:57 +0000 (11:44 -0500)] 
Only munge pps fields for non-detail sockets

11 years agoIf there's no children, we can just mark the request as done
Alan T. DeKok [Wed, 11 Dec 2013 16:29:34 +0000 (11:29 -0500)] 
If there's no children, we can just mark the request as done

11 years agoShould print the result code too for eDir failures
Arran Cudbard-Bell [Wed, 11 Dec 2013 13:38:37 +0000 (13:38 +0000)] 
Should print the result code too for eDir failures

11 years agoAdd some additional error definitions from the eDir docs
Arran Cudbard-Bell [Wed, 11 Dec 2013 13:36:24 +0000 (13:36 +0000)] 
Add some additional error definitions from the eDir docs

11 years agocache is no longer setable, so remove the config item from the default config
Arran Cudbard-Bell [Tue, 10 Dec 2013 17:37:31 +0000 (17:37 +0000)] 
cache is no longer setable, so remove the config item from the default config

11 years agoUpdate ChangeLog
Arran Cudbard-Bell [Tue, 10 Dec 2013 17:10:33 +0000 (12:10 -0500)] 
Update ChangeLog

11 years agoWork around bug in MIT krb5_copy_context which attempts to copy the list of tgs_kytpe...
Arran Cudbard-Bell [Tue, 10 Dec 2013 17:03:20 +0000 (17:03 +0000)] 
Work around bug in MIT krb5_copy_context which attempts to copy the list of tgs_kytpes and tkt_ktypes associated with a context...

Except by default the pointers to those lists are NULL (which it does not check), and so it SEGVs

11 years agoTypo in MIT krb5
Arran Cudbard-Bell [Tue, 10 Dec 2013 13:35:19 +0000 (13:35 +0000)] 
Typo in MIT krb5

11 years agoRemove restrictions on VSAs in sqlcounter
Arran Cudbard-Bell [Mon, 9 Dec 2013 19:30:28 +0000 (19:30 +0000)] 
Remove restrictions on VSAs in sqlcounter

11 years agoUpdate dictionary.xylan
Tobias Hachmer [Mon, 9 Dec 2013 06:46:19 +0000 (07:46 +0100)] 
Update dictionary.xylan

11 years agobase_dn is no longer required
Arran Cudbard-Bell [Mon, 9 Dec 2013 13:42:52 +0000 (13:42 +0000)] 
base_dn is no longer required

11 years agoFix conflicting names
Arran Cudbard-Bell [Sat, 7 Dec 2013 22:55:49 +0000 (22:55 +0000)] 
Fix conflicting names

11 years agoDictionary formatting
Arran Cudbard-Bell [Sat, 7 Dec 2013 22:29:13 +0000 (22:29 +0000)] 
Dictionary formatting

11 years agoAdditions to the Juniper dictionary
Arran Cudbard-Bell [Sat, 7 Dec 2013 22:28:06 +0000 (22:28 +0000)] 
Additions to the Juniper dictionary

11 years agoWe can proxy nodup sockets. We can't proxy synchronous
Alan T. DeKok [Fri, 6 Dec 2013 15:20:38 +0000 (10:20 -0500)] 
We can proxy nodup sockets.  We can't proxy synchronous

The nodup ones can come out of order, but they can't be duplicates.

The synchronous ones wait for a response before replying.  Proxying
can take a long time, so we can't do synchronous there

11 years agoUse correct struct entry for pedanticism
Alan T. DeKok [Thu, 5 Dec 2013 17:34:26 +0000 (12:34 -0500)] 
Use correct struct entry for pedanticism

11 years agoMerge pull request #485 from kokel/freeradius.spec
Arran Cudbard-Bell [Thu, 5 Dec 2013 20:54:53 +0000 (12:54 -0800)] 
Merge pull request #485 from kokel/freeradius.spec

Update spec file for sqlite counter files

11 years agoMerge pull request #484 from kokel/openldap-schema30x
Arran Cudbard-Bell [Thu, 5 Dec 2013 20:54:40 +0000 (12:54 -0800)] 
Merge pull request #484 from kokel/openldap-schema30x

radiusProfileDn is now a multivalued attribute

11 years agoUpdate spec file for sqlite counter files 485/head
Tobias Hachmer [Thu, 5 Dec 2013 20:48:38 +0000 (21:48 +0100)] 
Update spec file for sqlite counter files

11 years agoradiusProfileDn is now a multivalued attribute 484/head
Tobias Hachmer [Thu, 5 Dec 2013 20:41:20 +0000 (21:41 +0100)] 
radiusProfileDn is now a multivalued attribute

11 years agoFormatting
Arran Cudbard-Bell [Thu, 5 Dec 2013 16:15:41 +0000 (11:15 -0500)] 
Formatting

11 years agoFormatting
Arran Cudbard-Bell [Thu, 5 Dec 2013 19:05:02 +0000 (19:05 +0000)] 
Formatting

11 years agoOutput more verbose errors for eDirectory
Arran Cudbard-Bell [Thu, 5 Dec 2013 11:45:12 +0000 (11:45 +0000)] 
Output more verbose errors for eDirectory

11 years agoIncrease debug level required to show missing attribute messages in rlm_ldap
Arran Cudbard-Bell [Thu, 5 Dec 2013 10:24:58 +0000 (10:24 +0000)] 
Increase debug level required to show missing attribute messages in rlm_ldap

11 years agoNote case insensitivity
Arran Cudbard-Bell [Wed, 4 Dec 2013 22:06:16 +0000 (17:06 -0500)] 
Note case insensitivity

11 years agobase_dn defaults to a zero length string to allow top of tree searching like in ...
Arran Cudbard-Bell [Wed, 4 Dec 2013 19:38:30 +0000 (19:38 +0000)] 
base_dn defaults to a zero length string to allow top of tree searching like in >= 2.2.3

11 years agoUpdate ChangeLog
Arran Cudbard-Bell [Wed, 4 Dec 2013 18:52:37 +0000 (13:52 -0500)] 
Update ChangeLog

11 years agoradiusProfileDn is now a multivalued attribute
Arran Cudbard-Bell [Wed, 4 Dec 2013 18:50:30 +0000 (18:50 +0000)] 
radiusProfileDn is now a multivalued attribute

11 years agoSmall tweak to ldap debug output
Arran Cudbard-Bell [Wed, 4 Dec 2013 18:25:35 +0000 (18:25 +0000)] 
Small tweak to ldap debug output

11 years agoUse a single generic attribute in the RADIUS LDAP schema
Arran Cudbard-Bell [Wed, 4 Dec 2013 17:15:34 +0000 (17:15 +0000)] 
Use a single generic attribute in the RADIUS LDAP schema

Add ldiff version of the standard RADIUS LDAP schema for newer versions of OpenLDAP

Schema can be loaded with sudo ldapadd -Y EXTERNAL -H ldapi:/// -f ./radius.ldif

11 years agoAdd comments field to other forms of schema
Arran Cudbard-Bell [Wed, 4 Dec 2013 15:39:34 +0000 (15:39 +0000)] 
Add comments field to other forms of schema

11 years agoUpdate ChangeLog
Arran Cudbard-Bell [Wed, 4 Dec 2013 15:14:55 +0000 (10:14 -0500)] 
Update ChangeLog

11 years agoUse pairmove to add SQL-User-Name
Arran Cudbard-Bell [Wed, 4 Dec 2013 14:54:31 +0000 (14:54 +0000)] 
Use pairmove to add SQL-User-Name

11 years agoAdded test for error parsing IP address
Alan T. DeKok [Wed, 4 Dec 2013 14:18:17 +0000 (09:18 -0500)] 
Added test for error parsing IP address

11 years agoAdded flag to disallow hostname -> IP lookups.
Alan T. DeKok [Wed, 4 Dec 2013 14:17:17 +0000 (09:17 -0500)] 
Added flag to disallow hostname -> IP lookups.

Mainly for the tests .  It's still OK (and needed) for admins
to use "client.example.com" in the configs.  Requiring them to
use only IP addresses is annoying.

11 years agoAdd test for literal values
Arran Cudbard-Bell [Wed, 4 Dec 2013 11:49:04 +0000 (11:49 +0000)] 
Add test for literal values

Only do RHS literal validation in updates and rlm_cache

11 years agoRun "radiusd -C" only if something changed
Alan T. DeKok [Wed, 4 Dec 2013 02:58:41 +0000 (21:58 -0500)] 
Run "radiusd -C" only if something changed

11 years agoNo need to end a line with a trailing quotation mark
Alan T. DeKok [Wed, 4 Dec 2013 02:58:01 +0000 (21:58 -0500)] 
No need to end a line with a trailing quotation mark

11 years agoQuieter output
Alan T. DeKok [Wed, 4 Dec 2013 02:57:40 +0000 (21:57 -0500)] 
Quieter output

11 years agoBuilding raddb is an order dependency
Alan T. DeKok [Wed, 4 Dec 2013 02:50:00 +0000 (21:50 -0500)] 
Building raddb is an order dependency

re-doing it changes the directory, which causes the tests to be run again

11 years agoWord smithing
Alan T. DeKok [Wed, 4 Dec 2013 00:24:17 +0000 (19:24 -0500)] 
Word smithing

11 years agoWe don't need to print out query errors to the mains server log
Arran Cudbard-Bell [Tue, 3 Dec 2013 23:18:12 +0000 (23:18 +0000)] 
We don't need to print out query errors to the mains server log

11 years agoAdd sqlcounter queries for sqlite
Arran Cudbard-Bell [Tue, 3 Dec 2013 22:31:42 +0000 (22:31 +0000)] 
Add sqlcounter queries for sqlite

11 years agoUpdate sqlite queries so they actually work with sqlite
Arran Cudbard-Bell [Tue, 3 Dec 2013 22:21:19 +0000 (22:21 +0000)] 
Update sqlite queries so they actually work with sqlite

11 years agoNote recent changes
Alan T. DeKok [Tue, 3 Dec 2013 14:33:39 +0000 (09:33 -0500)] 
Note recent changes

11 years agoFix typo
Alan T. DeKok [Tue, 3 Dec 2013 14:25:39 +0000 (09:25 -0500)] 
Fix typo

11 years agoTypo
Arran Cudbard-Bell [Tue, 3 Dec 2013 12:16:24 +0000 (12:16 +0000)] 
Typo

11 years agoFix formatting and typo
Arran Cudbard-Bell [Mon, 2 Dec 2013 23:19:06 +0000 (23:19 +0000)] 
Fix formatting and typo

11 years agoAdd GREATEST(x, ...) to sqlite to support sqlcounter
Arran Cudbard-Bell [Mon, 2 Dec 2013 23:18:47 +0000 (23:18 +0000)] 
Add GREATEST(x, ...) to sqlite to support sqlcounter

11 years agoAdd policy to create 64bit octet counters
Arran Cudbard-Bell [Mon, 2 Dec 2013 19:35:41 +0000 (19:35 +0000)] 
Add policy to create 64bit octet counters

11 years agoFix typos in xlat function docs
Arran Cudbard-Bell [Mon, 2 Dec 2013 19:15:25 +0000 (19:15 +0000)] 
Fix typos in xlat function docs

11 years agoAdd power operator to expr
Arran Cudbard-Bell [Mon, 2 Dec 2013 18:39:38 +0000 (18:39 +0000)] 
Add power operator to expr

Who needs left shift when you can do %{expr:(%{Acct-Output-Gigawords} * (2 ^ 32)) + %{Acct-Input-Octets}}}. Ok bad example, but i'm sure someone will find it useful.

11 years agoradusergroup needs a primary key too, else PgAdmin (rightly) refuses to work with it
Arran Cudbard-Bell [Sun, 1 Dec 2013 21:37:50 +0000 (16:37 -0500)] 
radusergroup needs a primary key too, else PgAdmin (rightly) refuses to work with it

11 years agoTemporary fix for SQL counter module
Arran Cudbard-Bell [Sun, 1 Dec 2013 21:19:03 +0000 (21:19 +0000)] 
Temporary fix for SQL counter module

Really need nested expansion of config items to do this properly

11 years agoTypo
Alan T. DeKok [Sun, 1 Dec 2013 13:57:38 +0000 (08:57 -0500)] 
Typo

11 years agoUpdate ChangeLog
Arran Cudbard-Bell [Sat, 30 Nov 2013 22:51:24 +0000 (17:51 -0500)] 
Update ChangeLog

11 years agoInitialise TLS *ONCE* in main, don't reinitialise it every time a new ctx is created.
Arran Cudbard-Bell [Sat, 30 Nov 2013 22:36:24 +0000 (22:36 +0000)] 
Initialise TLS *ONCE* in main, don't reinitialise it every time a new ctx is created.

Late initialisation was causing the PostgreSQL driver to fail with rlm_sql_postgresql: Connection failed: could not create SSL context: SSL error code 336236705

11 years agoAllow arbitrary connection parameters to be listed in radius_db in the PostgreSQL...
Arran Cudbard-Bell [Sat, 30 Nov 2013 22:04:23 +0000 (22:04 +0000)] 
Allow arbitrary connection parameters to be listed in radius_db in the PostgreSQL driver, this allows things like open SSL to be disabled/enabled.

11 years agoNote more changes
Arran Cudbard-Bell [Sat, 30 Nov 2013 11:47:46 +0000 (06:47 -0500)] 
Note more changes

11 years agoAdd SSL support to the MySQL driver, and document driver specific options.
Arran Cudbard-Bell [Fri, 29 Nov 2013 22:23:46 +0000 (22:23 +0000)] 
Add SSL support to the MySQL driver, and document driver specific options.

11 years agoLDAP_OPT_DEBUG_LEVEL only appears to work if set in the global context
Arran Cudbard-Bell [Fri, 29 Nov 2013 20:53:31 +0000 (20:53 +0000)] 
LDAP_OPT_DEBUG_LEVEL only appears to work if set in the global context

11 years agoInitialise TLS context last, after setting all the TLS options, else they're not...
Arran Cudbard-Bell [Fri, 29 Nov 2013 20:53:08 +0000 (20:53 +0000)] 
Initialise TLS context last, after setting all the TLS options, else they're not respected...

11 years agoNote recent changes
Alan T. DeKok [Fri, 29 Nov 2013 15:08:31 +0000 (10:08 -0500)] 
Note recent changes

11 years agoMove some useful functions into misc.c
Arran Cudbard-Bell [Thu, 28 Nov 2013 13:08:42 +0000 (13:08 +0000)] 
Move some useful functions into misc.c

11 years agoDo compile time checks of literal map values
Arran Cudbard-Bell [Thu, 28 Nov 2013 13:25:48 +0000 (13:25 +0000)] 
Do compile time checks of literal map values

11 years agoFiles have CR at EOF
Alan T. DeKok [Wed, 27 Nov 2013 16:25:49 +0000 (11:25 -0500)] 
Files have CR at EOF

11 years agoAbstract module dependencies
Alan T. DeKok [Wed, 27 Nov 2013 16:25:27 +0000 (11:25 -0500)] 
Abstract module dependencies

So that we link the raddb config and the module.la before
running the tests

11 years agoEnsure that the raddb directory is set up before running tests
Alan T. DeKok [Wed, 27 Nov 2013 16:06:42 +0000 (11:06 -0500)] 
Ensure that the raddb directory is set up before running tests

11 years agoUse different context for input and output REQUESTs
Alan T. DeKok [Wed, 27 Nov 2013 14:32:36 +0000 (09:32 -0500)] 
Use different context for input and output REQUESTs

11 years agoFix typo
Arran Cudbard-Bell [Wed, 27 Nov 2013 13:47:25 +0000 (13:47 +0000)] 
Fix typo

11 years agoAlways respect control:Response-Packet-Type if it's present, no matter what the reque...
Arran Cudbard-Bell [Wed, 27 Nov 2013 13:40:41 +0000 (13:40 +0000)] 
Always respect control:Response-Packet-Type if it's present, no matter what the request type was.

This allows:

accounting {
update {
control:Response-Packet-Type := Accounting-Response
}
handled
}

If you want to short circuit accounting. This is consistent with authentication behaviour.

Conflicts:
src/main/process.c

11 years agoShould be case insensitive comparison
Arran Cudbard-Bell [Wed, 27 Nov 2013 12:25:03 +0000 (12:25 +0000)] 
Should be case insensitive comparison

11 years agoAdd example to access_attribute
Arran Cudbard-Bell [Wed, 27 Nov 2013 11:16:55 +0000 (06:16 -0500)] 
Add example to access_attribute

11 years agoAdded "status" to the init script
Alan T. DeKok [Wed, 27 Nov 2013 04:02:12 +0000 (23:02 -0500)] 
Added "status" to the init script

11 years agoAdd note about access attribute 'false' value
Arran Cudbard-Bell [Tue, 26 Nov 2013 17:30:14 +0000 (12:30 -0500)] 
Add note about access attribute 'false' value

11 years agoProcess attribute maps if we just have a generic attribute set
Arran Cudbard-Bell [Tue, 26 Nov 2013 17:16:33 +0000 (17:16 +0000)] 
Process attribute maps if we just have a generic attribute set

11 years agoUse the map functions to parse VALUE_PAIR string tuples
Arran Cudbard-Bell [Tue, 26 Nov 2013 17:16:11 +0000 (17:16 +0000)] 
Use the map functions to parse VALUE_PAIR string tuples

11 years agoFormatting
Arran Cudbard-Bell [Tue, 26 Nov 2013 16:37:25 +0000 (16:37 +0000)] 
Formatting

11 years agoattribute with value 'false' always negates result of LDAP access_check
Arran Cudbard-Bell [Tue, 26 Nov 2013 16:37:15 +0000 (16:37 +0000)] 
attribute with value 'false' always negates result of LDAP access_check

11 years agoRun tests only when doing "make test"
Alan T. DeKok [Tue, 26 Nov 2013 16:08:18 +0000 (11:08 -0500)] 
Run tests only when doing "make test"

11 years agoEnsure that "break" can only occur in "foreach" sections
Alan T. DeKok [Tue, 26 Nov 2013 16:03:11 +0000 (11:03 -0500)] 
Ensure that "break" can only occur in "foreach" sections

11 years agoEnsure we only grab one error message
Alan T. DeKok [Tue, 26 Nov 2013 16:02:34 +0000 (11:02 -0500)] 
Ensure we only grab one error message

11 years agoMake "break" jump out of the "foreach" loop
Alan T. DeKok [Tue, 26 Nov 2013 15:47:04 +0000 (10:47 -0500)] 
Make "break" jump out of the "foreach" loop

and add a test to that effect!

11 years agoPrint input VPs to the log
Alan T. DeKok [Tue, 26 Nov 2013 15:30:52 +0000 (10:30 -0500)] 
Print input VPs to the log