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.134.508 Times

AFS::KAS 2.4.0

  Date Added: May 22, 2010  |  Visits: 751

AFS::KAS

Report Broken Link
Printer Friendly Version


Product Homepage
Download (99 downloads)



AFS::KAS is a Perl class to communicate with the AFS Authentication Server. SYNOPSIS use AFS::KAS; use AFS::KTC_PRINCIPAL; use AFS::KTC_TOKEN; use AFS::KTC_EKEY; my $admin = AFS::KTC_PRINCIPAL->new(admin); my $key = AFS::KTC_EKEY->ReadPassword($admin->name."s Password:"); my $token = AFS::KTC_TOKEN->GetAdminToken($admin, $key, 300); my $kas = AFS::KAS->AuthServerConn($token, &AFS::KA_MAINTENANCE_SERVICE); my $user = AFS::KTC_PRINCIPAL->new(xyz); my $ukey = AFS::KTC_EKEY->ReadPassword($user->name."s Password:"); my $ok = $kas->create($user->name, $user->instance, $ukey); my $flags = 1; # (1 = normal, 4 = admin) my $expire = 925715000;# epoch time => 03 May 1999 07:03 my $maxassoc = 0; my $lifetime = 48*60*60; #unit is secs; => 48 hrs my $pwexpire = 10; #number of days my $pw_reuse = 2; #pwreuse allowed: [ 2 = no ] my $nfail = 4; #(nfail - 1) tries are allowed; => 3 tries my $locktime = 3; #unit is 8.5 min => 3 * (8.5) my $spare2 = 0; my $packed = (($pwexpire << 24)|($pw_reuse << 16)|($nfail << 8)|$locktime); $ok = $kas->setfields($user->name, $user->instance, $flags, $expire, $lifetime, $maxassoc, $packed); my $entry = $kas->getentry($user->name, $user->instance); $packed = $$entry{misc_auth_bytes}; $pwexpire = (($packed >> 24) & 0xff); $pw_reuse = (($packed >> 16) & 0xff); $nfail = (($packed >> 8) & 0xff); $locktime = (($packed >> 0) & 0xff); $kas->DESTROY; # destroy server connection NOTE: these forms are 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 is used to communicate with the AFS Authentication Server. It verifies user identities and provides the facilities through which participants in transactions prove their identities to one another (mutually authenticate). It maintains the Authentication Database, in which it stores user passwords converted into encryption key form as well as the AFS server encryption key. It has methods to query the information held for any given AFS user and to create, modify, and delete the records in the DB where the above information is held. Before you can access any DB record you must establish a connection to the Authentication Server. This is done by the constructor methods SingleServerConn and AuthServerConn which return a KAS object. A KAS object is essentially a handle to talk to an Authentication Server in a given cell. Such a KAS object is required before any of the other KAS instance methods can be called..

Requirements: No special requirements
Platforms: Linux
Keyword: Afs Afskas Authentication Authentication Server Class Communicate Ekey Kas Ktc Libraries Packed Perl Principal Server
Users rating: 0/10

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


AFS::KAS RELATED
Modules  -  Kish Twit 1.0
This plugin uses oauth authentication protocol to communicate with twitter. You can register your own application and use the keys to use this plugin. You can update your status with branded tweets. Check out the help posts on Kish Twit for more...
10 KB  
Libraries  -  Class::Contract 1.00
Class::Contract - Design-by-Contract OO in Perl. SYNOPSIS package ClassName use Class::Contract; contract { inherits BaseClass; invar { ... }; attr data1; attr data2 => HASH; class attr shared => SCALAR; ctor new; method...
26.62 KB  
Libraries  -  mGSTEP 0.558
mGSTEP project is an core elements in NeXTs (now Apple) OPENSTEP/Cocoa Objective-C class libraries implementation. The principal design goal is the development of a modular application development framework suitable for use in embedded devices...
655.36 KB  
Libraries  -  HTTPD::Authen 1.66
HTTPD::Authen is a HTTP server authentication class. SYNOPSIS use HTTPD::Authen (); This module provides methods for authenticating a user. It uses HTTPD::UserAdmin to lookup passwords in a database. Subclasses provide methods specific to...
112.64 KB  
Authentication  -  CookieAuth 1.0.2
CookieAuth is a simple PHP class, compatible with any version of PHP, that permits to add "User-ID and Password" authentication in other projects, using cookies and additional table-field. This class is suitable for any existing MySQL database.
 
Libraries  -  JOAP::Server::Object 0.01
JOAP::Server::Object is a base class for Things Servable By JOAP Servers. ABSTRACT This verbosely-named OO package -- sorry about that -- is the base class for object servers, classes, and instances inside a JOAP server. It is probably not...
122.88 KB  
Miscellaneous  -  OpenID Delegation 0.1
I've been a fan of OpenID ever since it first turned up on the web, when they were offering bounties for implementing it in popular web apps. So I'm very happy about the scale of adoption it's achieved, and since I've started seeing places where...
10 KB  
Libraries  -  class.upload.php 0.24
class.upload.php manipulates uploads and images very easily. It can convert and resize uploaded images in many ways. It uses the GD library. How does it work? - the class constructor upload handles a uploaded file (it can also handle a local...
43.01 KB  
Libraries  -  Class::DBI::FormBuilder 0.481
Class::DBI::FormBuilder is a Perl module with Class::DBI/CGI::FormBuilder integration. SYNOPSIS package Film; use strict; use warnings; use base Class::DBI; use Class::DBI::FormBuilder; # for indented output: # use...
46.08 KB  
Utilities  -  Open1X 2.2.0.710
Open1X is an open source implementation of the IEEE 802.1X protocol. This project includes support for the supplicant, while other projects (e.g., FreeRADIUS) provide support for the authentication server.
8.34 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