Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Integrated Windows Authentication or NTLM?

by Rodster001 (Monk)
on Feb 04, 2010 at 16:34 UTC ( #821419=perlquestion: print w/ replies, xml ) Need Help??
Rodster001 has asked for the wisdom of the Perl Monks concerning the following question:

Greetings,

I am developing an intranet site and I want to know if it is possible to authenticate windows users on a Unix/Apache/Perl platform. I am not even 100% sure what I am even asking for yet. But, on our network if you are using IE and go to a .NET site, you are automatically logged in. In C# I have found the classes that you would use to get this done and it *seems* like it is something the server does but I am not really sure. Basically, I just want to know if this is possible on a LAMP platform either with Perl or an Apache module and if so, I just need to be pointed in the right direction.

Thanks!

Comment on Integrated Windows Authentication or NTLM?
Re: Integrated Windows Authentication or NTLM?
by ramlight (Friar) on Feb 04, 2010 at 16:41 UTC
    Would this CPAN module help you?:
    Apache2::AuthenNTLM - Perform Microsoft NTLM and Basic User Authentication
      That sounds exactly like what I need. I'll give it a shot and post my (hopefully) success story later on this thread :) Thanks!
        I am happy to report that I was successful in getting this to work :-D

        The biggest problem I had was figuring out what the PDC (primary domain controller) was for my domain. But, I went to a Windows machine (and typed set at the command line) and it gave me the LOGONSERVER environment variable that I needed (which worked).

        I also found this page:
        http://sivel.net/2007/05/sso-apache-ad-1 which gives a super easy, step-by-step how-to.

        One side note: My network does not actually use PDCs (I guess that is sooo NT 4.0 ??) and instead uses Active Directory. But everything still worked just fine.

        I have to admit, this was MUCH easier to set up than I thought it was going to be! Thanks again for the help.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2014-07-31 07:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (245 votes), past polls