Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Re: Check NT login via CGI perl script / Webserver authentication

by eduardo (Curate)
on Apr 24, 2003 at 19:17 UTC ( #252974=note: print w/ replies, xml ) Need Help??


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

I hate to sound like a pedantic ass. But, if you read the document I had linked to my response at Apache::AuthenNTML you'll see that it says:

The purpose of this module is to perform a user authentication via Mircosofts NTLM protocol. This protocol is supported by all versions of the Internet Explorer and is mainly usefull for intranets. Depending on your preferences setting IE will supply your windows logon credentials to the web server when the server asks for NTLM authentication. This saves the user to type in his/her password again.
What really seems to get my goat is that you asked this question before at NT login to authenticate web user and you got basically the same answer I gave you from valdez. Go to your network, set up a few of the solutions that have been suggested to you, try them out, get back to us with error messages or success stories.


Comment on Re: Re: Re: Check NT login via CGI perl script / Webserver authentication
Re: Re: Re: Re: Check NT login via CGI perl script / Webserver authentication
by daniel98 (Initiate) on Apr 24, 2003 at 21:23 UTC
    Unfortunately, I'm still at a loss. I'm thankful for all the responses and, contrary to some beliefs, I meticulously read each response. However, I'm using CGI (not mod_perl) and Linux (not Windows) so neither Apache::NTML (requires mod_perl) nor the mod_auth_sspi (requires Windows) will work.

    I've tried to understand with documentation for Authen::NTLM but can't make any sense of it. If anyone else has suggestions, I would certainly welcome them.


    ...I'm sorry if I have reposted this question, but the question I posted a month earlier had the same issues explained above.

    Thank you for everyone's input,
    Daniel

      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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2014-12-19 08:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (75 votes), past polls