From 9a44a928ccebdceb5a4dd9a4d67168cc04d1227f Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 28 Sep 2024 01:10:13 -0400 Subject: ostp.d: auth: Add user authentication Signed-off-by: Ian Moffett --- lib/include/defs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/include/defs.h') diff --git a/lib/include/defs.h b/lib/include/defs.h index 1a022f9..e621e71 100644 --- a/lib/include/defs.h +++ b/lib/include/defs.h @@ -49,6 +49,10 @@ #define PAP_BAD_PERMS 0x02 /* SPW provided needs more permissions */ #define PAP_RESOURCE 0x03 /* Server has insufficient resources */ +/* Session auth code defs */ +#define AUTH_SUCCESS 0x00 /* Successful auth */ +#define AUTH_BAD_PW 0x01 /* Bad password */ + /* Fixed paths */ #define OSMORA_TRUST "/etc/ostp/trusted_users.osmt" -- cgit v1.2.3