[OpenAFS-win32-devel] Obatain AFS Token in ASCII format

Luigi Alfano alfano.luigi@gmail.com
Tue, 9 Oct 2007 00:38:00 -0700 (PDT)


Thank you Jeffrey, I just finished yesterday to make this work.
I used the this two routine!

Now can you say me about the lenght of the secret token? Reading the code of
cklog.c I have understood that the kerberos server send it to the client,
but I'm not so sure.
I notice that in windows is always long 40byte, but in Unix it goes from 56
to 166...

Bye



Jeffrey Altman-2 wrote:
> 
> 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
> 
>  
> 

-- 
View this message in context: http://www.nabble.com/Obtain-AFS-Token-in-ASCII-format-tf4508757.html#a13110821
Sent from the OpenAFS - Windows Dev mailing list archive at Nabble.com.