]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Tue, 19 Mar 2013 00:15:39 +0000 (20:15 -0400)]
Convert pairmake() to talloc
And add a VALUE_PAIR**vps to it. If vps != NULL, the newly
created VP is added to the list.
This API change cleans up the code rather substantially
Alan T. DeKok [Mon, 18 Mar 2013 23:58:51 +0000 (19:58 -0400)]
Remove extraneous tab
Alan T. DeKok [Mon, 18 Mar 2013 22:36:57 +0000 (18:36 -0400)]
Remove authenticate section.
You should be using the PAP module, which does all of this.
Arran Cudbard-Bell [Tue, 19 Mar 2013 19:33:21 +0000 (15:33 -0400)]
Reorganise rlm_ldap
Alan T. DeKok [Mon, 18 Mar 2013 19:18:55 +0000 (15:18 -0400)]
Use RDEBUGE() instead of module_failure_msg
Or instead of hand-coded alternatives
Alan T. DeKok [Mon, 18 Mar 2013 19:17:44 +0000 (15:17 -0400)]
Use correct argument
Alan T. DeKok [Mon, 18 Mar 2013 19:17:08 +0000 (15:17 -0400)]
Use correct argument
Alan T. DeKok [Mon, 18 Mar 2013 18:51:15 +0000 (14:51 -0400)]
Merge branch 'master' of github.com:FreeRADIUS/freeradius-server
Alan T. DeKok [Mon, 18 Mar 2013 18:48:36 +0000 (14:48 -0400)]
Move TTLS/PEAP session structs to talloc
Alan T. DeKok [Mon, 18 Mar 2013 18:48:36 +0000 (14:48 -0400)]
Move TTLS/PEAP session structs to talloc
Alan T. DeKok [Mon, 18 Mar 2013 18:39:25 +0000 (14:39 -0400)]
Expose add_reply()
Which is used in many, many, places
Arran Cudbard-Bell [Mon, 18 Mar 2013 00:39:44 +0000 (20:39 -0400)]
Cleanup ldap encoding function
Alan T. DeKok [Sun, 17 Mar 2013 15:29:48 +0000 (11:29 -0400)]
Use correct arguments to dict_addattr()
and update the messages to be more consistent
Alan T. DeKok [Sun, 17 Mar 2013 15:23:52 +0000 (11:23 -0400)]
Objects depend on the Makefile
So that if the Makefile changes (c flags, libraries, etc.)
we re-build the target.
This is a hack to work around the fact that we can't detect
when the CFLAGS, etc. change
Alan T. DeKok [Sun, 17 Mar 2013 15:16:05 +0000 (11:16 -0400)]
Document conditional modules.
Update default configuration to allow for conditional modules.
Update message about conditional modules to be clearer,
and to point to the documentation.
Alan T. DeKok [Sun, 17 Mar 2013 14:55:55 +0000 (10:55 -0400)]
Generalize the "ignore module" code
if -foo is in a subsection, ignore it, too
Alan T. DeKok [Sun, 17 Mar 2013 14:43:34 +0000 (10:43 -0400)]
Don't enable cuisql by default.
Alan T. DeKok [Sun, 17 Mar 2013 04:44:21 +0000 (00:44 -0400)]
Clean up debug output
Alan T. DeKok [Sun, 17 Mar 2013 04:08:13 +0000 (00:08 -0400)]
Load all modules in the "mods-enabled" directory.
So that we don't need the "instantiate" section most of the time.
Alan T. DeKok [Sun, 17 Mar 2013 03:57:14 +0000 (23:57 -0400)]
Don't enable inner-eap by default.
Alan T. DeKok [Sun, 17 Mar 2013 03:56:54 +0000 (23:56 -0400)]
Use correct reference to mods-available
Alan T. DeKok [Sun, 17 Mar 2013 03:50:01 +0000 (23:50 -0400)]
Use correct spacing when printing out config file parsing
use spaces, not tabs
use %.*s for CONF_PAIRS, too. Otherwise their indentation
doesn't match that of the parent CONF_SECTION
Alan T. DeKok [Sun, 17 Mar 2013 03:49:39 +0000 (23:49 -0400)]
Don't print out message if connection was successfully opened
It should be pretty much assumed
Alan T. DeKok [Sun, 17 Mar 2013 03:38:28 +0000 (23:38 -0400)]
Move "second_files" to its own file
Alan T. DeKok [Sun, 17 Mar 2013 03:37:53 +0000 (23:37 -0400)]
"counter" shouldn't be enabled by default
It depends on gdbm, which may not exist
Alan T. DeKok [Sun, 17 Mar 2013 03:09:25 +0000 (23:09 -0400)]
Move EAP handler, EAP_DS, eap_packet_t to use talloc
Alan T. DeKok [Sun, 17 Mar 2013 02:35:46 +0000 (22:35 -0400)]
Use context for talloc
Alan T. DeKok [Sun, 17 Mar 2013 02:31:38 +0000 (22:31 -0400)]
talloc from instance context
Alan T. DeKok [Sun, 17 Mar 2013 02:20:40 +0000 (22:20 -0400)]
talloc entry from head, not from handle
Alan T. DeKok [Sun, 17 Mar 2013 02:12:39 +0000 (22:12 -0400)]
Convert group stuff to talloc.
I hate smurf programming.
struct smurf_struct {
char *smurf_name; // Careful! It MIGHT be Gargamel's name!
...
} smurf_t;
...
smurf_t *smurf, *smurf_tmp;
smurf->smurf_name = ...
Yes, I know it's a f*cking smurf. What the hell does it DO?
Alan T. DeKok [Sat, 16 Mar 2013 18:03:25 +0000 (14:03 -0400)]
Use talloc for handles
Alan T. DeKok [Sat, 16 Mar 2013 18:03:12 +0000 (14:03 -0400)]
Use talloc for handles
Alan T. DeKok [Sat, 16 Mar 2013 18:02:56 +0000 (14:02 -0400)]
Use talloc for handles
Alan T. DeKok [Sat, 16 Mar 2013 18:02:41 +0000 (14:02 -0400)]
Use instance context for talloc
Alan T. DeKok [Sat, 16 Mar 2013 17:45:00 +0000 (13:45 -0400)]
Use the connection pool.
The code is much simpler, cleaner, and easier to understand.
Arran Cudbard-Bell [Sat, 16 Mar 2013 15:05:21 +0000 (11:05 -0400)]
Replace spaces with tabs
Alan T. DeKok [Sat, 16 Mar 2013 14:43:55 +0000 (10:43 -0400)]
perl -p -i -e 's/\ +$//' $(find . -name "*.[ch]" -print)
Trailing whitespace is annoying
Alan T. DeKok [Sat, 16 Mar 2013 14:36:48 +0000 (10:36 -0400)]
Remove all dependencies on libltdl.
Remove macros. Wrappers. ltdl-specific code, etc.
This is the culmination of 10 years of desire, and 10 years
of frothing hatred for libltdl.
And there was much rejoicing.
Arran Cudbard-Bell [Sat, 16 Mar 2013 14:31:51 +0000 (11:31 -0300)]
No longer use libltdl
Arran Cudbard-Bell [Sat, 16 Mar 2013 05:03:31 +0000 (01:03 -0400)]
Add more alternative values
Arran Cudbard-Bell [Sat, 16 Mar 2013 04:59:25 +0000 (00:59 -0400)]
Add alternative value for leap
Arran Cudbard-Bell [Sat, 16 Mar 2013 04:54:50 +0000 (00:54 -0400)]
Deconstify mod_name
Arran Cudbard-Bell [Sat, 16 Mar 2013 04:51:35 +0000 (00:51 -0400)]
Convert module name to lowercase
Arran Cudbard-Bell [Sat, 16 Mar 2013 04:44:07 +0000 (00:44 -0400)]
Typo
Arran Cudbard-Bell [Sat, 16 Mar 2013 04:39:22 +0000 (00:39 -0400)]
Remove redundant 'EAP' now were using dictionary values for module names
Add some duplicate dictionary values
More validation of EAP types
Arran Cudbard-Bell [Sat, 16 Mar 2013 03:46:30 +0000 (23:46 -0400)]
Fixup rlm_eap and submodules, correcting data types and removing cruft
Olivier Beytrison [Fri, 15 Mar 2013 21:38:09 +0000 (22:38 +0100)]
fix dhcp.c for --disable-developper
Arran Cudbard-Bell [Fri, 15 Mar 2013 20:53:42 +0000 (16:53 -0400)]
Fixup EAP type definitions
Alan Buxey [Thu, 14 Mar 2013 20:43:52 +0000 (20:43 +0000)]
fixed some typos
typos….some essential for documentation to be correct, others just annoying
Arran Cudbard-Bell [Fri, 15 Mar 2013 14:46:20 +0000 (10:46 -0400)]
Replace EAP-SIM draft with the released version
Arran Cudbard-Bell [Fri, 15 Mar 2013 02:32:44 +0000 (22:32 -0400)]
Remove redundant check
Alan T. DeKok [Fri, 15 Mar 2013 02:23:58 +0000 (22:23 -0400)]
Minor fixes again
Alan T. DeKok [Thu, 14 Mar 2013 20:50:33 +0000 (16:50 -0400)]
Clean up code
Use uint8_t rather than char && casts.
Don't assign to variables inside of an "if" condition. It's
bad form.
Arran Cudbard-Bell [Thu, 14 Mar 2013 14:22:32 +0000 (10:22 -0400)]
Fix typo
Arran Cudbard-Bell [Thu, 14 Mar 2013 03:12:50 +0000 (23:12 -0400)]
Verify string is UTF8 clean, and unlink partially initialised databases
Arran Cudbard-Bell [Thu, 14 Mar 2013 02:46:38 +0000 (22:46 -0400)]
Coverity fix
Arran Cudbard-Bell [Thu, 14 Mar 2013 02:46:22 +0000 (22:46 -0400)]
Coverity fix
Arran Cudbard-Bell [Thu, 14 Mar 2013 02:18:15 +0000 (22:18 -0400)]
Initialise error to null
Alan T. DeKok [Thu, 14 Mar 2013 02:01:33 +0000 (22:01 -0400)]
"this" may be NULL if we don't have a new proxy socket
Alan T. DeKok [Thu, 14 Mar 2013 01:46:21 +0000 (21:46 -0400)]
Add proxy socket to event list
Alan T. DeKok [Thu, 14 Mar 2013 01:41:32 +0000 (21:41 -0400)]
Free all listeners when we exit.
Both talloc and valgrind now agree that we leak zero bytes
on clean exit
Alan T. DeKok [Thu, 14 Mar 2013 01:33:23 +0000 (21:33 -0400)]
Fix comments so that they match the code.
Alan T. DeKok [Thu, 14 Mar 2013 01:00:11 +0000 (21:00 -0400)]
Don't use %s for non-nil terminated strings
Alan T. DeKok [Thu, 14 Mar 2013 00:57:52 +0000 (20:57 -0400)]
More fixes for Coverity.
It can't tell that dict_attrunknown always returns type=octets
Arran Cudbard-Bell [Wed, 13 Mar 2013 22:35:11 +0000 (18:35 -0400)]
Fix build error
Alan T. DeKok [Wed, 13 Mar 2013 22:12:30 +0000 (18:12 -0400)]
Add the client to the section
So that it isn't parsed umpteen times.
This code was accidentally deleted in the conversion to talloc
Alan T. DeKok [Wed, 13 Mar 2013 22:07:55 +0000 (18:07 -0400)]
Remove "bind_address" configuration.
It's getting on a decade old, and wrong
Arran Cudbard-Bell [Tue, 12 Mar 2013 20:55:36 +0000 (16:55 -0400)]
Fix typo (caught by Alan Buxey)
Arran Cudbard-Bell [Tue, 12 Mar 2013 19:40:40 +0000 (15:40 -0400)]
Allow rlm_yubikey to be built as part of CI
Arran Cudbard-Bell [Tue, 12 Mar 2013 19:29:01 +0000 (15:29 -0400)]
Add rlm_yubikey
Arran Cudbard-Bell [Tue, 12 Mar 2013 18:12:44 +0000 (14:12 -0400)]
Remove uneeded checks
Arran Cudbard-Bell [Tue, 12 Mar 2013 18:12:18 +0000 (14:12 -0400)]
Fix docs
Arran Cudbard-Bell [Tue, 12 Mar 2013 18:06:13 +0000 (14:06 -0400)]
Update rlm_eap_md5 configure script
Arran Cudbard-Bell [Tue, 12 Mar 2013 01:25:05 +0000 (21:25 -0400)]
Should be inst not data
Alan T. DeKok [Tue, 12 Mar 2013 00:53:40 +0000 (20:53 -0400)]
Radmin doesn't need readline. Closes #227
Alan Buxey [Sun, 10 Mar 2013 22:05:29 +0000 (22:05 +0000)]
change to comment/instruction
just a little annoying typo fixed
Alan Buxey [Sun, 10 Mar 2013 21:14:27 +0000 (21:14 +0000)]
add RFC to our local RFC store
6677 dictionary added , may as well match whats done with other RFCs
Alan T. DeKok [Sun, 10 Mar 2013 21:58:38 +0000 (17:58 -0400)]
Fix typo. Closes issue #222
Arran Cudbard-Bell [Sun, 10 Mar 2013 16:32:08 +0000 (12:32 -0400)]
Make sqlite driver work with more versions of the library
Arran Cudbard-Bell [Sat, 9 Mar 2013 22:15:47 +0000 (17:15 -0500)]
Fix missed pair create call
Arran Cudbard-Bell [Sat, 9 Mar 2013 22:15:34 +0000 (17:15 -0500)]
Refactor error message handling in rlm_ldap
Arran Cudbard-Bell [Sat, 9 Mar 2013 22:14:53 +0000 (17:14 -0500)]
Add module prefix to module, and make RDEBUGE set module failure message by default
Arran Cudbard-Bell [Sat, 9 Mar 2013 03:56:32 +0000 (22:56 -0500)]
Rewrite eap-tnc to work with tnch@fhh libraries
Original patch by Avesh Agarwal
Arran Cudbard-Bell [Sat, 9 Mar 2013 18:54:54 +0000 (10:54 -0800)]
Merge pull request #219 from olivierbeytrison/ldap_enh
Correct bind error handling in rlm_ldap
Alan T. DeKok [Sat, 9 Mar 2013 18:11:59 +0000 (13:11 -0500)]
Remove RADIUSD_NEED_DECLARATION
Alan T. DeKok [Sat, 9 Mar 2013 18:09:42 +0000 (13:09 -0500)]
Add TALLOC_CTX to paircreate()
Which exposed a fair amount of repeated code. That should
use radius_paircreate().
Alan T. DeKok [Sat, 9 Mar 2013 01:46:00 +0000 (20:46 -0500)]
We haven't used sys/locking.h for a while.
Alan T. DeKok [Sat, 9 Mar 2013 01:43:51 +0000 (20:43 -0500)]
Remove RADIUSD_NEED_DECLARATION
Apparently this hasn't been used for a long time, and no one
has noticed.
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
Arran Cudbard-Bell [Fri, 8 Mar 2013 16:37:53 +0000 (11:37 -0500)]
Add call to AC_CANONICAL_SYSTEM to populate $host
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()
Alan T. DeKok [Fri, 8 Mar 2013 13:21:07 +0000 (08:21 -0500)]
Note recent changes
Arran Cudbard-Bell [Fri, 8 Mar 2013 04:30:56 +0000 (23:30 -0500)]
Cleanup the last bits of non-talloc socket destruction
Arran Cudbard-Bell [Fri, 8 Mar 2013 04:30:20 +0000 (23:30 -0500)]
Fix typos/weird function names
Arran Cudbard-Bell [Fri, 8 Mar 2013 04:10:48 +0000 (23:10 -0500)]
Fix typo in oracle configure script
Arran Cudbard-Bell [Thu, 7 Mar 2013 20:57:44 +0000 (15:57 -0500)]
Use talloc destructors to close sockets (SQLite)
Arran Cudbard-Bell [Fri, 8 Mar 2013 03:19:56 +0000 (22:19 -0500)]
Use talloc destructors to close sockets (postgresql)
Arran Cudbard-Bell [Fri, 8 Mar 2013 03:19:45 +0000 (22:19 -0500)]
Use talloc destructors to close sockets (sybase)
Arran Cudbard-Bell [Fri, 8 Mar 2013 03:19:35 +0000 (22:19 -0500)]
Use talloc destructors to close sockets (unixodbc)
Arran Cudbard-Bell [Thu, 7 Mar 2013 22:17:59 +0000 (17:17 -0500)]
Use talloc destructors to close sockets (oracle)