Commit report for v3.1.x branch

The git bot announce at freeradius.org
Thu Apr 30 00:00:02 CEST 2015


New activity for FreeRADIUS (the high performance and highly configurable RADIUS server)

======
Move xlat's to bootstrap

Alan T. DeKok at 2015-04-29T23:20:11Z
Files modified:
	* src/modules/proto_dhcp/rlm_dhcp.c
	* src/modules/rlm_cache/rlm_cache.c
	* src/modules/rlm_date/rlm_date.c
	* src/modules/rlm_exec/rlm_exec.c
	* src/modules/rlm_expr/rlm_expr.c
	* src/modules/rlm_idn/rlm_idn.c
	* src/modules/rlm_ldap/rlm_ldap.c
	* src/modules/rlm_mschap/rlm_mschap.c
	* src/modules/rlm_perl/rlm_perl.c
	* src/modules/rlm_redis/rlm_redis.c
	* src/modules/rlm_rest/rlm_rest.c
	* src/modules/rlm_soh/rlm_soh.c
	* src/modules/rlm_sql/rlm_sql.c
	* src/modules/rlm_unbound/rlm_unbound.c
	* src/modules/rlm_unpack/rlm_unpack.c
	* src/modules/rlm_yubikey/rlm_yubikey.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/614c7ccc465bdd9b37ac45ac91a2bd8073622327
====== 
Call instantiate if we're checkinfg the config

Alan T. DeKok at 2015-04-29T23:20:10Z
Files modified:
	* src/main/modules.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/409d46149d235d27dbb7d988da68ba30ed3be795
====== 
Set cached pointers before using them

Alan T. DeKok at 2015-04-29T23:20:06Z
Files modified:
	* src/modules/rlm_sql/rlm_sql.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e156f7c7f1676fce147a508b186d3e0f58eed21e
====== 
Move attribute creation to bootstrap

Alan T. DeKok at 2015-04-29T22:45:57Z
Files modified:
	* src/modules/rlm_sqlcounter/rlm_sqlcounter.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/549038ead8b5ba5721e24ce803163be7a1cc6db9
====== 
USe better errors

Alan T. DeKok at 2015-04-29T22:45:56Z
Files modified:
	* src/modules/rlm_counter/rlm_counter.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/8cf793a923f80b5d59c427cda7d577421cf980e6
====== 
Move attribute creation to bootstrap

Alan T. DeKok at 2015-04-29T22:45:55Z
Files modified:
	* src/modules/rlm_counter/rlm_counter.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e6bde74bf7198afcc14ccea34ead42bffd2a796f
====== 
Move attribute creation to bootstrap

Alan T. DeKok at 2015-04-29T22:45:54Z
Files modified:
	* src/modules/rlm_sql/rlm_sql.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/17375c3fb75281cf89227b30dfbb29b669f698e6
====== 
Move attribute creation to bootstrap

Alan T. DeKok at 2015-04-29T22:45:53Z
Files modified:
	* src/modules/rlm_ldap/rlm_ldap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ab9b01e23f77948f8c92de9ed4644d4865162237
====== 
Add sql_fields for mysql and postgres too

Arran Cudbard-Bell at 2015-04-29T22:27:34Z
Files modified:
	* src/modules/rlm_sql/drivers/rlm_sql_mysql/rlm_sql_mysql.c
	* src/modules/rlm_sql/drivers/rlm_sql_postgresql/rlm_sql_postgresql.c
	* src/modules/rlm_sql/drivers/rlm_sql_sqlite/rlm_sql_sqlite.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/dead5fe0636af3b8745b4466c5ce72b604b24acf
====== 
Create an sql_fields function for sqlite

Arran Cudbard-Bell at 2015-04-29T21:51:19Z
Files modified:
	* src/modules/rlm_sql/drivers/rlm_sql_sqlite/rlm_sql_sqlite.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/25ecad94f749d783602d3775b6f9c72382ebc65a
====== 
Formatting

Arran Cudbard-Bell at 2015-04-29T21:51:19Z
Files modified:
	* src/modules/rlm_sql/drivers/rlm_sql_sqlite/rlm_sql_sqlite.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/bfac5c925d5ecf5d11f0facf7c31732a3abcc11b
