freeradius.git
10 years agoinst->xlat_name not needed for debug messages in rlm_redis release_3_0_0_rc0
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

10 years ago-lregex is required for mingw, but is apparently not available on other systems
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

10 years agoinst->xlat_name not needed for debug messages in rlm_krb5
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

10 years agoNotes on rlm_ruby
Arran Cudbard-Bell [Thu, 11 Jul 2013 14:34:03 +0000 (15:34 +0100)]
Notes on rlm_ruby

10 years agoFix invalid format strings and bugs revealed by the previous change
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

10 years agoEnable format string validation for module_failure_msg
Arran Cudbard-Bell [Thu, 11 Jul 2013 14:09:10 +0000 (15:09 +0100)]
Enable format string validation for module_failure_msg

10 years agoUse <INVALID> instead of ¿unknown? to be consistent with the rest of the server
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

10 years agoWe don't skip, we just stop processing the update section
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

10 years agoFix typo
Alan T. DeKok [Thu, 11 Jul 2013 12:46:25 +0000 (14:46 +0200)]
Fix typo

10 years agoInstalled links depend on the installation dir. Closes #360
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

10 years agoDon't echo if we do nothing
Alan T. DeKok [Thu, 11 Jul 2013 12:05:25 +0000 (14:05 +0200)]
Don't echo if we do nothing

10 years agoRe-enable [n] [#] and [*]. Closes #354.
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.

10 years agoBuffer may be NULL. Closes #358
Alan T. DeKok [Thu, 11 Jul 2013 07:02:29 +0000 (09:02 +0200)]
Buffer may be NULL.  Closes #358

10 years agoRestructure map2request and dependencies to return a status code instead of VALUE_PAIRs
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

10 years agoRemove invalid assert, this could fail for VALUE_PAIR producing execs
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

10 years agoSet map operator on copied filtered attributes
Arran Cudbard-Bell [Wed, 10 Jul 2013 18:14:54 +0000 (19:14 +0100)]
Set map operator on copied filtered attributes

10 years ago-lpcreposix must be listed in linker arguments before any other libraries to avoid...
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.

10 years agopcreposix manual says both -lpcre and -lpcreposix need to be passed
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

10 years agoFix messed up macro
Arran Cudbard-Bell [Wed, 10 Jul 2013 16:55:32 +0000 (17:55 +0100)]
Fix messed up macro

10 years agoAlways set command to NULL after calling ct_cancel
Arran Cudbard-Bell [Wed, 10 Jul 2013 16:50:19 +0000 (17:50 +0100)]
Always set command to NULL after calling ct_cancel

10 years agoIf we know the destination is a list, copy all instances of the source attribute
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

10 years agoCurrently not finding an attribute causes an abort of the update section
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

10 years agoFix exec support in update sections. Fixes #355
Arran Cudbard-Bell [Wed, 10 Jul 2013 14:02:03 +0000 (15:02 +0100)]
Fix exec support in update sections. Fixes #355

10 years agoFixes #356
Arran Cudbard-Bell [Wed, 10 Jul 2013 13:59:04 +0000 (14:59 +0100)]
Fixes #356

10 years agoMissed colon
Arran Cudbard-Bell [Wed, 10 Jul 2013 13:57:32 +0000 (14:57 +0100)]
Missed colon

10 years agoEverywhere else just uses <core>
Arran Cudbard-Bell [Wed, 10 Jul 2013 13:57:00 +0000 (14:57 +0100)]
Everywhere else just uses <core>

10 years agoDisable recurssion for nested attributes until the server actually supports them
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

10 years agoShouldn't allocate in the NULL context
Arran Cudbard-Bell [Wed, 10 Jul 2013 10:39:42 +0000 (11:39 +0100)]
Shouldn't allocate in the NULL context

10 years agoDie bubble die (radsniff)
Arran Cudbard-Bell [Wed, 10 Jul 2013 10:27:29 +0000 (11:27 +0100)]
Die bubble die (radsniff)

10 years agoFix debug output alignment in radsniff
Arran Cudbard-Bell [Wed, 10 Jul 2013 10:24:59 +0000 (11:24 +0100)]
Fix debug output alignment in radsniff

10 years agoFix double quoted VALUE_PAIR definitions
Arran Cudbard-Bell [Wed, 10 Jul 2013 10:12:30 +0000 (11:12 +0100)]
Fix double quoted VALUE_PAIR definitions

10 years agoRevert "Crappy hack for dependency issues"
Arran Cudbard-Bell [Wed, 10 Jul 2013 10:03:27 +0000 (11:03 +0100)]
Revert "Crappy hack for dependency issues"

This reverts commit a43e5129080b2cb6ae4fb55d369b22253548e782.

10 years agoCopy paste error
Arran Cudbard-Bell [Wed, 10 Jul 2013 10:02:02 +0000 (11:02 +0100)]
Copy paste error

10 years agoFix PCRE checks, and make code build cleanly without regex
Arran Cudbard-Bell [Tue, 9 Jul 2013 23:00:09 +0000 (00:00 +0100)]
Fix PCRE checks, and make code build cleanly without regex

10 years agoWe use extended regexps when available, this is no longer configurable
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

10 years agoregcomp whitespace changes
Arran Cudbard-Bell [Tue, 9 Jul 2013 21:49:46 +0000 (22:49 +0100)]
regcomp whitespace changes

10 years agoTypo
Arran Cudbard-Bell [Tue, 9 Jul 2013 21:08:32 +0000 (22:08 +0100)]
Typo

10 years agoFix all the update list debug output
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

10 years agoSimplify paircopy functions and fix them so they can't return half copied lists
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

10 years agoSprinkle vp->type = VT_DATA in more places, this will be needed later
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

10 years agoFix support for list copy
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

10 years agoAdd functions for validating a list of VALUE_PAIRs against another list, using paircmp
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

10 years agoAdd merge sort for VALUE_PAIRs
Arran Cudbard-Bell [Tue, 9 Jul 2013 13:58:51 +0000 (14:58 +0100)]
Add merge sort for VALUE_PAIRs

10 years agoAdd pairremove, which removes a pair from a linked list
Arran Cudbard-Bell [Tue, 9 Jul 2013 13:34:56 +0000 (14:34 +0100)]
Add pairremove, which removes a pair from a linked list

10 years agoCall talloc_set_log_stderr() in all utilities, so we get talloc debugging output...
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

10 years agoZero-length strings are permitted Closes #352
Alan T. DeKok [Mon, 8 Jul 2013 19:46:32 +0000 (21:46 +0200)]
Zero-length strings are permitted  Closes #352

10 years agoMerge pull request #349 from alanbuxey/master
Arran Cudbard-Bell [Mon, 8 Jul 2013 18:36:17 +0000 (11:36 -0700)]
Merge pull request #349 from alanbuxey/master

DANTE VSA dictionary

10 years agoMerge pull request #351 from fajarnugraha/master-suse-20130708
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

10 years agosuse: remove doc/examples and radrelay
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

10 years agosuse: commit missing files and delete unused file
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

10 years agoUpdate sqlipool config, should now be sql_module_instance not sql-instance-name
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

10 years agoWe don't support nested reference expansions
Arran Cudbard-Bell [Mon, 8 Jul 2013 10:25:48 +0000 (11:25 +0100)]
We don't support nested reference expansions

10 years agoAs with unixodbc, let the destructor take care of freeing all memory
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

10 years agoLet destructor handle freeing all resources
Arran Cudbard-Bell [Sun, 7 Jul 2013 12:08:55 +0000 (13:08 +0100)]
Let destructor handle freeing all resources

10 years agoCleanups and clarifications
Alan T. DeKok [Sat, 6 Jul 2013 16:00:07 +0000 (12:00 -0400)]
Cleanups and clarifications

10 years agoMinor updates
Alan T. DeKok [Sat, 6 Jul 2013 15:59:57 +0000 (11:59 -0400)]
Minor updates

10 years agoadded DANTE VSA dictionary file
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)

