diff options
author | Daniil Baturin <daniil@vyos.io> | 2025-06-18 11:23:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-18 11:23:37 +0100 |
commit | 46d6c0f88460fee556e38dbfba83c9029b1c78c6 (patch) | |
tree | abcc54510ccf8da3ee678c81290ba6fbd3ef7e73 /src/pam_radius_auth.h | |
parent | 061f717becc0c8bdf213316e32e031f5fb8f7d3b (diff) | |
parent | 15b5a25b3ce48cc9cf6aec7e9fbd736df833450a (diff) | |
download | libpam-radius-auth-46d6c0f88460fee556e38dbfba83c9029b1c78c6.tar.gz libpam-radius-auth-46d6c0f88460fee556e38dbfba83c9029b1c78c6.zip |
Merge pull request #9 from runleveldev/blastradius
libpam-radius-auth: T7285: add and verify Message-Authenticator
Diffstat (limited to 'src/pam_radius_auth.h')
-rw-r--r-- | src/pam_radius_auth.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pam_radius_auth.h b/src/pam_radius_auth.h index b1a3173..5f056c5 100644 --- a/src/pam_radius_auth.h +++ b/src/pam_radius_auth.h @@ -7,6 +7,7 @@ #include <errno.h> #include <sys/time.h> #include <sys/types.h> +#include <stdint.h> #include <sys/stat.h> #include <sys/resource.h> #include <sys/param.h> @@ -155,6 +156,10 @@ typedef struct radius_conf_t { char prompt[MAXPROMPT]; char vrfname[64]; char privusrmap[64]; + int prompt_attribute; + int privilege_level; + int require_message_authenticator; + uint8_t *message_authenticator; } radius_conf_t; void __write_mapfile(pam_handle_t * p, const char *usr, uid_t uid, int priv, |