====== 
Formatting

Arran Cudbard-Bell at 2015-04-29T21:51:19Z
Files modified:
	* src/modules/rlm_sql/rlm_sql.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1aaea88cb1c0a7e33800dc3622190f22b2460d2a
====== 
Add "bootstrap" method, and clean up module API.

The bootstrap method is where attributes are created at run time.
This allows OTHER modules to use those attributes.

All modules in the "modules" section are now dlopen'd, their
instance data allocated, configuration is parsed, and the bootstrap
method is called.

Once all of the modules are bootstrapped, the module "instantiate"
method is called.

As part of this change, we simplify the API to:

	module_find = find a known module
	module_bootstrap = load and create a known module
	module_instantiate - call the modules instantiation routine

Alan T. DeKok at 2015-04-29T21:35:05Z
Files modified:
	* src/include/modpriv.h
	* src/include/modules.h
	* src/main/command.c
	* src/main/modcall.c
	* src/main/modules.c
	* src/main/unittest.c
	* src/modules/rlm_eap/eap.c
	* src/modules/rlm_eap/rlm_eap.c
	* src/modules/rlm_eap/rlm_eap.h
	* src/modules/rlm_rediswho/rlm_rediswho.c
	* src/modules/rlm_sqlhpwippool/rlm_sqlhpwippool.c
	* src/modules/rlm_sqlippool/rlm_sqlippool.c
	* src/modules/rlm_unix/rlm_unix.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/383d5779bfc27fb540aa478f1d197f8910a55fb0
====== 
Unused function

Alan T. DeKok at 2015-04-29T21:35:02Z
Files modified:
	* src/main/map.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/60711bc4b92134331154c3d981dbb0964b34d9ed
====== 
Remove debugging code

Alan T. DeKok at 2015-04-29T21:35:01Z
Files modified:
	* src/main/map.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a661f8efd3c62e7a1613e718f1793cba2e206470
====== 
C99 initializers here, too

Alan T. DeKok at 2015-04-29T21:34:57Z
Files modified:
	* src/modules/rlm_ldap/rlm_ldap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/187a6feaa94ef7c70dbd66730f644bbbafbf9270
====== 
Switch to C99 style initialisers for module structs

Arran Cudbard-Bell at 2015-04-29T19:28:50Z
Files modified:
	* src/include/modules.h
	* src/modules/proto_arp/proto_arp.c
	* src/modules/proto_bfd/bfd.c
	* src/modules/proto_dhcp/dhcpd.c
	* src/modules/proto_dhcp/rlm_dhcp.c
	* src/modules/proto_vmps/vmps.c
	* src/modules/rlm_always/rlm_always.c
	* src/modules/rlm_attr_filter/rlm_attr_filter.c
	* src/modules/rlm_cache/rlm_cache.c
	* src/modules/rlm_chap/rlm_chap.c
	* src/modules/rlm_couchbase/rlm_couchbase.c
	* src/modules/rlm_counter/rlm_counter.c
	* src/modules/rlm_cram/rlm_cram.c
	* src/modules/rlm_date/rlm_date.c
	* src/modules/rlm_detail/rlm_detail.c
	* src/modules/rlm_digest/rlm_digest.c
	* src/modules/rlm_dynamic_clients/rlm_dynamic_clients.c
	* src/modules/rlm_eap/rlm_eap.c
	* src/modules/rlm_example/rlm_example.c
	* src/modules/rlm_exec/rlm_exec.c
	* src/modules/rlm_expiration/rlm_expiration.c
	* src/modules/rlm_expr/rlm_expr.c
	* src/modules/rlm_files/rlm_files.c
	* src/modules/rlm_idn/rlm_idn.c
	* src/modules/rlm_ippool/rlm_ippool.c
	* src/modules/rlm_krb5/rlm_krb5.c
	* src/modules/rlm_ldap/rlm_ldap.c
	* src/modules/rlm_linelog/rlm_linelog.c
	* src/modules/rlm_logintime/rlm_logintime.c
	* src/modules/rlm_mschap/rlm_mschap.c
	* src/modules/rlm_opendirectory/rlm_opendirectory.c
	* src/modules/rlm_otp/rlm_otp.c
	* src/modules/rlm_pam/rlm_pam.c
	* src/modules/rlm_pap/rlm_pap.c
	* src/modules/rlm_passwd/rlm_passwd.c
	* src/modules/rlm_perl/rlm_perl.c
	* src/modules/rlm_preprocess/rlm_preprocess.c
	* src/modules/rlm_python/rlm_python.c
	* src/modules/rlm_radutmp/rlm_radutmp.c
	* src/modules/rlm_realm/rlm_realm.c
	* src/modules/rlm_redis/rlm_redis.c
	* src/modules/rlm_rediswho/rlm_rediswho.c
	* src/modules/rlm_replicate/rlm_replicate.c
	* src/modules/rlm_rest/rlm_rest.c
	* src/modules/rlm_ruby/rlm_ruby.c
	* src/modules/rlm_securid/rlm_securid.c
	* src/modules/rlm_smsotp/rlm_smsotp.c
	* src/modules/rlm_soh/rlm_soh.c
	* src/modules/rlm_sometimes/rlm_sometimes.c
	* src/modules/rlm_sql/rlm_sql.c
	* src/modules/rlm_sqlcounter/rlm_sqlcounter.c
	* src/modules/rlm_sqlhpwippool/rlm_sqlhpwippool.c
	* src/modules/rlm_sqlippool/rlm_sqlippool.c
	* src/modules/rlm_test/rlm_test.c
	* src/modules/rlm_unbound/rlm_unbound.c
	* src/modules/rlm_unix/rlm_unix.c
	* src/modules/rlm_unpack/rlm_unpack.c
	* src/modules/rlm_utf8/rlm_utf8.c
	* src/modules/rlm_wimax/rlm_wimax.c
	* src/modules/rlm_yubikey/rlm_yubikey.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a012a15ccba91adb11003718397ac8037bd6797e
