There is a perl module called Authen::Smb that might work for you.  
http://freshmeat.net/redir/authensmb/483/url_tgz/Authen-Smb-0.91.tar.gz 

You will need to install the samba package. If you want to use .htaccess files with 
apache to the auth you might check out.

http://modntlm.sourceforge.net/

good luck.


-----Original Message-----
From: Merritt, Dave [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 10:20 AM
To: '[EMAIL PROTECTED]'
Subject: Validating user id & password from web page against NT & NIS
server accounts


All,

I'm writing a web based app and I want to have a user login page.  I can
create the page just fine and do the all the form "stuff" just fine.
However, what I'm looking at trying to do is to authenticate the user id &
password against either our NT server accounts or Sun NIS server accounts
depending on the OS the user is browsing from instead of to the web server's
htpasswd file.  I'm only needing to test for a valid user id and password
against the password servers, and am not interested in inheriting or
accessing any permissions, authorizations, etc. from the NT or NIS servers.
I will assign permissions etc. to the user id on the web server.  Are there
modules that will let me do the authenticating of a user id & password
against NT & NIS servers?  If so, what are they?  I took a look at the CPAN
site but couldn't find anything that stood out as being the correct modules.

Hopefully the question makes some sort of sense.  BTW, running Apache,
mod_perl, & perl 5.6.1 on Solaris 2.8 if that makes any difference to the
responses.

Thanks in advance

Dave

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to