Re: Obatain AFS Token in ASCII format

Jeffrey Altman <[email protected]> Mon, 08 Oct 2007 16:24:48 -0600
Newsgroups gmane.comp.file-systems.openafs.devel.win32
Organization Secure Endpoints Inc.
Message-ID <[email protected]>
Luigi Alfano wrote:
> Hi Jeffrey!
> 
> I'm studing openafs for a research project in my university. 
> I've written a routine that print on stout the afs token in standard ASCII
> format, but only for linux. Now I'm tryng to do the same thing for windows
> servers. 
> Can you help me to write this routine?
> I'm starting studing hte source code of "ctokens.c" (in src/winnt/afsd
> directory).
> 
> Please help me!
> ;)

The function should be identical for Windows.   ctokens.c shows you that
it calls the ktc_ListTokens() and ktc_GetToken() just like on UNIX.
The format of the tokens are the same.

Jeffrey Altman
smime.p7s (application/x-pkcs7-signature, 3.3 KB) - not displayed