Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by eduardo (Curate)
on Apr 24, 2003 at 18:21 UTC ( [id://252969]=note: print w/replies, xml ) Need Help??


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

You probably want something like mod_ntlm for Apache 1.3 or mod_auth_sspi for Apache 2.0. If you are doing mod_perl things, however, you could use Apache::AuthenNTLM.

Replies are listed 'Best First'.
Re: Re: Check NT login via CGI perl script / Webserver authentication
by daniel98 (Initiate) on Apr 24, 2003 at 19:05 UTC
    Doesn't NTLM require the user to re-enter their windows username and password when accessing my site?

    My goal is that the user doesn't have to enter anything else once he/she successfully logged on to our network.
    I will use the username (that was already authenticated by the network) to authorize access to certain pages.

    Thanks,
    Daniel
      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.
        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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-03-19 11:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found