diff options
author | Marco Trevisan (Treviño) <[email protected]> | 2023-10-25 21:03:57 +0200 |
---|---|---|
committer | Marco Trevisan (Treviño) <[email protected]> | 2023-11-30 02:49:29 +0100 |
commit | 31a452ad25b91f3cbdaf33273a40d8693056700b (patch) | |
tree | bfe50c0c16fe9217c19c5ecf7544ad2ca1cb5979 | |
parent | fe75bbaeee4f29f460fdd7ca795584298e685b80 (diff) |
transaction: Add missing default PAM item types
-rw-r--r-- | transaction.go | 8 |
1 files changed, 8 insertions, 0 deletions
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. |