~ubuntu-branches/ubuntu/natty/freeradius/natty-updates

« back to all changes in this revision

Viewing changes to raddb/experimental.conf

  • Committer: Bazaar Package Importer
  • Author(s): Josip Rodin
  • Date: 2009-11-23 03:57:37 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 28.
  • Revision ID: james.westby@ubuntu.com-20091123035737-zsgtzhfych8hir68
Tags: 2.1.7+dfsg-1
* Adopting the package, closes: #536623.
* New upstream version, closes: #513484.
  + Fixes the blooper in unlang evaluation logic, closes: #526175.
* Used quilt (and added README.source), and moved upstream file patching
  into debian/patches/. The source is no longer in collab-maint git
  (to make it simpler for me to finally get this out the door), but
  kept the .gitignore should we need that again.
* Dropped the dialup_admin/bin/backup_radacct patch (integrated upstream).
* Dropped the raddb/Makefile patch (problem no longer exists upstream).
* Dropped the lib/packet.c lib/radius.c main/listen.c patches (was from
  upstream 2.0.5 anyway).
* Dropped references to otp.conf, it no longer exists upstream.
  Keep removing the conffile statoverride in prerm.
* Dropped references to snmp.conf, it no longer exists upstream.
  Keep removing the conffile statoverride in prerm.
* Ship /etc/freeradius/modules/* in the freeradius package.
* Stop shipping sites-enabled symlinks in the package and instead create
  them only on initial install, thanks to Matej Vela, closes: #533396.
* Add export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" to the init script
  at the request of John Morrissey, closes: #550143.
* Stop installing /var/run/freeradius in the package to silence Lintian.
  The init script already recreates it at will.
* Remove executable bit from example.pl to silence Lintian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#
4
4
#  By default, it is NOT included in the build.
5
5
#
6
 
#  $Id: experimental.conf,v 1.42 2008/01/19 22:26:30 aland Exp $
 
6
#  $Id$
7
7
#
8
8
 
9
9
        # Configuration for the Python module.
39
39
                mod_accounting = radiusd_test
40
40
                func_accounting = accounting
41
41
 
42
 
                mod_preproxy = radiusd_test
43
 
                func_preproxy = preproxy
44
 
 
45
 
                mod_postproxy = radiusd_test
46
 
                func_postproxy = postproxy
47
 
 
48
 
                mod_postauth = radiusd_test
49
 
                func_postauth = postauth
 
42
                mod_pre_proxy = radiusd_test
 
43
                func_pre_proxy = pre_proxy
 
44
 
 
45
                mod_post_proxy = radiusd_test
 
46
                func_post_proxy = post_proxy
 
47
 
 
48
                mod_post_auth = radiusd_test
 
49
                func_post_auth = post_auth
 
50
 
 
51
                mod_recv_coa = radiusd_test
 
52
                func_recv_coa = recv_coa
 
53
 
 
54
                mod_send_coa = radiusd_test
 
55
                func_send_coa = send_coa
50
56
 
51
57
                mod_detach = radiusd_test
52
58
                func_detach = detach
98
104
        }
99
105
 
100
106
        #
101
 
        #  Persistent, embedded Perl interpreter.
102
 
        #
103
 
        perl {
104
 
                #
105
 
                #  The Perl script to execute on authorize, authenticate,
106
 
                #  accounting, xlat, etc.  This is very similar to using
107
 
                #  'rlm_exec' module, but it is persistent, and therefore
108
 
                #  faster.
109
 
                #
110
 
                module = /path/to/your/perl_module.pm
111
 
 
112
 
                #
113
 
                #  The following hashes are given to the module and
114
 
                #  filled with value-pairs (Attribute names and values)
115
 
                #
116
 
                #  %RAD_CHECK           Read-only       Check items
117
 
                #  %RAD_REQUEST         Read-only       Attributes from the request
118
 
                #  %RAD_REPLY           Read-write      Attributes for the reply
119
 
                # 
120
 
                #  The return codes from functions in the perl_script
121
 
                #  are passed directly back to the server.  These
122
 
                #  codes are defined in doc/configurable_failover,
123
 
                #  src/include/modules.h (RLM_MODULE_REJECT, etc),
124
 
                #  and are pre-defined in the 'example.pl' program
125
 
                #  which is included.
126
 
                #               
127
 
 
128
 
                #
129
 
                #  List of functions in the module to call.
130
 
                #  Uncomment and change if you want to use function
131
 
                #  names other than the defaults.
132
 
                #
133
 
                #func_authenticate = authenticate
134
 
                #func_authorize = authorize
135
 
                #func_preacct = preacct
136
 
                #func_accounting = accounting
137
 
                #func_checksimul = checksimul
138
 
                #func_pre_proxy = pre_proxy
139
 
                #func_post_proxy = post_proxy
140
 
                #func_post_auth = post_auth
141
 
                #func_xlat = xlat
142
 
                #func_detach = detach
143
 
 
144
 
                #
145
 
                #  Uncomment the following lines if you wish
146
 
                #  to use separate functions for Start and Stop
147
 
                #  accounting packets. In that case, the 
148
 
                #  func_accounting function is not called.
149
 
                #
150
 
                #func_start_accounting = accounting_start
151
 
                #func_stop_accounting = accounting_stop
152
 
                
153
 
                #  Uncomment the following lines if your perl is 
154
 
                #  compiled with threads support.
155
 
                #  The settings below are the defaults.
156
 
                #
157
 
                #max_clones = 32
158
 
                #start_clones = 32
159
 
                #min_spare_clones = 0
160
 
                #max_spare_clones = 32
161
 
                #cleanup_delay = 5
162
 
                #max_request_per_clone = 0
163
 
 
164
 
        }
165
 
 
166
 
        #
167
107
        #  Perform NT-Domain authentication.  This only works
168
108
        #  with PAP authentication.  That is, Authentication-Request
169
109
        #  packets containing a User-Password attribute.