in reply to
Re: Re: Re: Re: Check NT login via CGI perl script / Webserver authentication
in thread Check NT login via CGI perl script / Webserver authentication
Ok... let's break this down slowly then :)
- Are your clients on Windows or Linux boxes
- Are your servers on Windows or Linux boxes
- 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.