summaryrefslogtreecommitdiff
path: root/src/pam_radius_auth.h
diff options
context:
space:
mode:
authorAlan T. DeKok <aland@freeradius.org>2024-06-11 15:17:09 -0400
committerRobert Gingras <rgingras@mieweb.com>2025-03-31 11:34:51 -0400
commit84184844ec80c840a3499bb3fedd74ea9acf4dd2 (patch)
treece8d469a0166c3c3d58962a1f539da6e96578886 /src/pam_radius_auth.h
parentf3d67bba31f61993fc079f89478c0ac7da0ddaaf (diff)
downloadlibpam-radius-auth-84184844ec80c840a3499bb3fedd74ea9acf4dd2.tar.gz
libpam-radius-auth-84184844ec80c840a3499bb3fedd74ea9acf4dd2.zip
always add Message-Authenticator to Access-Request packets
Diffstat (limited to 'src/pam_radius_auth.h')
-rw-r--r--src/pam_radius_auth.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pam_radius_auth.h b/src/pam_radius_auth.h
index b1a3173..da7177b 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,9 @@ typedef struct radius_conf_t {
char prompt[MAXPROMPT];
char vrfname[64];
char privusrmap[64];
+ int prompt_attribute;
+ int privilege_level;
+ uint8_t *message_authenticator;
} radius_conf_t;
void __write_mapfile(pam_handle_t * p, const char *usr, uid_t uid, int priv,