auth: Add the ktc_ListTokensEx function
authorSimon Wilkinson <sxw@your-file-system.com>
Sat, 11 Sep 2010 09:11:57 +0000 (10:11 +0100)
committerDerrick Brashear <shadow@dementia.org>
Mon, 20 Sep 2010 07:09:21 +0000 (00:09 -0700)
commita86ad262d2a8be36f43ab0885a84dde37ddfc464
treeef60da5a6aa441b8dfd2071dfc921509df4f5ca5
parent5c3a1ed88de16db4c2081bbf1a4e397ce459bcf3
auth: Add the ktc_ListTokensEx function

Add a ktc_ListTokensEx function which uses the new GetToken pioctl
to implement the same functionality as the old ktc_ListTokens call.

As with ktc_ListTokens this is hugely inefficient, as it gets a
compelete token structure from the kernel, then throws it away to
return just the cell which the token is for.

Change-Id: Idf3daa536c6a04d397691d0cc6fcb2c59f9f444c
Reviewed-on: http://gerrit.openafs.org/2748
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/auth/auth.p.h
src/auth/ktc.c
src/auth/ktc_nt.c
src/libafsauthent/afsauthent.def