diff options
author | Ian Moffett <ian@osmora.org> | 2024-09-28 01:10:13 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-09-28 01:10:13 -0400 |
commit | 9a44a928ccebdceb5a4dd9a4d67168cc04d1227f (patch) | |
tree | 8f64888b89e9ffe6f5dd6fd541623b15184ccbb9 /lib/include/defs.h | |
parent | 2229015eec1804cf33225fd28931a9e43e1fdf2e (diff) |
ostp.d: auth: Add user authentication
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/include/defs.h')
-rw-r--r-- | lib/include/defs.h | 4 |
1 files changed, 4 insertions, 0 deletions
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" |