====== 
Request and reply may not exist for Status-Server packets.

We've really got to move to request->proxy->packet, etc.

Alan T. DeKok at 2015-04-29T17:35:56Z
Files modified:
	* src/main/tmpl.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/442ee03fb58eb638a3c8fed13fe3121d656bf1f0
====== 
Rename RLM_COMPONENT_* to MOD_*

And use the section names, e.g. MOD_AUTHENTICATE, instead of
MOD_AUTH.  This makes it easier to remember what the definitions
are, and it makes it easier to automatically re-write the code,
because all of the names are consistent

manual port from v3.0.x, as the code has changed to much.

perl -p -i -e 's/RLM_COMPONENT_/MOD_/g' $(find src -name "*.[ch]" -print)

etc.

Alan T. DeKok at 2015-04-29T17:20:12Z
Files modified:
	* src/include/modules.h
	* src/main/command.c
	* src/main/modcall.c
	* src/main/modules.c
	* src/modules/rlm_ldap/rlm_ldap.c
	* src/modules/rlm_rest/rlm_rest.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4f9ed0f740a83b33176d00f684bbf5343e16fcf0
====== 
Allow assignment to comparison attributes

Alan T. DeKok at 2015-04-29T17:17:10Z
Files modified:
	* src/main/map.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/db4b31605029f2982564209888492f0b108abb10
====== 
Allow the attribute to already exist

Alan T. DeKok at 2015-04-29T17:17:07Z
Files modified:
	* src/main/pair.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2a665cc740aa34035e8a5f941d4f09d25bf39003
====== 
Failure to get user is a debug message, not an ERROR

Alan T. DeKok at 2015-04-29T17:17:00Z
Files modified:
	* src/modules/rlm_unix/rlm_unix.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f88cc73ab69657e6668565edb45082740dbfdcea
====== 
Forbid the use of search results which return multiple entries when looking for user objects

Arran Cudbard-Bell at 2015-04-29T04:49:02Z
Files modified:
	* src/modules/rlm_ldap/ldap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/703c73da210c721149eac8717c652ac9ed1b8601
====== 
Ignore exuberant ctags

people can generate their own

Arran Cudbard-Bell at 2015-04-29T04:49:02Z
Files modified:
	* .gitignore

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d6e171a5d1418f946522a106daf8e9a5e3e050ba
====== 
-- 
This commit summary was generated @2015-04-30T00:00:02Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list