From 31a452ad25b91f3cbdaf33273a40d8693056700b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Wed, 25 Oct 2023 21:03:57 +0200 Subject: transaction: Add missing default PAM item types --- transaction.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/transaction.go b/transaction.go index 7f8c2d1..1bb5229 100644 --- a/transaction.go +++ b/transaction.go @@ -257,6 +257,14 @@ const ( Ruser Item = C.PAM_RUSER // UserPrompt is the string use to prompt for a username. UserPrompt Item = C.PAM_USER_PROMPT + // FailDelay is the app supplied function to override failure delays. + FailDelay Item = C.PAM_FAIL_DELAY + // Xdisplay is the X display name + Xdisplay Item = C.PAM_XDISPLAY + // Xauthdata is the X server authentication data. + Xauthdata Item = C.PAM_XAUTHDATA + // AuthtokType is the type for pam_get_authtok + AuthtokType Item = C.PAM_AUTHTOK_TYPE ) // SetItem sets a PAM information item. -- cgit v1.2.3