Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Using Kerberos Authentication with HTTP Basic Auth

by rjray (Chaplain)
on Apr 18, 2006 at 09:57 UTC ( #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.



  • Comment on Using Kerberos Authentication with HTTP Basic Auth

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?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2022-05-25 20:12 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (90 votes). Check out past polls.