mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 00:10:15 +00:00
vos: Default to server confdir for -localauth
For -localauth, we traditionally default to using the server configuration directory, since that's usually the dir that has the KeyFile in it. Keep doing that with the new ubik client interface. Change-Id: I0f7e1ed180874f52c2b91b1ea3f74e763c26cd0c Reviewed-on: http://gerrit.openafs.org/7324 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil> Reviewed-by: Tom Keiser <tkeiser@sinenomine.net> Reviewed-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
d206783e0d
commit
f19e9d7246
@ -5831,8 +5831,10 @@ MyBeforeProc(struct cmd_syndesc *as, void *arock)
|
||||
if (as->parms[13].items)
|
||||
secFlags |= AFSCONF_SECOPTS_NOAUTH;
|
||||
|
||||
if (as->parms[14].items) /* -localauth specified */
|
||||
if (as->parms[14].items) { /* -localauth specified */
|
||||
secFlags |= AFSCONF_SECOPTS_LOCALAUTH;
|
||||
confdir = AFSDIR_SERVER_ETC_DIRPATH;
|
||||
}
|
||||
|
||||
if (as->parms[16].items /* -encrypt specified */
|
||||
#ifdef AFS_NT40_ENV
|
||||
|
Loading…
Reference in New Issue
Block a user