Ok... let's break this down slowly then :)

  1. Are your clients on Windows or Linux boxes
  2. Are your servers on Windows or Linux boxes
  3. If you are using CGI and not mod_perl, then you'll have to use mod_auth_sspi or mod_ntml (depending on your apache version. Are those modules available for your platform?)

For NTML authentication to work, your clients have to be on a windows box, logged in to a windows domain. So, that's relatively important. Also, if you are using CGIs, to my knowledge there is *no way* for a CGI to directly access NTML authentication, it would have to be done at the apache server level, so you might be asking in the wrong forum, you would probably be served much better though an Apache forum. If your server is a Linux box, you'll have to set up SAMBA so that it speaks to an NT domain, and then you'll have to set up one of the apache mods to do authentication to that domain to protect the *directory* that your scripts reside in, not the scripts themselves.

There, hopefully things are a bit clearer. As a favor to myself and to others here, if you've asked a question before, make sure to point out in your node that you're repeating the question, and enumerate the set of things that you've done since you asked that question so that we know that you've put forth effort, and perhaps can steer you in the right direction. This is a friendly community (lord knows I've gotten a great deal of help from it), but some of us (read: I) get a bit wonky when we think people are just trying to get "free tech support."

Let me know how it goes.


In reply to Re: Re: Re: Re: Re: Check NT login via CGI perl script / Webserver authentication by eduardo
in thread Check NT login via CGI perl script / Webserver authentication by daniel98

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.