]> git.michaelhowe.org Git - packages/o/openafs.git/commit
bos: Do encryption if requested
authorMarc Dionne <marc.dionne@your-file-system.com>
Fri, 5 Jul 2013 16:50:36 +0000 (12:50 -0400)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 12 Mar 2014 13:09:20 +0000 (06:09 -0700)
commitb5f8c9f3f5d3aea06e572f2eb5e636deb0f2cfe9
treeb95f77714cf9d0cbe09487217678b9ca26db2a5e
parentd2d749ec0c656d6e4c595a5f8c93b164a6cf911b
bos: Do encryption if requested

Commit d008089a79 didn't replace the processing of the aencrypt
flag passed to the GetConn() function, causing all bos connections
to be un-encrypted.  This causes "addkey" to fail with an error
from the server, and "listkeys" to silently ignore the -showkey
option to display keys.

Set the AFSCONF_SECOPTS_ALWAYSENCRYPT flag, and don't set
AFSCONF_SECOPTS_FALLBACK_NULL since fallback is not acceptable if
the caller requested enrcyption.

Reviewed-on: http://gerrit.openafs.org/10043
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
(cherry picked from commit 7565cb420366d79df319e344678a8d9ceab6db08)

Change-Id: Ibc643a352ed560ad0f32cbff61167463e16201ee
Reviewed-on: http://gerrit.openafs.org/10863
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Perry Ruiter <pruiter@sinenomine.net>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/bozo/bos.c