afsio: rewrite using libafscp
authorChaz Chandler <clc31@inbox.com>
Tue, 20 Jul 2010 14:25:20 +0000 (10:25 -0400)
committerDerrick Brashear <shadow@dementia.org>
Sat, 16 Apr 2011 20:27:29 +0000 (13:27 -0700)
commit94d44d59e3d18f1d450e495a55fdd927e7584948
tree11a034891d08736aadae58a8b323fab414547df1
parent44f13d8feb527fb982064469e513c5a0c9355d03
afsio: rewrite using libafscp

afsio is a utility for file transfer to and from AFS file space
without the help of the AFS client/cache manager.  Using libafscp,
this (partially rewritten) version of afsio is able to accomplish
(1) authenticated access to an AFS path or FID (an existing
KerberosV ticket is required), (2) fall back on unauthenticated
("anonymous") access if authentication (token acquisition) fails,
and (3) work independtly of the AFS cache manager (afsd need not
be running, though CellServDB and ThisCell are currently required).

issues:
1) libvldbint and libafsint are not compiled pthreaded. we link in
what we need. this should be changed when we are all-pthreaded.
2) venus is not a pthreaded-directory otherwise. same deal:
in an all-pthreaded universe, undo the bodge that we do here.
3) venus is not an all-krb5 directory either. slight ick.

Change-Id: I946e6eef58ac77c6fb97be256c4c564188201262
Reviewed-on: http://gerrit.openafs.org/4381
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Makefile.in
NTMakefile
src/WINNT/afsd/NTMakefile
src/venus/Makefile.in
src/venus/afsio.c