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


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.


  • Comment on Integrated Windows Authentication or NTLM?

Replies are listed 'Best First'.
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: 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.