From 9a1ee796634504a6f26a08fb8731c1d032dba9f2 Mon Sep 17 00:00:00 2001 From: Bennett Samowich Date: Sun, 15 Jun 2014 21:23:34 -0400 Subject: Added 'prompt' option --- src/pam_radius_auth.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/pam_radius_auth.h') diff --git a/src/pam_radius_auth.h b/src/pam_radius_auth.h index 5358764..b1ade51 100644 --- a/src/pam_radius_auth.h +++ b/src/pam_radius_auth.h @@ -39,6 +39,9 @@ #include "radius.h" #include "md5.h" +/* Defaults for the prompt option */ +#define MAXPROMPT 33 /* max prompt length, including '\0' */ +#define DEFAULT_PROMPT "Password" /* default prompt, without the ': ' */ /************************************************************************* * Additional RADIUS definitions @@ -69,6 +72,7 @@ typedef struct radius_conf_t { int accounting_bug; int sockfd; int debug; + char prompt[MAXPROMPT]; } radius_conf_t; -- cgit v1.2.3