Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

authen::simple::kerberos(3pm) [debian man page]

Authen::Simple::Kerberos(3pm)				User Contributed Perl Documentation			     Authen::Simple::Kerberos(3pm)

NAME
Authen::Simple::Kerberos - Simple Kerberos authentication SYNOPSIS
use Authen::Simple::Kerberos; my $kerberos = Authen::Simple::Kerberos->new( realm => 'REALM.COMPANY.COM' ); if ( $kerberos->authenticate( $username, $password ) ) { # successfull authentication } # or as a mod_perl Authen handler PerlModule Authen::Simple::Apache PerlModule Authen::Simple::Kerberos PerlSetVar AuthenSimpleKerberos_realm "REALM.COMPANY.COM" <Location /protected> PerlAuthenHandler Authen::Simple::Kerberos AuthType Basic AuthName "Protected Area" Require valid-user </Location> DESCRIPTION
Kerberos authentication. METHODS
* new This method takes a hash of parameters. The following options are valid: * realm Kerberos realm. realm => 'REALM.COMPANY.COM' * log Any object that supports "debug", "info", "error" and "warn". log => Log::Log4perl->get_logger('Authen::Simple::Kerberos') * authenticate( $username, $password ) Returns true on success and false on failure. SEE ALSO
Authen::Simple. Authen::Krb5::Simple. AUTHOR
Christian Hansen "ch@ngmedia.com" COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.8.8 2008-03-01 Authen::Simple::Kerberos(3pm)

Check Out this Related Man Page

Authen::Simple(3pm)					User Contributed Perl Documentation				       Authen::Simple(3pm)

NAME
Authen::Simple - Simple Authentication SYNOPSIS
use Authen::Simple; use Authen::Simple::Kerberos; use Authen::Simple::SMB; my $simple = Authen::Simple->new( Authen::Simple::Kerberos->new( realm => 'REALM.COMPANY.COM' ), Authen::Simple::SMB->new( domain => 'DOMAIN', pdc => 'PDC' ) ); if ( $simple->authenticate( $username, $password ) ) { # successfull authentication } DESCRIPTION
Simple and consistent framework for authentication. METHODS
o new This method takes an array of "Authen::Simple" adapters. Required. o authenticate( $username, $password ) Returns true on success and false on failure. SEE ALSO
Authen::Simple::ActiveDirectory. Authen::Simple::CDBI. Authen::Simple::DBI. Authen::Simple::FTP. Authen::Simple::HTTP. Authen::Simple::Kerberos. Authen::Simple::LDAP. Authen::Simple::NIS. Authen::Simple::PAM. Authen::Simple::Passwd. Authen::Simple::POP3. Authen::Simple::RADIUS. Authen::Simple::SMB. Authen::Simple::SMTP. Authen::Simple::SSH. AUTHOR
Christian Hansen "chansen@cpan.org" COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-04-19 Authen::Simple(3pm)
Man Page

13 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Simple? Search replace

in vi, if i type ctrl-J, i can shift the next line up to the current line. I need to do this whenever a specific string exists (in particular ^M) ,however i have not been able to find a way to do this in vi, sed, or awk seems simple enough. can someone help me? thanks in advance (9 Replies)
Discussion started by: Brandt
9 Replies

2. UNIX for Dummies Questions & Answers

Simple loop query

Hi All Just started with shell scripts and am stumped by, what is to most of you no doubt, a simple issue. All I'm trying to do is prompt a user for input and writing to a log file. If the user types the word 'stop', then the program should halt. If the word typed is 'clear', then the log file... (2 Replies)
Discussion started by: kutz13
2 Replies

3. UNIX for Dummies Questions & Answers

Kerberos Authentication from Application

Hi, We've configured Kerberos to authenticate AIX 5.3 users with Active Directory and I now have to port an application written in C to the new security model. Currently, our users can login as normal and running a "klist" command reveals that they have been successfully granted a ticket. ... (2 Replies)
Discussion started by: phykell
2 Replies

4. Shell Programming and Scripting

Extract single or multi word string in Cshell

I am using the following code: set LASInputFile = `ls *. | head -1` set COMPLine = `grep -i :COMPANY $LASInputFile` to extract the following line from my input file: COMP. XYZ Public Company :COMPANY NAME I now need to extract the full name of the company which... (15 Replies)
Discussion started by: phudgens
15 Replies

5. UNIX for Dummies Questions & Answers

Search for string and return lines above and below

Hi, I have a file with the following contents: COMPANY ABCD TRUCKER JOE SMITH TRUCK 456 PLATE A12345678 TRUCKER BILL JONES TRUCK 789 PLATE B7894561 I need to create a script or search command that will search for this string '789' in the file. This string is unique and only... (7 Replies)
Discussion started by: doza22
7 Replies

6. AIX

Kerberos and LDAP Auth

Good day I am trying to configure Kerberos and LDAP authentication on AIX 5.3 with Windows 2003 R2 but something is not quite right. When I ran kinit username I get a ticket and I can display it using klist. When the user login I can see the ticket request on Windows 2003, but the user... (1 Reply)
Discussion started by: mariusb
1 Replies

7. Shell Programming and Scripting

Simple list file ls to an array

Hi all, Simple question, how can I simply create an array from listing the files in a directory i..e myvar=`ls`; echo $myvar gives a fulllist of files/ directories how can I now convery myvar to an array so I can loop around and read each file/dir? Thnaks CF:) (6 Replies)
Discussion started by: cyberfrog
6 Replies

8. Solaris

Simple script question

(1 Reply)
Discussion started by: secno
1 Replies

9. Solaris

Compile SSCEP (Simple SCEP client for Unix) on Solaris 10 box

Hi folks I am trying to compile SSCEP (Simple SCEP client for Unix) on Solaris 10 box. SSCEP - Simple SCEP client for Unix The errror is "ld: fatal: Symbol referencing errors. No output written to" $ make gcc -Wall -O -lcrypto -o sscep sscep.o init.o net.o sceputils.o pkcs7.o ias.o... (2 Replies)
Discussion started by: slashdotweenie
2 Replies

10. UNIX for Dummies Questions & Answers

any one used SEC - Simple Event Correlator

Hi, I am trying to configure SEC - Simple Event Correlator to analyze the logs. Just wondering if any of you have used this before? If yes, can you help by showing few of the rules you created? Thanks. (1 Reply)
Discussion started by: samnyc
1 Replies

11. UNIX for Dummies Questions & Answers

A Simple Clock, Well Maybe Not That Simple...

The attachment says it all really... It is a DEMO at a glance digital readout using the "date" command to make it useful... For a Mocbook Pro 13", OSX 10.7.5, but may well work on Linux variants too. Enjoy... #!/bin/bash # # Clock.sh # A bash DEMO to create a 6 x 7 character set... (4 Replies)
Discussion started by: wisecracker
4 Replies

12. AIX

Problems with Kerberos and realms

I'm fairly new to UNIX-land, and one of my first assigned tasks was to try to set up Kerberos authentication on an unused partition. Hopefully everything makes sense, but please let me know if any clarification is needed with any of it. AIX 7.1, and while I found various docs on the subject, a... (11 Replies)
Discussion started by: PassLine
11 Replies

13. Shell Programming and Scripting

Simple Perl question

Hello, I'm completely new to Perl and I'm just looking for a quick answer to some code I'm trying to come up with. I'm trying to access a website, part of the URL I want the user to be able to define via standard input. As you can see below I'm still trying to get the syntax. ... (2 Replies)
Discussion started by: wxornot
2 Replies