[krbdev.mit.edu #9151] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Nov 27 17:50:23 EST 2024


Wed Nov 27 17:50:23 2024: Request 9151 was acted upon.
 Transaction: Ticket created by ghudson at mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson at mit.edu
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9151 >



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 at mit.edu: simplified loop_add_addresses(); combined several
commits and rewrote commit message]

https://github.com/krb5/krb5/commit/cde2b3bbd96d31604392b067e9a047c245c4e314
Author: Andreas Schneider <asn at samba.org>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: cde2b3bbd96d31604392b067e9a047c245c4e314
Branch: master
 doc/admin/conf_files/kdc_conf.rst | 29 +++++++++++++++++------------
 src/kdc/main.c                    | 19 +++++++------------
 src/lib/apputils/net-server.c     | 10 ++--------
 3 files changed, 26 insertions(+), 32 deletions(-)



More information about the krb5-bugs mailing list