In order to test pam_eval() I've written a pam_test.so.1 module that takes arguments like:
- debug - trace - getuser call pam_get_user() - return=<return-value-name> set module return value - return_if=<return-value-name> return immediately if the current module return value matches - depth_limit=<depth-limit> set depth limit (for testing pam_eval()); when reached return current return value - limit=<depth-limit> set limit on invocations (for testing with pam_eval() *and* include); when reached return current return value - eval=<config-name> call pam_eval(<config-name>) - conv_err=<string> - conv_info=<string> - echo_on=<string> - echo_off=<string> Add a conversation or prompt - conv call conversation function now and reset the previous messages Should we just integrate such a module? It could be very useful for PAM application developers as well as for ON developers. Nico --