]> git.ipfire.org Git - thirdparty/krb5.git/commit
Add kadmind support for disabling listening
authorAndreas Schneider <asn@samba.org>
Fri, 8 Nov 2024 08:57:59 +0000 (09:57 +0100)
committerGreg Hudson <ghudson@mit.edu>
Wed, 27 Nov 2024 22:42:35 +0000 (17:42 -0500)
commitcde2b3bbd96d31604392b067e9a047c245c4e314
tree86147082d4baccb0aedf2cb66a00205dbc7160f7
parentf4a4d8ea85de90fbd99c72b9656b82a4796224b2
Add kadmind support for disabling listening

Currently setting kdc_listen or kdc_tcp_listen to the empty string
disables listening for UDP and TCP connections respectively, but
setting kadmind_listen or kpasswd_listen to the empty string listens
on the wildcard address.  Make the behavior consistent by changing
loop_add_addresses() to add no listeners when the string contains no
tokens.  Remove the conditionals from the KDC code.

Document the new behavior of kadmind_listen and kpasswd_listen, and
the existing behavior of kdc_listen.

[ghudson@mit.edu: simplified loop_add_addresses(); combined several
commits and rewrote commit message]

ticket: 9151 (new)
doc/admin/conf_files/kdc_conf.rst
src/kdc/main.c
src/lib/apputils/net-server.c