Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Using Kerberos Authentication with HTTP Basic Auth

by rjray (Chaplain)
on Apr 18, 2006 at 09:57 UTC ( [id://544024]=perlquestion: print w/replies, xml ) Need Help??

rjray has asked for the wisdom of the Perl Monks concerning the following question:

I may be about to undertake a (hopefully) short project to implement a module that can be used with LWP::Authen::Basic to utilize a Kerberos source for generating basic authentication tokens. The client is presently using NTLM, which is an occassionally-moving target thanks to the periodic "updates" Microsoft makes to the protocol.

There are issues that may interfere in general-- first and foremost, we have to get the Kerberos authentication server to run under Cygwin on an NT server. Once that is accomplished, we will then have to get one of the Kerberos modules (probably Authen::Simple::Kerberos) to work under the same environment.

We accomplish those two, I'm pretty sure I can craft athe HTTP authentication for them.

My question is this: has anyone else done this, or tried and given up in frustration? Any prior experiences would be very helpful to know at this stage.

Cheers,

--rjray

Replies are listed 'Best First'.
Re: Using Kerberos Authentication with HTTP Basic Auth
by idsfa (Vicar) on Apr 18, 2006 at 15:06 UTC

    You might want to use LWP::Authen::Negotiate, which gets your GSSAPI to do all of the heavy lifting for you.

    While I don't necessarily recommend it, I should mention that it is possible to use Active Directory as a Kerberos Server. If you are unable to get your CygWin setup working, you might want to look at that instead.


    The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://544024]
Approved by wfsp
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-03-28 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found