]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Tue, 11 Dec 2012 12:46:31 +0000 (12:46 +0000)]
Already have an ldap_errno
Arran Cudbard-Bell [Tue, 11 Dec 2012 12:09:02 +0000 (12:09 +0000)]
Add warning about replacing multiple attributes
Use zero length array for wildcard deletes
Arran Cudbard-Bell [Tue, 11 Dec 2012 11:28:02 +0000 (11:28 +0000)]
Missed & operator
Arran Cudbard-Bell [Tue, 11 Dec 2012 11:21:56 +0000 (11:21 +0000)]
More prettyfying
Arran Cudbard-Bell [Tue, 11 Dec 2012 11:15:27 +0000 (11:15 +0000)]
Change more return code checks to use != LDAP_SUCCESS
Arran Cudbard-Bell [Mon, 10 Dec 2012 23:44:43 +0000 (23:44 +0000)]
Should allocate MAX_ATTRMAP + 1 for pointers
Arran Cudbard-Bell [Mon, 10 Dec 2012 23:22:28 +0000 (23:22 +0000)]
Fix build warnings in ippool tool
Arran Cudbard-Bell [Mon, 10 Dec 2012 23:18:38 +0000 (23:18 +0000)]
Make code slightly more readable
Arran Cudbard-Bell [Mon, 10 Dec 2012 22:44:09 +0000 (22:44 +0000)]
datum.dptr should really be const...
Alan T. DeKok [Mon, 10 Dec 2012 22:02:32 +0000 (17:02 -0500)]
Compare character to zero, not to NULL
Alan T. DeKok [Mon, 10 Dec 2012 15:05:19 +0000 (10:05 -0500)]
One less build warning
Arran Cudbard-Bell [Mon, 10 Dec 2012 19:02:23 +0000 (19:02 +0000)]
Add increment operator for LDAP
Arran Cudbard-Bell [Mon, 10 Dec 2012 18:35:26 +0000 (18:35 +0000)]
cf_reference_item should return the current item if passed '.'
get_userdn should not leave the rcode at FAIL if it actually finds the userdn
user_modify needs two arrays, one of structs, one of pointers to those structs
Arran Cudbard-Bell [Mon, 10 Dec 2012 16:05:09 +0000 (16:05 +0000)]
user_dn should be initialised to NULL
Need to use memcpy to copy pointer to array element into value field in mods struct, because OpenLDAP doesn't use const anywhere
Arran Cudbard-Bell [Mon, 10 Dec 2012 11:38:45 +0000 (11:38 +0000)]
Move eDir autz code into authorize, freeing post-auth for accounting
Fix small memory leak on eDir failure
Update LDAP configuration
Arran Cudbard-Bell [Mon, 10 Dec 2012 10:45:54 +0000 (10:45 +0000)]
Don't pass presult
Arran Cudbard-Bell [Mon, 10 Dec 2012 08:35:33 +0000 (08:35 +0000)]
Fix typo
Arran Cudbard-Bell [Mon, 10 Dec 2012 08:29:23 +0000 (08:29 +0000)]
Rename cfree to rad_cfree
Arran Cudbard-Bell [Mon, 10 Dec 2012 00:37:55 +0000 (00:37 +0000)]
Remove duplicate error message
Arran Cudbard-Bell [Mon, 10 Dec 2012 00:36:50 +0000 (00:36 +0000)]
Remove old edir code
Arran Cudbard-Bell [Mon, 10 Dec 2012 00:22:06 +0000 (00:22 +0000)]
Fix over zealous whitespace replacement
Arran Cudbard-Bell [Mon, 10 Dec 2012 00:21:37 +0000 (00:21 +0000)]
More style fixes
Arran Cudbard-Bell [Mon, 10 Dec 2012 00:21:21 +0000 (00:21 +0000)]
Add basic accounting support to LDAP
Arran Cudbard-Bell [Sun, 9 Dec 2012 18:26:38 +0000 (18:26 +0000)]
malloc sections at runtime
Arran Cudbard-Bell [Sun, 9 Dec 2012 16:19:24 +0000 (16:19 +0000)]
Use correct type of free in rlm_policy
Arran Cudbard-Bell [Sun, 9 Dec 2012 16:17:48 +0000 (16:17 +0000)]
Fix warnings in rlm_cram
Arran Cudbard-Bell [Sun, 9 Dec 2012 16:06:44 +0000 (16:06 +0000)]
Reformatting
Arran Cudbard-Bell [Sun, 9 Dec 2012 15:59:44 +0000 (15:59 +0000)]
Get rid of warnings in rlm_counter
Arran Cudbard-Bell [Sun, 9 Dec 2012 15:59:15 +0000 (15:59 +0000)]
Add cfree for freeing consts
Arran Cudbard-Bell [Sat, 8 Dec 2012 17:37:28 +0000 (17:37 +0000)]
Update docs and suse/rhel specs for attrs
Arran Cudbard-Bell [Sat, 8 Dec 2012 10:58:47 +0000 (02:58 -0800)]
Merge pull request #148 from olivierbeytrison/master
edir documentation, fix all.mk.in for edir.c, fix typo in edir.c
Olivier Beytrison [Sat, 8 Dec 2012 10:40:20 +0000 (11:40 +0100)]
fix typo, add doc for ldap-edir, build edir.c with boilermake
Arran Cudbard-Bell [Sat, 8 Dec 2012 10:13:17 +0000 (02:13 -0800)]
Merge pull request #146 from olivierbeytrison/master
Fix Makefile and debian for new attr filter directory
Olivier Beytrison [Sat, 8 Dec 2012 09:39:13 +0000 (10:39 +0100)]
fix debian and Makefile for new filters
Arran Cudbard-Bell [Sat, 8 Dec 2012 09:51:52 +0000 (09:51 +0000)]
Fix more typos
Arran Cudbard-Bell [Fri, 7 Dec 2012 23:33:00 +0000 (15:33 -0800)]
Merge pull request #145 from mcnewton/master
few small issues
Matthew Newton [Fri, 7 Dec 2012 23:23:20 +0000 (23:23 +0000)]
fix typo
Matthew Newton [Fri, 7 Dec 2012 23:14:51 +0000 (23:14 +0000)]
quiet some compiler warnings
Matthew Newton [Fri, 7 Dec 2012 23:14:19 +0000 (23:14 +0000)]
debian packages shouldn't be developer build
Arran Cudbard-Bell [Fri, 7 Dec 2012 22:02:08 +0000 (22:02 +0000)]
Move attrs filters into their own directory, rename attrsfile to file
Arran Cudbard-Bell [Fri, 7 Dec 2012 20:00:37 +0000 (12:00 -0800)]
Merge pull request #144 from dragon9k/master
New version: checkrad patch to support Juniper's BRAS
Olivier Beytrison [Fri, 7 Dec 2012 19:38:56 +0000 (14:38 -0500)]
Added ldap_postauth for edir
Alan T. DeKok [Fri, 7 Dec 2012 19:35:51 +0000 (14:35 -0500)]
Glue edir into the authorization module.
dragon9k [Fri, 7 Dec 2012 17:29:01 +0000 (15:29 -0200)]
New checkrad version patch (Juniper)
I would like to submit a new version of this Patch for FR 2.20, which uses snmpget instead of snmpwalk (to increase performance).
It also fixes a problem with checkrad complaining about lack of $ in the "out" variable.
Alan T. DeKok [Fri, 7 Dec 2012 16:54:22 +0000 (11:54 -0500)]
Fix typo
Alan T. DeKok [Fri, 7 Dec 2012 15:10:05 +0000 (10:10 -0500)]
Added preliminary WITH_EDIR again.
Based on a patch from Olivier Beytrison
Arran Cudbard-Bell [Thu, 6 Dec 2012 21:26:48 +0000 (21:26 +0000)]
Don't link to modules, it breaks things
Alan DeKok [Thu, 6 Dec 2012 16:55:46 +0000 (08:55 -0800)]
Merge pull request #143 from tobiasbrunner/eap-ttls-avp-length
Allow EAP-Message APVs > 253 octets in EAP-TTLS module
Arran Cudbard-Bell [Wed, 5 Dec 2012 23:22:59 +0000 (23:22 +0000)]
More debugging improvements
Print EAP session 'state' value in more places, so we can track sessions
easily in the debug log.
Tobias Brunner [Wed, 5 Dec 2012 11:51:31 +0000 (12:51 +0100)]
Allow EAP-Message APVs > 253 octets in EAP-TTLS module
According to RFC 5281, section 11.2.1 tunneled EAP packets that are
larger than 253 octets MUST be contained in a single EAP-Message AVP.
Also fixed the debug statement.
Arran Cudbard-Bell [Wed, 5 Dec 2012 13:49:58 +0000 (13:49 +0000)]
Die attrmap die
Alan T. DeKok [Wed, 5 Dec 2012 12:28:24 +0000 (07:28 -0500)]
Fix suppression of blocked thread messages
So that it's once per second
Arran Cudbard-Bell [Wed, 5 Dec 2012 12:15:29 +0000 (12:15 +0000)]
Minor debugging tweaks
Arran Cudbard-Bell [Wed, 5 Dec 2012 11:08:48 +0000 (11:08 +0000)]
We don't know the expanded value until after calling pairxlatmove
Arran Cudbard-Bell [Wed, 5 Dec 2012 00:03:45 +0000 (00:03 +0000)]
Convert strings and octet strings of 8 bytes or less to integers too
Arran Cudbard-Bell [Tue, 4 Dec 2012 23:30:14 +0000 (23:30 +0000)]
Remove last traces of do_xlat from rlm_ldap, add %{xlat:<attribute>} expansion
Arran Cudbard-Bell [Tue, 4 Dec 2012 22:51:32 +0000 (22:51 +0000)]
Remove completely pointless strcpys
Arran Cudbard-Bell [Tue, 4 Dec 2012 10:12:44 +0000 (10:12 +0000)]
Increase priority of all connection open/close messages in connection pool to L_INFO
Decrease the priority of all database open/close messages to debug
Arran Cudbard-Bell [Mon, 3 Dec 2012 21:28:31 +0000 (21:28 +0000)]
Fix memory leak in radius_get_vp
Arran Cudbard-Bell [Mon, 3 Dec 2012 18:57:49 +0000 (18:57 +0000)]
Patch freeradius.monitrc file so it works out of the box with debian/ubuntu
Arran Cudbard-Bell [Mon, 3 Dec 2012 13:07:24 +0000 (13:07 +0000)]
Remove another invalid assert
Arran Cudbard-Bell [Mon, 3 Dec 2012 13:05:27 +0000 (13:05 +0000)]
Remove config item for num_pings_to_alive, it's a duplicate of num_answers_to_alive and can mess up the value
Arran Cudbard-Bell [Sun, 2 Dec 2012 20:57:34 +0000 (20:57 +0000)]
Always use fcntl for file locking
Arran Cudbard-Bell [Sun, 2 Dec 2012 17:50:32 +0000 (17:50 +0000)]
Move listen sections into default server
Arran Cudbard-Bell [Sun, 2 Dec 2012 15:06:11 +0000 (15:06 +0000)]
Remove invalid asserts
Arran Cudbard-Bell [Sun, 2 Dec 2012 14:26:37 +0000 (14:26 +0000)]
Mark child state as done if we couldnt send the CoA-Request
Arran Cudbard-Bell [Sun, 2 Dec 2012 14:12:54 +0000 (14:12 +0000)]
Move code that modifies request when looking up home_server into its own function
Arran Cudbard-Bell [Sun, 2 Dec 2012 12:39:10 +0000 (12:39 +0000)]
Handle empty lists better
Arran Cudbard-Bell [Sun, 2 Dec 2012 11:03:16 +0000 (11:03 +0000)]
Trim off newlines and returns
Arran Cudbard-Bell [Sun, 2 Dec 2012 10:52:19 +0000 (10:52 +0000)]
Remove release arg from linker (causes issues on linux)
Arran Cudbard-Bell [Sun, 2 Dec 2012 10:24:51 +0000 (10:24 +0000)]
Add module failure message to rlm_exec
Arran Cudbard-Bell [Sun, 2 Dec 2012 00:12:02 +0000 (00:12 +0000)]
More consistent
Arran Cudbard-Bell [Sat, 1 Dec 2012 23:44:43 +0000 (23:44 +0000)]
We'll figure something out for attribute comparison debugging later...
Arran Cudbard-Bell [Sat, 1 Dec 2012 23:27:36 +0000 (23:27 +0000)]
Add even more debugging messages, and a sane check for group membership based on attributes
Arran Cudbard-Bell [Sat, 1 Dec 2012 22:39:14 +0000 (22:39 +0000)]
groupcmp debug messages should probably include the module and instance name
Arran Cudbard-Bell [Sat, 1 Dec 2012 22:13:28 +0000 (22:13 +0000)]
Minor debug message tweaks
Arran Cudbard-Bell [Sat, 1 Dec 2012 21:53:18 +0000 (21:53 +0000)]
Make rlm_ldap debug messages suck less
Arran Cudbard-Bell [Sat, 1 Dec 2012 19:52:09 +0000 (19:52 +0000)]
Hard wrap at 80 coolumns for legacy editors
Arran Cudbard-Bell [Sat, 1 Dec 2012 19:33:57 +0000 (19:33 +0000)]
Rename groupmemb_filt
Arran Cudbard-Bell [Sat, 1 Dec 2012 19:33:08 +0000 (19:33 +0000)]
Write group filter expansion to the correct buffer
Arran Cudbard-Bell [Sat, 1 Dec 2012 18:03:34 +0000 (18:03 +0000)]
Quieten some sql warnings
Arran Cudbard-Bell [Sat, 1 Dec 2012 17:59:29 +0000 (17:59 +0000)]
VPT should be const in callback
Arran Cudbard-Bell [Sat, 1 Dec 2012 17:54:19 +0000 (17:54 +0000)]
Fix return of radius_get_vp
Use radius_pairmove, adds fancy debugging information
Arran Cudbard-Bell [Sat, 1 Dec 2012 17:31:50 +0000 (17:31 +0000)]
Dont fail if the update section is specified but empty
Arran Cudbard-Bell [Sat, 1 Dec 2012 16:19:56 +0000 (16:19 +0000)]
Check for JSON-C library as well
Arran Cudbard-Bell [Sat, 1 Dec 2012 14:41:09 +0000 (14:41 +0000)]
Dont segfault when destroying connection pool when we don't have a 'pool' section
Arran Cudbard-Bell [Sat, 1 Dec 2012 14:13:54 +0000 (14:13 +0000)]
Attrs array should be const char * const *
Arran Cudbard-Bell [Sat, 1 Dec 2012 14:09:04 +0000 (14:09 +0000)]
Remove unused variable
Arran Cudbard-Bell [Sat, 1 Dec 2012 12:34:28 +0000 (12:34 +0000)]
radius_xlat should return size_t
Arran Cudbard-Bell [Sat, 1 Dec 2012 12:29:33 +0000 (12:29 +0000)]
Fixup missed bool conversions
Arran Cudbard-Bell [Sat, 1 Dec 2012 12:29:20 +0000 (12:29 +0000)]
Ignore test files
Arran Cudbard-Bell [Fri, 30 Nov 2012 17:18:53 +0000 (17:18 +0000)]
Convert spaces to tabs
Arran Cudbard-Bell [Fri, 30 Nov 2012 17:11:40 +0000 (17:11 +0000)]
Switch to using new config based attribute map
Arran Cudbard-Bell [Fri, 30 Nov 2012 15:54:47 +0000 (15:54 +0000)]
Declare radius_xlat return as size_t
Arran Cudbard-Bell [Fri, 30 Nov 2012 15:53:56 +0000 (15:53 +0000)]
Add attribute mapping functions to valuepair.c, and refactor previous list/request resolution functions
Arran Cudbard-Bell [Fri, 30 Nov 2012 15:51:41 +0000 (15:51 +0000)]
DA should be const in pairalloc
Arran Cudbard-Bell [Fri, 30 Nov 2012 15:46:23 +0000 (15:46 +0000)]
Add cf_pair_value_type function to return whether the string was double or single quoted
Arran Cudbard-Bell [Sun, 25 Nov 2012 14:41:37 +0000 (14:41 +0000)]
Remove 'did work' warning, as it'll always be triggered if you're just using the module for group lookups
Print out DN we resolved for the user
Alan T. DeKok [Sat, 1 Dec 2012 00:38:53 +0000 (19:38 -0500)]
Fix typo in comparison, so that we check the return of write()
Alan T. DeKok [Sat, 1 Dec 2012 00:36:24 +0000 (19:36 -0500)]
Fix compiler warnings