10 years agoMerge pull request #348 from arr2036/zero_length_exp
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

10 years agoBase sql configs are in main
Arran Cudbard-Bell [Fri, 5 Jul 2013 16:30:17 +0000 (17:30 +0100)]
Base sql configs are in main

10 years agoSet dbc and env to NULL to avoid double free
Arran Cudbard-Bell [Fri, 5 Jul 2013 16:30:54 +0000 (17:30 +0100)]
Set dbc and env to NULL to avoid double free

10 years agoConsistently return a zero length buffer from xlat_process, except on error condition...
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)

10 years agoDon't generate errors on zero length expansions
Arran Cudbard-Bell [Fri, 5 Jul 2013 15:20:54 +0000 (16:20 +0100)]
Don't generate errors on zero length expansions

10 years agoNotes on rlm_sql_freetds/rlm_sql_sybase
Arran Cudbard-Bell [Fri, 5 Jul 2013 13:25:27 +0000 (09:25 -0400)]
Notes on rlm_sql_freetds/rlm_sql_sybase

10 years agoFix quoting style in debug messages, should be double to match expansion quotes
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

10 years agoOnly list one deprecated alternative to avoid users needing to change the config...
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

10 years agoSet the destructor only when necessary. Closes #347
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

10 years agoWhitespace fixes
Alan T. DeKok [Thu, 4 Jul 2013 12:30:26 +0000 (08:30 -0400)]
Whitespace fixes

10 years agore-align utility help output
Arran Cudbard-Bell [Wed, 3 Jul 2013 18:15:09 +0000 (19:15 +0100)]
re-align utility help output

10 years agoUpdate README.rst
Arran Cudbard-Bell [Wed, 3 Jul 2013 22:11:25 +0000 (18:11 -0400)]
Update README.rst

10 years agoFormatting
Arran Cudbard-Bell [Wed, 3 Jul 2013 17:58:20 +0000 (18:58 +0100)]
Formatting

10 years agoAnother missed default
Arran Cudbard-Bell [Wed, 3 Jul 2013 17:07:19 +0000 (18:07 +0100)]
Another missed default

