transaction: Add missing default PAM item types

This commit is contained in:
Marco Trevisan (Treviño)
2023-10-25 21:03:57 +02:00
parent fe75bbaeee
commit 31a452ad25

View File

@@ -257,6 +257,14 @@ const (
Ruser Item = C.PAM_RUSER Ruser Item = C.PAM_RUSER
// UserPrompt is the string use to prompt for a username. // UserPrompt is the string use to prompt for a username.
UserPrompt Item = C.PAM_USER_PROMPT 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. // SetItem sets a PAM information item.