summaryrefslogtreecommitdiff
path: root/tests/data/scripts/basic/noop-debug
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/scripts/basic/noop-debug')
-rw-r--r--tests/data/scripts/basic/noop-debug34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/data/scripts/basic/noop-debug b/tests/data/scripts/basic/noop-debug
new file mode 100644
index 0000000..e103b53
--- /dev/null
+++ b/tests/data/scripts/basic/noop-debug
@@ -0,0 +1,34 @@
+# Test authenticate and session no-op behavior (debug). -*- conf -*-
+#
+# Copyright 2015 Russ Allbery <eagle@eyrie.org>
+#
+# See LICENSE for licensing terms.
+
+[options]
+ auth = nopag notokens debug
+ session = nopag notokens debug
+
+[run]
+ authenticate = PAM_SUCCESS
+ setcred(DELETE_CRED) = PAM_SUCCESS
+ setcred(ESTABLISH_CRED) = PAM_SUCCESS
+ setcred(REFRESH_CRED) = PAM_SUCCESS
+ setcred(REINITIALIZE_CRED) = PAM_SUCCESS
+ open_session = PAM_SUCCESS
+ close_session = PAM_IGNORE
+
+[output]
+ DEBUG pam_sm_setcred: entry (0x4)
+ DEBUG skipping as configured
+ DEBUG pam_sm_setcred: exit (success)
+ DEBUG pam_sm_setcred: entry (0x2)
+ DEBUG pam_sm_setcred: exit (success)
+ DEBUG pam_sm_setcred: entry (0x10)
+ DEBUG pam_sm_setcred: exit (success)
+ DEBUG pam_sm_setcred: entry (0x8)
+ DEBUG pam_sm_setcred: exit (success)
+ DEBUG pam_sm_open_session: entry (0x0)
+ DEBUG pam_sm_open_session: exit (success)
+ DEBUG pam_sm_close_session: entry (0x0)
+ DEBUG skipping as configured
+ DEBUG pam_sm_close_session: exit (ignore)