10 years agoOnly call paircompare register once per instance of rlm_ldap
Arran Cudbard-Bell [Wed, 3 Jul 2013 16:55:33 +0000 (17:55 +0100)]
Only call paircompare register once per instance of rlm_ldap

10 years agoEverything else uses attribute
Arran Cudbard-Bell [Wed, 3 Jul 2013 16:54:53 +0000 (17:54 +0100)]
Everything else uses attribute

10 years agoLast tranche of config item name standardisation (in modules)
Arran Cudbard-Bell [Wed, 3 Jul 2013 16:41:39 +0000 (17:41 +0100)]
Last tranche of config item name standardisation (in modules)

10 years agoUse EXIT_FAILURE and EXIT_SUCCESS macros
Arran Cudbard-Bell [Wed, 3 Jul 2013 14:52:10 +0000 (15:52 +0100)]
Use EXIT_FAILURE and EXIT_SUCCESS macros

10 years agoFix return codes in radiusd
Arran Cudbard-Bell [Wed, 3 Jul 2013 14:49:33 +0000 (15:49 +0100)]
Fix return codes in radiusd

10 years agoMd not dM
Arran Cudbard-Bell [Wed, 3 Jul 2013 14:20:06 +0000 (15:20 +0100)]
Md not dM

10 years agoMemory report and check when performing config check
Arran Cudbard-Bell [Wed, 3 Jul 2013 13:52:41 +0000 (14:52 +0100)]
Memory report and check when performing config check

10 years agoFix memory check on -C -m|-M
Arran Cudbard-Bell [Wed, 3 Jul 2013 13:48:37 +0000 (14:48 +0100)]
Fix memory check on -C -m|-M

10 years agoFix up uses of talloc
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

10 years agoMinor updates
Alan T. DeKok [Wed, 3 Jul 2013 01:28:21 +0000 (21:28 -0400)]
Minor updates

10 years agoUpdate ldap
Arran Cudbard-Bell [Tue, 2 Jul 2013 22:45:53 +0000 (18:45 -0400)]
Update ldap

10 years agoMore updates and formatting
Arran Cudbard-Bell [Tue, 2 Jul 2013 21:33:05 +0000 (17:33 -0400)]
More updates and formatting

10 years agoUpdate README.rst
Arran Cudbard-Bell [Tue, 2 Jul 2013 21:21:49 +0000 (17:21 -0400)]
Update README.rst

10 years agoAdd notes on portmanteau config items
Arran Cudbard-Bell [Tue, 2 Jul 2013 21:19:54 +0000 (17:19 -0400)]
Add notes on portmanteau config items

10 years agoBe 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 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

10 years agoRemove default for depricated config item
Arran Cudbard-Bell [Tue, 2 Jul 2013 20:52:23 +0000 (21:52 +0100)]
Remove default for depricated config item

10 years agorlm_expiration no longer takes any configuration items
Arran Cudbard-Bell [Tue, 2 Jul 2013 20:37:55 +0000 (21:37 +0100)]
rlm_expiration no longer takes any configuration items

10 years agoMissed removing config for rlm_expiration
Arran Cudbard-Bell [Tue, 2 Jul 2013 18:58:30 +0000 (19:58 +0100)]
Missed removing config for rlm_expiration

10 years agoBe consistent in our inconsistency
Arran Cudbard-Bell [Tue, 2 Jul 2013 18:57:43 +0000 (19:57 +0100)]
Be consistent in our inconsistency

10 years agoTypo
Arran Cudbard-Bell [Tue, 2 Jul 2013 18:55:50 +0000 (19:55 +0100)]
Typo

10 years agoUse references in cache file example config
Arran Cudbard-Bell [Tue, 2 Jul 2013 17:44:27 +0000 (18:44 +0100)]
Use references in cache file example config

10 years agodeprecate minimum-timeout in longin time, now minimum_timeout
Arran Cudbard-Bell [Tue, 2 Jul 2013 17:41:35 +0000 (18:41 +0100)]
deprecate minimum-timeout in longin time, now minimum_timeout

10 years agoRemove support for reply-message from expiration, this can be set in unlang
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

10 years agoReplace remaining instances of safe-characters with safe_characters
Arran Cudbard-Bell [Tue, 2 Jul 2013 17:30:21 +0000 (18:30 +0100)]
Replace remaining instances of safe-characters with safe_characters

10 years agoReplace nas_table with client_table
Arran Cudbard-Bell [Tue, 2 Jul 2013 17:29:19 +0000 (18:29 +0100)]
Replace nas_table with client_table

10 years agoUse standard TLS config item names across all modules
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.

10 years agoAttribute should be singular not plaural
Arran Cudbard-Bell [Tue, 2 Jul 2013 16:38:31 +0000 (17:38 +0100)]
Attribute should be singular not plaural

10 years agoSupport 'children' scope
Arran Cudbard-Bell [Tue, 2 Jul 2013 16:35:21 +0000 (17:35 +0100)]
Support 'children' scope

10 years agoChanges to default ldap configuration which were missed
Arran Cudbard-Bell [Tue, 2 Jul 2013 16:24:13 +0000 (17:24 +0100)]
Changes to default ldap configuration which were missed