adding pre/post proxy, and post-auth stages.
Patch from Franck Springinsfeld
NULL, /* authorization */
NULL, /* preaccounting */
unique_accounting, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
unique_detach, /* detach */
NULL, /* destroy */
always_return, /* authorization */
always_return, /* preaccounting */
always_return, /* accounting */
- always_checksimul /* checksimul */
+ always_checksimul, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
always_detach, /* detach */
NULL, /* destroy */
attr_filter_authorize, /* authorization */
NULL, /* preaccounting */
NULL, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
attr_filter_detach, /* detach */
NULL /* destroy */
attr_rewrite_authorize, /* authorization */
attr_rewrite_preacct, /* preaccounting */
attr_rewrite_accounting, /* accounting */
- attr_rewrite_ismul /* checksimul */
+ attr_rewrite_ismul, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
attr_rewrite_detach, /* detach */
NULL, /* destroy */
chap_authorize, /* authorization */
NULL, /* preaccounting */
NULL, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
NULL, /* detach */
NULL, /* destroy */
counter_authorize, /* authorization */
NULL, /* preaccounting */
counter_accounting, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
counter_detach, /* detach */
NULL, /* destroy */
NULL, /* authorize */
NULL, /* pre-accounting */
NULL, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
NULL, /* detach */
NULL, /* destroy */
rlm_dbm_authorize, /* authorization */
NULL, /* preaccounting */
NULL, /* accounting */
- NULL /* checksimul */
- },
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
+ },
rlm_dbm_detach, /* detach */
- NULL /* destroy */
+ NULL /* destroy */
};
NULL, /* authorization */
NULL, /* preaccounting */
detail_accounting, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
detail_detach, /* detach */
NULL /* destroy */
NULL, /* authorization */
NULL, /* preaccounting */
NULL, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
NULL, /* detach */
NULL /* destroy */
digest_authorize, /* authorization */
NULL, /* preaccounting */
NULL, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
NULL, /* detach */
NULL, /* destroy */
eap_authorize, /* authorization */
NULL, /* preaccounting */
NULL, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
eap_detach, /* detach */
NULL, /* destroy */
example_authorize, /* authorization */
example_preacct, /* preaccounting */
example_accounting, /* accounting */
- example_checksimul /* checksimul */
+ example_checksimul, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
example_detach, /* detach */
NULL, /* destroy */
fastuser_authorize, /* authorization */
fastuser_preacct, /* preaccounting */
fastuser_accounting, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
fastuser_detach, /* detach */
NULL /* destroy */
ippool_authorize, /* authorization */
NULL, /* preaccounting */
ippool_accounting, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
ippool_detach, /* detach */
NULL, /* destroy */
NULL, /* authorize */
NULL, /* pre-accounting */
NULL, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
krb5_detach, /* detach */
NULL, /* destroy */
ldap_authorize, /* authorization */
NULL, /* preaccounting */
NULL, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
ldap_detach, /* detach */
NULL, /* destroy */
mschap_authorize, /* authorize */
NULL, /* pre-accounting */
NULL, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
mschap_detach, /* detach */
NULL, /* destroy */
NULL, /* authorize */
NULL, /* pre-accounting */
NULL, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
NULL, /* detach */
NULL, /* destroy */
NULL, /* authorize */
NULL, /* pre-accounting */
NULL, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
pam_detach, /* detach */
NULL, /* destroy */
NULL, /* authorization */
NULL, /* preaccounting */
NULL, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
pap_detach, /* detach */
NULL, /* destroy */
passwd_authorize, /* authorization */
NULL, /* pre-accounting */
NULL, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
passwd_detach, /* detach */
NULL /* destroy */
perl_authenticate,
perl_authorize,
perl_preacct,
- perl_accounting
+ perl_accounting,
+ NULL,
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
perl_detach, /* detach */
NULL, /* destroy */
preprocess_authorize, /* authorization */
preprocess_preaccounting, /* pre-accounting */
NULL, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
preprocess_detach, /* detach */
NULL, /* destroy */
python_authorize, /* authorization */
python_preacct, /* preaccounting */
python_accounting, /* accounting */
- python_checksimul /* checksimul */
+ python_checksimul, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
python_detach, /* detach */
NULL, /* destroy */
NULL, /* authorization */
NULL, /* preaccounting */
radutmp_accounting, /* accounting */
- radutmp_checksimul /* checksimul */
+ radutmp_checksimul, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
radutmp_detach, /* detach */
NULL, /* destroy */
realm_authorize, /* authorization */
realm_preacct, /* preaccounting */
NULL, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
realm_detach, /* detach */
NULL, /* destroy */
NULL, /* authorization */
NULL, /* preaccounting */
NULL, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
smb_detach, /* detach */
NULL, /* destroy */
rlm_sql_authorize, /* authorization */
NULL, /* preaccounting */
rlm_sql_accounting, /* accounting */
- rlm_sql_checksimul /* checksimul */
+ rlm_sql_checksimul, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
rlm_sql_detach, /* detach */
rlm_sql_destroy, /* destroy */
sqlcounter_authorize, /* authorization */
NULL, /* preaccounting */
NULL, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
sqlcounter_detach, /* detach */
NULL, /* destroy */
NULL, /* authorization */
NULL, /* preaccounting */
unix_accounting, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
unix_detach, /* detach */
unix_destroy, /* destroy */
x99_token_authorize, /* authorization */
NULL, /* preaccounting */
NULL, /* accounting */
- NULL /* checksimul */
+ NULL, /* checksimul */
+ NULL, /* pre-proxy */
+ NULL, /* post-proxy */
+ NULL /* post-auth */
},
x99_token_detach, /* detach */
x99_token_destroy, /* destroy */