Chetan Gaonker | 7f4bf74 | 2016-05-04 15:56:08 -0700 | [diff] [blame] | 1 | # |
| 2 | # Make sure the PYTHONPATH environmental variable contains the |
| 3 | # directory(s) for the modules listed below. |
| 4 | # |
| 5 | # Uncomment any func_* which are included in your module. If |
| 6 | # rlm_python is called for a section which does not have |
| 7 | # a function defined, it will return NOOP. |
| 8 | # |
| 9 | python { |
| 10 | module = example |
| 11 | |
| 12 | mod_instantiate = ${.module} |
| 13 | # func_instantiate = instantiate |
| 14 | |
| 15 | mod_detach = ${.module} |
| 16 | # func_detach = instantiate |
| 17 | |
| 18 | mod_authorize = ${.module} |
| 19 | # func_authorize = authorize |
| 20 | |
| 21 | mod_authenticate = ${.module} |
| 22 | # func_authenticate = authenticate |
| 23 | |
| 24 | mod_preacct = ${.module} |
| 25 | # func_preacct = preacct |
| 26 | |
| 27 | mod_accounting = ${.module} |
| 28 | # func_accounting = accounting |
| 29 | |
| 30 | mod_checksimul = ${.module} |
| 31 | # func_checksimul = checksimul |
| 32 | |
| 33 | mod_pre_proxy = ${.module} |
| 34 | # func_pre_proxy = pre_proxy |
| 35 | |
| 36 | mod_post_proxy = ${.module} |
| 37 | # func_post_proxy = post_proxy |
| 38 | |
| 39 | mod_post_auth = ${.module} |
| 40 | # func_post_auth = post_auth |
| 41 | |
| 42 | mod_recv_coa = ${.module} |
| 43 | # func_recv_coa = recv_coa |
| 44 | |
| 45 | mod_send_coa = ${.module} |
| 46 | # func_send_coa = send_coa |
| 47 | } |