]> git.michaelhowe.org Git - packages/o/openafs.git/commit
afsio: rewrite using libafscp
authorChaz Chandler <clc31@inbox.com>
Tue, 20 Jul 2010 14:25:20 +0000 (10:25 -0400)
committerDerrick Brashear <shadow@dementix.org>
Sat, 10 Sep 2011 23:35:53 +0000 (16:35 -0700)
commite475ca5410dcb79b26c9c5e79ccdb9d9f2357a86
treec5ac5e3acd1e1630421b0162e03f010badd214e1
parentac301978a0eede1bfad56d164c1aa514db0e3098
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.

Reviewed-on: http://gerrit.openafs.org/4381
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 94d44d59e3d18f1d450e495a55fdd927e7584948)

Change-Id: Ibe140c58970f1b4f2f9e7f016e55d770f8cdcc09
Reviewed-on: http://gerrit.openafs.org/5383
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
14 files changed:
Makefile.in
NTMakefile
acinclude.m4
src/WINNT/afsd/NTMakefile
src/config/afsconfig-windows.h
src/libafscp/Makefile.in
src/libafscp/NTMakefile
src/libafscp/afscp_dir.c
src/libafscp/afscp_fid.c
src/libafscp/afscp_roken.c [new file with mode: 0644]
src/libafscp/afscp_search.h [new file with mode: 0644]
src/libafscp/afscp_volume.c
src/venus/Makefile.in
src/venus/afsio.c