freebsd-dev/share
Dag-Erling Smørgrav 21850106fd 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
2023-06-13 16:08:08 +00:00
..
colldef
colldef_unicode
ctypedef
dict
doc
dtrace spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
examples spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSD 2023-05-12 10:44:04 -06:00
i18n Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
keys
man mac(9): update SEE ALSO 2023-06-12 17:31:09 -03:00
misc Add christos as a src committer and markj as mentor 2023-05-22 22:49:32 +03:00
mk libtacplus: Allow additional AV pairs to be configured. 2023-06-13 16:08:08 +00:00
monetdef
monetdef_unicode
msgdef
msgdef_unicode
numericdef
numericdef_unicode
security
sendmail
skel
snmp
syscons spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
tabset
termcap
tests
timedef
vt Install spleen vt(4) fonts 2023-05-10 13:57:07 -04:00
zoneinfo tzsetup: add baseline file to control parsed zonetab contents 2023-04-23 10:32:02 +02:00
Makefile
Makefile.inc