aboutsummaryrefslogtreecommitdiff
path: root/share/mk/src.libnames.mk
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2023-06-13 16:04:22 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2023-12-13 16:08:13 +0000
commit5761f8a7de9fa0248e1d7e2be751de1c6d9aa973 (patch)
tree05579cf33450fe6619aca01a41eea7f227f791a1 /share/mk/src.libnames.mk
parent96fabd5cbc32e3ddbe6ce926ee96ffe75ccbb153 (diff)
libtacplus: Allow additional AV pairs to be configured.
* Replace hand-rolled input tokenizer with openpam_readlinev() which supports line continuations and has better quoting and escaping. * Simplify string handling by merging struct clnt_str and struct srvr_str into just struct tac_str. * Each server entry in the configuration file can now have up to 255 AV pairs which will be appended to the ones returned by the server in response to a successful authorization request. This allows nss_tacplus(8) to be used with servers which do not provide identity information beyond confirming the existence of the user. This adds a dependency on libpam, however libtacplus is currently only used by pam_tacplus(8) (which is already always used with libpam) and the very recently added nss_tacplus(8) (which is extremely niche). In the longer term it might be a good idea to split this out into a separate library. MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: pauamma_gundo.com, markj Differential Revision: https://reviews.freebsd.org/D40285 Relnotes: yes (cherry picked from commit 21850106fdda5269bc881f0e62839dff3d9edf47)
Diffstat (limited to 'share/mk/src.libnames.mk')
-rw-r--r--share/mk/src.libnames.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk
index 054fa9099025..4963a9c02436 100644
--- a/share/mk/src.libnames.mk
+++ b/share/mk/src.libnames.mk
@@ -396,7 +396,7 @@ _DP_c+= ssp_nonshared
.endif
_DP_stats= sbuf pthread
_DP_stdthreads= pthread
-_DP_tacplus= md
+_DP_tacplus= md pam
_DP_nvpair= spl
_DP_panelw= ncursesw
_DP_rpcsec_gss= gssapi