bos: suppress unnecessary warn if -noauth 06/14306/2
authorMarcio Barbosa <mbarbosa@sinenomine.net>
Tue, 18 Aug 2020 13:56:26 +0000 (13:56 +0000)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 28 Aug 2020 03:24:30 +0000 (23:24 -0400)
commitd5f0e16ac44475be55a7cc3e2895fc4a3a923ece
tree2b35fef62bf26bc738c8c71870fde7b35f15ba89
parent904f5bd398db248c11b30ef7e360ce5141dcd1f3
bos: suppress unnecessary warn if -noauth

Commit d008089a7 (Add interface to select client security objects)
consolidated the code that selects the client security objects into a
set of new interfaces. Before this commit, the "bos: running
unauthenticated" message, which warns the user when an unauthenticated
connection is established, used to be suppressed if the -noauth flag was
specified.

Similarly to commit b3c16324e (ubik: Make ugen_ClientInit honor
noAuthFlag), recover the original behavior avoiding warn messages about
unauthenticated connections if the -noauth flag is provided.

Change-Id: Iaf0ac6bd91ea160256823512f060afc94b5926bf
Reviewed-on: https://gerrit.openafs.org/14306
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/bozo/bos.c