aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2023-05-22 10:00:42 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2023-12-13 16:08:13 +0000
commit59fa6d8148e5998fb95a4a4314492435959e3ddf (patch)
treeb36fa021a3222e23732b46216ecd36ca12527d68
parentf1d1d50e1d089f0bfcd38e5f08b1e8bf5a1d64c3 (diff)
taclib: 0 (not set) is a valid auth type in authorization requests.
MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: rew Differential Revision: https://reviews.freebsd.org/D40132 (cherry picked from commit 951beab15d397942b5306aae292cd16564abe9f9)
-rw-r--r--lib/libtacplus/taclib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libtacplus/taclib.h b/lib/libtacplus/taclib.h
index ae5235e6a713..e0eb88fd7e10 100644
--- a/lib/libtacplus/taclib.h
+++ b/lib/libtacplus/taclib.h
@@ -58,6 +58,7 @@ struct tac_handle;
#define TAC_AUTHEN_SENDAUTH 0x04
/* Authentication types */
+#define TAC_AUTHEN_TYPE_NOT_SET 0x00
#define TAC_AUTHEN_TYPE_ASCII 0x01
#define TAC_AUTHEN_TYPE_PAP 0x02
#define TAC_AUTHEN_TYPE_CHAP 0x03