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

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

Serving Software Downloads in 976 Categories, Downloaded 31.584.373 Times

AFS::KAS 2.4.0

  Date Added: May 22, 2010  |  Visits: 555


Report Broken Link
Printer Friendly Version

Product Homepage
Download (75 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
Libraries  -  libshout 2.2
Libshout library allows applications to easily communicate and broadcast to an Icecast streaming media server. It handles the socket connections, metadata communication, and data streaming for the calling application, and lets developers focus...
471.04 KB  
Libraries  -  Catalyst::Plugin::Authentication::Credential::BBAuth 0.03
Catalyst::Plugin::Authentication::Credential::BBAuth is a Yahoo! Browser-Based Authentication for Catalyst. SYNOPSIS use Catalyst qw( Authentication Authentication::Credential::BBAuth Session Session::Store::FastMmap...
3.07 KB  
Libraries  -  LoginServer 0.0.2
LoginServer provides a multi-client TCP server class with username/password access control. A multi-client TCP server with username/password access control. This server binds to a port and waits for connections. It then spawns...
13.31 KB  
Network & Internet  -  Dwarf HTTP Server 1.3.1
Dwarf HTTP Server is a full-featured and ready-to-use web server with the Java Servlet API 2.2 and Java Server Pages 1.1 implementation. Dwarf HTTP Server can be used either standalone or embed in a larger hosting application, free of charge for...
931.84 KB  
Utilities  -  MediaEncodingCluster
MediaEncodingCluster is an Enterprise Class, Video Cluster Environment with a Plattform Independent Client - Server Architecture for distributed video/audio converting/encoding tool over a grid Computing Network Design. more on...
14.59 MB  
Chat  -  knj_irc 0.1
knj_irc is  a PHP-GTK2-class for connecting to, and manipulating with, an IRC-server. Unlike most PHP-IRC-classes, knj_irc accepts the connect()-metho-GTK for handling events lhandling events land more.
Database Tools  -  IdealMySQL Class 1.1
IdealMySQL Class, a connection can be established to a MySQL server and SQL queries can be executed.Key Features of IdealMySQL Class:- Return the affected rows for manipulation queries like INSERT, DELETE. UPDATE, REPLACE and DROP- Return query...
10 KB  
Programming  -  telnetsrvlib 1.0.2
A threaded server class which implements the telnet protocol and provides a command line interface with basic command line editing and command history. This module is ideal for services which need an administration interface or for other simple...
20.48 KB  
Misc. Server Tools  -  Class Acme.Serve.Serve 1.0
Minimal Java HTTP server class. This class implements a very small embeddable HTTP server. It runs Servlets compatible with the API used by JavaSoft's JavaServer server. It comes with default Servlets which provide the usual httpd services,...
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  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.13.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