Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.334.539 Times

AFS::KTC_TOKEN 2.4.0

  Date Added: October 24, 2010  |  Visits: 840

AFS::KTC_TOKEN

Report Broken Link
Printer Friendly Version


Product Homepage
Download (97 downloads)



AFS::KTC_TOKEN is a Perl class to handle the AFS structure ktc_token. SYNOPSIS use AFS::KTC_TOKEN; use AFS::KTC_PRINCIPAL; use AFS::KTC_EKEY; use AFS::Cell qw(localcell); my $token = AFS::KTC_TOKEN->nulltoken; print "StartTime = ", $token->startTime, "n"; print "EndTime = ", $token->endTime, "n"; print "SessionKey = ", $token->sessionKey, "n"; print "Kvno = ", $token->kvno, "n"; print "TicketLen = ", $token->ticketLen, "n"; print "Ticket = ", $token->ticket, "n"; print "String = ", $token->string, "n"; my $index = 0; my $service = AFS::KTC_PRINCIPAL->ListTokens($index); print "service = ", $service->principal, "n"; ($token, my $user) = AFS::KTC_TOKEN->GetToken($service); print " client = ", $user -> principal, "n"; print " StartTime = ", $token->startTime, "n"; print " EndTime = ", $token->endTime, "n"; print " SessionKey = ", $token->sessionKey, "n"; print " Kvno = ", $token->kvno, "n"; print " TicketLen = ", $token->ticketLen, "n"; print " Ticket = ", $token->ticket, "n"; print " String = ", $token->string, "n"; $service = AFS::KTC_PRINCIPAL->new("afs","",localcell); ($token, $user) = AFS::KTC_TOKEN->GetToken($service); AFS::KTC_TOKEN->ForgetAllTokens(); AFS::KTC_TOKEN->SetToken($service, $token, $user, 0); my $string = $token->string; $token = AFS::KTC_TOKEN->FromString($string); print " StartTime = ", $token->startTime, "n"; print " EndTime = ", $token->endTime, "n"; my $user = AFS::KTC_PRINCIPAL->new(nog,,localcell); my $key = AFS::KTC_EKEY->ReadPassword(nog Password:); my $ok = AFS::KTC_TOKEN->GetAuthToken($user, $key, 600); $service = AFS::KTC_PRINCIPAL->new("afs","",localcell); $token = AFS::KTC_TOKEN->GetServerToken($service, 600, 1); $user = AFS::KTC_PRINCIPAL->new(nog,,localcell); $key = AFS::KTC_EKEY->ReadPassword(nog Password:); $token = AFS::KTC_TOKEN->GetAdminToken($user, $key, 300); $user = AFS::KTC_PRINCIPAL->new(nog); $password = AFS::KTC_EKEY->UserReadPassword("Password:"); my $pwexp = 0; my $reason = ; $ok = AFS::KTC_TOKEN->UserAuthenticateGeneral($user, $password, 300, &AFS::KA_USERAUTH_VERSION | &AFS::KA_USERAUTH_DOSETPAG, $pwexp, $reason); AFS::KTC_TOKEN->ForgetAllTokens(); NOTE: The following lines are version 1 style: all names are exported by default. This style is deprecated !!! use AFS; # import all AFS names use AFS @AFS::KA; # import just the ka names use AFS @AFS::KTC; # import just the ktc names This class provides methods to handle the AFS structure ktc_token. This structure contains information about tokens and is used in the Kernel Token Cache (KTC), which is part of the Cache Manager. It is used to create, modify, and retrieve ktc_token instances for different services. It has methods to retrieve and to reset the ktc_token attributes. In order to make proper usage of these methods it is necessary to have access to AFS::KTC_PRINCIPAL objects and to AFS::KTC_EKEY objects..

Requirements: No special requirements
Platforms: Linux
Keyword: Afs Afsktctoken Ekey Ktc Libraries Principal Print Programming Service String Structure Token User
Users rating: 0/10

License: Freeware Size: 184.32 KB
USER REVIEWS
More Reviews or Write Review


AFS::KTC_TOKEN RELATED
Media Checkers  -  Print Selection Service 1.0
The Print Selection Service adds a "Print Selection" command to the Services menu that allows you to print the current selection in any Services savvy application.
56 KB  
Shell & Desktop  -  Print Me 1.00
When you launch Print Me the standard Windows Print dialog appears, no matter which button is pressed a fake print dialog screen displays to the user. On this print progress dialog any of 10 random files appear to be sent to the default printer....
190 KB  
Programming  -  devkitPro 1.5.7
This project is for homebrew console development tools based on the gnu compiler collection with additional tools and libraries to aid programming each supported console. The windows variants are built with MinGW.
444.26 KB  
Programming  -  Mogemoge 1.0
ogemoge is a simple programming language included join token mechanism to ease writing game character relations and game events (ex. collision).
460.8 KB  
Multimedia & Graphics  -  DVDCover+ 2.0
DVDCover+ lets the user load cover art and print it to standard-size or user-defined specifications.This is one easy way for the users to create their covers with this totally FREE software. The most used predefined templates for most DVD/CD sizes...
988 KB  
Development Tools  -  VertrigoServ 2.20
VertrigoServ has been developed as a highly professional, easy to install package consisting of Apache (HTTP web server), PHP (reflective programming language), MySQL (multithreaded, multi-user, SQL Database Management System), SQLite...
 
Audio Tools  -  rePear 0.4.1 Beta
rePear is an utility built using the Python programming language that allows an user to make use of an Apple iPod audio player without the need for iTunes. The user can manage the audio files on the iPod with a normal file manager and rePear...
 
Graphics Viewers  -  djatoka 1.1
djatoka is open source Java software that builds upon a rich set of APIs and libraries to provide a service framework for the dynamic dissemination of JPEG 2000 image files.
28.24 MB  
Science  -  pySTEP 1.20
pySTEP or Python Strongly Typed gEnetic Programming: A light Genetic Programming API that allows the user to easily evolve populations of trees with precise grammatical and structural constraints.
485.73 KB  
Libraries  -  GODI 20060118
GODI library provides an advanced programming environment for the Objective Caml (OCaml) language. From INRIA (who created OCaml) you can get the OCaml compiler and runtime system, but this is usually not enough to develop applications. You also...
1.5 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB