Arran Cudbard-Bell [Thu, 11 Jul 2013 15:09:02 +0000 (16:09 +0100)]
inst->xlat_name not needed for debug messages in rlm_redis
Arran Cudbard-Bell [Thu, 11 Jul 2013 15:07:17 +0000 (16:07 +0100)]
-lregex is required for mingw, but is apparently not available on other systems
Arran Cudbard-Bell [Thu, 11 Jul 2013 14:36:35 +0000 (15:36 +0100)]
inst->xlat_name not needed for debug messages in rlm_krb5
Arran Cudbard-Bell [Thu, 11 Jul 2013 14:34:03 +0000 (15:34 +0100)]
Notes on rlm_ruby
Arran Cudbard-Bell [Thu, 11 Jul 2013 14:15:53 +0000 (15:15 +0100)]
Fix invalid format strings and bugs revealed by the previous change
Arran Cudbard-Bell [Thu, 11 Jul 2013 14:09:10 +0000 (15:09 +0100)]
Enable format string validation for module_failure_msg
Arran Cudbard-Bell [Thu, 11 Jul 2013 13:57:17 +0000 (14:57 +0100)]
Use <INVALID> instead of ¿unknown? to be consistent with the rest of the server
Arran Cudbard-Bell [Thu, 11 Jul 2013 13:56:26 +0000 (14:56 +0100)]
We don't skip, we just stop processing the update section
Alan T. DeKok [Thu, 11 Jul 2013 12:46:25 +0000 (14:46 +0200)]
Fix typo
Alan T. DeKok [Thu, 11 Jul 2013 12:05:44 +0000 (14:05 +0200)]
Installed links depend on the installation dir. Closes #360
Through the simple expedient of having the rules for the links
active ONLY when the directory doesn't exist. If the directory
exists, the rules aren't active, and no links are created
Alan T. DeKok [Thu, 11 Jul 2013 12:05:25 +0000 (14:05 +0200)]
Don't echo if we do nothing
Alan T. DeKok [Thu, 11 Jul 2013 07:37:30 +0000 (09:37 +0200)]
Re-enable [n] [#] and [*]. Closes #354.
This code was deleted during the change to cursors.
Alan T. DeKok [Thu, 11 Jul 2013 07:02:29 +0000 (09:02 +0200)]
Buffer may be NULL. Closes #358
Arran Cudbard-Bell [Wed, 10 Jul 2013 22:44:18 +0000 (23:44 +0100)]
Restructure map2request and dependencies to return a status code instead of VALUE_PAIRs
Arran Cudbard-Bell [Wed, 10 Jul 2013 18:16:08 +0000 (19:16 +0100)]
Remove invalid assert, this could fail for VALUE_PAIR producing execs
Arran Cudbard-Bell [Wed, 10 Jul 2013 18:14:54 +0000 (19:14 +0100)]
Set map operator on copied filtered attributes
Arran Cudbard-Bell [Wed, 10 Jul 2013 18:02:51 +0000 (19:02 +0100)]
-lpcreposix must be listed in linker arguments before any other libraries to avoid picking up posix regex symbols. Fixes #357
On my system OSX 10.8.4 this resulted in a SEGV in regncomp.
Arran Cudbard-Bell [Wed, 10 Jul 2013 17:43:27 +0000 (18:43 +0100)]
pcreposix manual says both -lpcre and -lpcreposix need to be passed
Arran Cudbard-Bell [Wed, 10 Jul 2013 16:55:32 +0000 (17:55 +0100)]
Fix messed up macro
Arran Cudbard-Bell [Wed, 10 Jul 2013 16:50:19 +0000 (17:50 +0100)]
Always set command to NULL after calling ct_cancel
Arran Cudbard-Bell [Wed, 10 Jul 2013 14:38:11 +0000 (15:38 +0100)]
If we know the destination is a list, copy all instances of the source attribute
Arran Cudbard-Bell [Wed, 10 Jul 2013 14:33:07 +0000 (15:33 +0100)]
Currently not finding an attribute causes an abort of the update section
Arran Cudbard-Bell [Wed, 10 Jul 2013 14:02:03 +0000 (15:02 +0100)]
Fix exec support in update sections. Fixes #355
Arran Cudbard-Bell [Wed, 10 Jul 2013 13:59:04 +0000 (14:59 +0100)]
Fixes #356
Arran Cudbard-Bell [Wed, 10 Jul 2013 13:57:32 +0000 (14:57 +0100)]
Missed colon
Arran Cudbard-Bell [Wed, 10 Jul 2013 13:57:00 +0000 (14:57 +0100)]
Everywhere else just uses <core>
Arran Cudbard-Bell [Wed, 10 Jul 2013 10:44:06 +0000 (11:44 +0100)]
Disable recurssion for nested attributes until the server actually supports them
Arran Cudbard-Bell [Wed, 10 Jul 2013 10:39:42 +0000 (11:39 +0100)]
Shouldn't allocate in the NULL context
Arran Cudbard-Bell [Wed, 10 Jul 2013 10:27:29 +0000 (11:27 +0100)]
Die bubble die (radsniff)
Arran Cudbard-Bell [Wed, 10 Jul 2013 10:24:59 +0000 (11:24 +0100)]
Fix debug output alignment in radsniff
Arran Cudbard-Bell [Wed, 10 Jul 2013 10:12:30 +0000 (11:12 +0100)]
Fix double quoted VALUE_PAIR definitions
Arran Cudbard-Bell [Wed, 10 Jul 2013 10:03:27 +0000 (11:03 +0100)]
Revert "Crappy hack for dependency issues"
This reverts commit
a43e5129080b2cb6ae4fb55d369b22253548e782.
Arran Cudbard-Bell [Wed, 10 Jul 2013 10:02:02 +0000 (11:02 +0100)]
Copy paste error
Arran Cudbard-Bell [Tue, 9 Jul 2013 23:00:09 +0000 (00:00 +0100)]
Fix PCRE checks, and make code build cleanly without regex
Arran Cudbard-Bell [Tue, 9 Jul 2013 21:55:25 +0000 (22:55 +0100)]
We use extended regexps when available, this is no longer configurable
Arran Cudbard-Bell [Tue, 9 Jul 2013 21:49:46 +0000 (22:49 +0100)]
regcomp whitespace changes
Arran Cudbard-Bell [Tue, 9 Jul 2013 21:08:32 +0000 (22:08 +0100)]
Typo
Arran Cudbard-Bell [Tue, 9 Jul 2013 21:04:43 +0000 (22:04 +0100)]
Fix all the update list debug output
Make list output more detailed
Consistently use single quotes for literal strings, only use double quotes around things being expanded
Replace delimitst with quote char, to allow caller to pass any quoting char
Arran Cudbard-Bell [Tue, 9 Jul 2013 17:48:15 +0000 (18:48 +0100)]
Simplify paircopy functions and fix them so they can't return half copied lists
Arran Cudbard-Bell [Tue, 9 Jul 2013 17:41:17 +0000 (18:41 +0100)]
Sprinkle vp->type = VT_DATA in more places, this will be needed later
Arran Cudbard-Bell [Tue, 9 Jul 2013 17:39:38 +0000 (18:39 +0100)]
Fix support for list copy
Fix attribute to list copy
Remove not yet valid assertion
Don't allocate VALUE_PAIRs just to free them later
Fixes #353
Arran Cudbard-Bell [Tue, 9 Jul 2013 13:59:27 +0000 (14:59 +0100)]
Add functions for validating a list of VALUE_PAIRs against another list, using paircmp
Arran Cudbard-Bell [Tue, 9 Jul 2013 13:58:51 +0000 (14:58 +0100)]
Add merge sort for VALUE_PAIRs
Arran Cudbard-Bell [Tue, 9 Jul 2013 13:34:56 +0000 (14:34 +0100)]
Add pairremove, which removes a pair from a linked list
Arran Cudbard-Bell [Tue, 9 Jul 2013 14:30:57 +0000 (15:30 +0100)]
Call talloc_set_log_stderr() in all utilities, so we get talloc debugging output on error
Alan T. DeKok [Mon, 8 Jul 2013 19:46:32 +0000 (21:46 +0200)]
Zero-length strings are permitted Closes #352
Arran Cudbard-Bell [Mon, 8 Jul 2013 18:36:17 +0000 (11:36 -0700)]
Merge pull request #349 from alanbuxey/master
DANTE VSA dictionary
Arran Cudbard-Bell [Mon, 8 Jul 2013 14:04:05 +0000 (07:04 -0700)]
Merge pull request #351 from fajarnugraha/master-suse-
20130708
Fix suse package to build and run cleanly for current master branch
Fajar A. Nugraha [Mon, 8 Jul 2013 08:36:25 +0000 (15:36 +0700)]
suse: remove doc/examples and radrelay
doc/examples are gone
raddb/radrelay.conf is no longer installed
Fajar A. Nugraha [Mon, 8 Jul 2013 06:43:02 +0000 (13:43 +0700)]
suse: commit missing files and delete unused file
Two new files present in my local working directory were previously
uncommited in git repo:
* freeradius-server-rpmlintrc
* freeradius-server-tmpfiles.conf
These files come from freeradius-server-2.1.12-6.1.src.rpm,
already imported on v2.x.x branch.
A file is unneeded an now deleted:
* radiusd-pam-old
Tested to build, install, run, and authenticate from users file on SLES-11.2
Arran Cudbard-Bell [Mon, 8 Jul 2013 10:29:28 +0000 (11:29 +0100)]
Update sqlipool config, should now be sql_module_instance not sql-instance-name
Arran Cudbard-Bell [Mon, 8 Jul 2013 10:25:48 +0000 (11:25 +0100)]
We don't support nested reference expansions
Arran Cudbard-Bell [Sun, 7 Jul 2013 12:19:32 +0000 (13:19 +0100)]
As with unixodbc, let the destructor take care of freeing all memory
Arran Cudbard-Bell [Sun, 7 Jul 2013 12:08:55 +0000 (13:08 +0100)]
Let destructor handle freeing all resources
Alan T. DeKok [Sat, 6 Jul 2013 16:00:07 +0000 (12:00 -0400)]
Cleanups and clarifications
Alan T. DeKok [Sat, 6 Jul 2013 15:59:57 +0000 (11:59 -0400)]
Minor updates
Alan Buxey [Fri, 5 Jul 2013 20:27:09 +0000 (21:27 +0100)]
added DANTE VSA dictionary file
DANTE IANA attribute space 27262 - first attribute is for RADSEC TTL to
stop loops (like TCP TTL)
Alan DeKok [Fri, 5 Jul 2013 16:48:46 +0000 (09:48 -0700)]
Merge pull request #348 from arr2036/zero_length_exp
Don't generate errors on zero length expansions
Arran Cudbard-Bell [Fri, 5 Jul 2013 16:30:17 +0000 (17:30 +0100)]
Base sql configs are in main
Arran Cudbard-Bell [Fri, 5 Jul 2013 16:30:54 +0000 (17:30 +0100)]
Set dbc and env to NULL to avoid double free
Arran Cudbard-Bell [Fri, 5 Jul 2013 15:57:35 +0000 (16:57 +0100)]
Consistently return a zero length buffer from xlat_process, except on error condition (where we free)
Arran Cudbard-Bell [Fri, 5 Jul 2013 15:20:54 +0000 (16:20 +0100)]
Don't generate errors on zero length expansions
Arran Cudbard-Bell [Fri, 5 Jul 2013 13:25:27 +0000 (09:25 -0400)]
Notes on rlm_sql_freetds/rlm_sql_sybase
Arran Cudbard-Bell [Fri, 5 Jul 2013 10:50:41 +0000 (11:50 +0100)]
Fix quoting style in debug messages, should be double to match expansion quotes
Arran Cudbard-Bell [Thu, 4 Jul 2013 22:08:41 +0000 (23:08 +0100)]
Only list one deprecated alternative to avoid users needing to change the config item twice
Alan T. DeKok [Thu, 4 Jul 2013 20:18:55 +0000 (16:18 -0400)]
Set the destructor only when necessary. Closes #347
and reset it before returning the memory to the caller
Alan T. DeKok [Thu, 4 Jul 2013 12:30:26 +0000 (08:30 -0400)]
Whitespace fixes
Arran Cudbard-Bell [Wed, 3 Jul 2013 18:15:09 +0000 (19:15 +0100)]
re-align utility help output
Arran Cudbard-Bell [Wed, 3 Jul 2013 22:11:25 +0000 (18:11 -0400)]
Update README.rst
Arran Cudbard-Bell [Wed, 3 Jul 2013 17:58:20 +0000 (18:58 +0100)]
Formatting
Arran Cudbard-Bell [Wed, 3 Jul 2013 17:07:19 +0000 (18:07 +0100)]
Another missed default
Arran Cudbard-Bell [Wed, 3 Jul 2013 16:55:33 +0000 (17:55 +0100)]
Only call paircompare register once per instance of rlm_ldap
Arran Cudbard-Bell [Wed, 3 Jul 2013 16:54:53 +0000 (17:54 +0100)]
Everything else uses attribute
Arran Cudbard-Bell [Wed, 3 Jul 2013 16:41:39 +0000 (17:41 +0100)]
Last tranche of config item name standardisation (in modules)
Arran Cudbard-Bell [Wed, 3 Jul 2013 14:52:10 +0000 (15:52 +0100)]
Use EXIT_FAILURE and EXIT_SUCCESS macros
Arran Cudbard-Bell [Wed, 3 Jul 2013 14:49:33 +0000 (15:49 +0100)]
Fix return codes in radiusd
Arran Cudbard-Bell [Wed, 3 Jul 2013 14:20:06 +0000 (15:20 +0100)]
Md not dM
Arran Cudbard-Bell [Wed, 3 Jul 2013 13:52:41 +0000 (14:52 +0100)]
Memory report and check when performing config check
Arran Cudbard-Bell [Wed, 3 Jul 2013 13:48:37 +0000 (14:48 +0100)]
Fix memory check on -C -m|-M
Alan T. DeKok [Wed, 3 Jul 2013 13:45:15 +0000 (09:45 -0400)]
Fix up uses of talloc
and change one malloc to talloc
Alan T. DeKok [Wed, 3 Jul 2013 01:28:21 +0000 (21:28 -0400)]
Minor updates
Arran Cudbard-Bell [Tue, 2 Jul 2013 22:45:53 +0000 (18:45 -0400)]
Update ldap
Arran Cudbard-Bell [Tue, 2 Jul 2013 21:33:05 +0000 (17:33 -0400)]
More updates and formatting
Arran Cudbard-Bell [Tue, 2 Jul 2013 21:21:49 +0000 (17:21 -0400)]
Update README.rst
Arran Cudbard-Bell [Tue, 2 Jul 2013 21:19:54 +0000 (17:19 -0400)]
Add notes on portmanteau config items
Arran Cudbard-Bell [Tue, 2 Jul 2013 21:12:24 +0000 (22:12 +0100)]
Be nice, and print out the name of the new config item if it's next in the array
Arran Cudbard-Bell [Tue, 2 Jul 2013 20:52:23 +0000 (21:52 +0100)]
Remove default for depricated config item
Arran Cudbard-Bell [Tue, 2 Jul 2013 20:37:55 +0000 (21:37 +0100)]
rlm_expiration no longer takes any configuration items
Arran Cudbard-Bell [Tue, 2 Jul 2013 18:58:30 +0000 (19:58 +0100)]
Missed removing config for rlm_expiration
Arran Cudbard-Bell [Tue, 2 Jul 2013 18:57:43 +0000 (19:57 +0100)]
Be consistent in our inconsistency
Arran Cudbard-Bell [Tue, 2 Jul 2013 18:55:50 +0000 (19:55 +0100)]
Typo
Arran Cudbard-Bell [Tue, 2 Jul 2013 17:44:27 +0000 (18:44 +0100)]
Use references in cache file example config
Arran Cudbard-Bell [Tue, 2 Jul 2013 17:41:35 +0000 (18:41 +0100)]
deprecate minimum-timeout in longin time, now minimum_timeout
Arran Cudbard-Bell [Tue, 2 Jul 2013 17:40:54 +0000 (18:40 +0100)]
Remove support for reply-message from expiration, this can be set in unlang
Arran Cudbard-Bell [Tue, 2 Jul 2013 17:30:21 +0000 (18:30 +0100)]
Replace remaining instances of safe-characters with safe_characters
Arran Cudbard-Bell [Tue, 2 Jul 2013 17:29:19 +0000 (18:29 +0100)]
Replace nas_table with client_table
Arran Cudbard-Bell [Tue, 2 Jul 2013 17:21:05 +0000 (18:21 +0100)]
Use standard TLS config item names across all modules
Although this represents a lot of pain for users upgrading, it allows (with the new section references) a single TLS configuration section to be used for all modules in the server.
Arran Cudbard-Bell [Tue, 2 Jul 2013 16:38:31 +0000 (17:38 +0100)]
Attribute should be singular not plaural
Arran Cudbard-Bell [Tue, 2 Jul 2013 16:35:21 +0000 (17:35 +0100)]
Support 'children' scope
Arran Cudbard-Bell [Tue, 2 Jul 2013 16:24:13 +0000 (17:24 +0100)]
Changes to default ldap configuration which were missed