Authenticate With WinNT U/p On Asp Webpage

I am working on a website for an intranet and need to know how I can authenticate by validating my user/password at ASP webpage against the winNT user/password. So not using a 2nd storage of passwords, but simply using the one set for login to the workstation/server.

I found one thread but it was PHP based. I did however notice some comment by alexgreg, so it makes me believe it IS possible. The thread taught me it is possible with PHP, but that it would be easier with ASP... so my question is how

Quote: Originally Posted by alexgreg You can't interface with the Windows password list via PHP, since it's a closed (but not overly secure) standard. The only way I ... the Linux machine, and then use the database for authentication. But this would be very complicated.

You could use PHP to call an ASP script on the NT server, using cURL (HTTP library for PHP) to send it the username/password and then get the HTTP response back and re-translate this into a true/false value. This would be a lot simpler than the above solution.

Very curious how to achieve this. I tried searching the web with google, but I ended up with loads of results, but I still haven't found what I need. The bold part above makes me believe it's not that hard to achieve, one just has to know how

Anyone who can help me out?

View Replies


ADVERTISEMENT

Redirecting To A Webpage Within A Form With Action Tag Set To A Different Webpage

I am using a form. This has the action tag set to another page. But within this form I am using a button, which when clicked should take me to a different page.

View Replies View Related

LDAP Version Of Winnt

I'm porting some code over to use ADS for user data lookup, but can't find a clear reference anywhere to the old windows 2000 userid (the network login). Does it still exist within LDAP, or will I have to match to sn & givenName?

View Replies View Related

Problem Using WinNT Provider And GetObject

single ASP page running on IIS 5 on a Native Windows 2000 AD:

<%Set usr = GetObject("WinNT://LONGWOOD/duffeyba,user")%>

(the IIS machine is a member server)

The page is running as the user 'duffeyba'.

I am getting this result:

Microsoft VBScript runtime error '800a0046'
Permission denied: 'GetObject'

/cyphir/auth/test4.asp, line 1

This code works fine our our test domain, but fails on our production
domain.

View Replies View Related

Error '80070035' Using WinNT Provider

ASP code looks like this (win2k, IIS 5, Win2k AD):

<%
Set oUser = GetObject("WinNT://ourdomain/testuser")
response.write("user = " & oUser.Name)
%>

output is this:

error '80070035'
/cyphir/auth/test.asp, line 2

The .asp page is running as 'testuser'. This works on our test domain, fails on production .

View Replies View Related

Get System User Name At WINNT And WIN2000

I am writing a web application to get System user name. By reading the previous post, it seems that this method works

<%@ Language=VBScript %>
<%
Dim user, pword
user = Request.ServerVariables("AUTH_USER")
Response.Write user
%>

but I want to ask is it only work at WINNT? How about WIN2000 Server, I can get nothing when use this statement on WIN2000 Server.

Besides, If I want to use Jsp, is there any methods to achieve the same thing?

View Replies View Related

ChangePassword Method Using WinNT Provider And Error 424

Windows 2000 Active Directory, IIS 5

ASP code looks like this:

Set oUser = GetObject("WinNT://DOMAIN/" & strNTName)
oUser.ChangePassword strPassword, strNewPassword

If (err.number <> 0) Then
response.write(err.number)
End If

This code works on our test system, but gives an error on our production
system. err.number is 424.

I see nothing in my logs...

Any ideas?

View Replies View Related

ASP Page Authenticate Against AD

I have a 2 win2k3 SP1 AD Domain controllers and a win2k3 IIS 6.0 webserver, this is not in the domain. The webserver is in a DMZ. I'm trying to make an asp page that authenticates against AD, so all my company users will have to provide the username and password, that should match AD, before going through to the next page.

View Replies View Related

Auto Authenticate

I am running 2000 server, sp4, IIS 5

I need to be able to autoexecute an asp page from a batch file that is placed in the windows scheduler.

I can execute the page fine, but I can't get past the authentication. How do I pass the username and password to windows via the URL automatically so this can be done without any user action? This is not a https but it uses integrated windows authentication.

View Replies View Related

Authenticate User

I get the user name from the login to the asp page. What I need to find out is the account active or is it disabled. Some users of the site are from the out side world these are OK. The problem is when an employee quits or is canned and their network acount is disabled. I need to find out if their account is disabled.

View Replies View Related

ASP SmartMail: How To Authenticate The Form When It's Sent

I am using ASP SmartMail for an email submit form.

I have my form but cannot figure how to insert the server email authentication username and password.

http://www.aspsmart.com/aspSmartMail/


So far I have this ASP code which my HTML form goes to:

<%
On error resume next
Dim mySmartMail
Set mySmartMail = Server.CreateObject("aspSmartMail.SmartMail")

' Mail Server
' ***********
mySmartMail.Server = "mail.yourdomain.com"

' From
' ****
mySmartMail.SenderName = Request.Form("SenderName")
mySmartMail.SenderAddress = Request.Form("SenderAddress")

' To
' **
mySmartMail.Recipients.Add Request.Form("ToAddress"), Request.Form("ToName")

' Parameter
' *********
mySmartMail.Priority = Request.Form("Priority")

' Message
' *******
mySmartMail.Subject = Request.Form("Subject")

mySmartMail.Body = Request.Form("Body")

etc.. etc... -----------------------------

View Replies View Related

How Can I Authenticate When Sending Email?

I have had success using ASP to send out mail, however, how can I make it send mail using an external SMTP server that requires authentication?

View Replies View Related

Authenticate To Active Directory

I'd like to set up a new web page that I'm writing in ASP so that it requires the users to authenticate using their domain accounts. The domain controller is Windows 2000 Server which is a member of my University's active directory. Does anyone know if this is even possible?

View Replies View Related

Authenticate Header Field.

when I turn off Anonymous in IIs I get this Error :
HTTP 401.2 - Unauthorized: Logon failed due to server configuration

This is usually caused by a server-side script not sending the proper
WWW-Authenticate header field. Using Active Server Pages scripting this
is done by using the AddHeader method of the Response object to request
that the client use a certain authentication method to access the
resource.

View Replies View Related

Authenticate Windows Folder

I have created an appln in ASP to upload some files.and through my appln when i click the link i can view them. but if i know the path where the files are stored,i can
just type in the url in my browser and still open the file.

i want to avoid other people from viewing these files and only want them to open through my appln.How can this be achieved? Also this application is hosted a hosting company on a shared server.so not sure if there are limitations as to the solution in that environment.

View Replies View Related

WWW-Authenticate To Force Anonymous

I have a server that hosts a few intranet sites. The one that all my coworkers have their Home Page set for causes their browser to authenticate, which is all good.

The one i'm working on now requires Anonymous Access in order to work, but the authentication from the first one is carrying over to the other. Can I use WWW-Authenticate to force anonymous access isntead of using it to force NTLM, Basic, etc?

View Replies View Related

Authenticate Against Active Directory

I would like to be able to pass a request to IIS to have a user name and password authenticated against my Active Directory Users database. I'm running Server 2003 however my web pages are build using ASP (not .NET).

What I want to do is to open the standard User Name/Password form (I don't know how to do that either) and then make my request and get back a True/False result. There must be a way to do that but I haven't found it after 3 hours of searching the web.

View Replies View Related

Access Denied Error Using GetObject("WinNT://"

I use the following code to check if a user is an admin in the login page of our intranet.

Set User = GetObject("WinNT://" & UserDomain & "/" & UserName & ",user"
For Each Group in User.Group
Select Case Group.Nam
Case "Domain Admins
Session("Admin")=Tru
Case "Domain Users
Session("User")=Tru
End Selec
Nex

The code works fine on IIS5 and Windows 2000. I have set up a test server with Windows 2003 and IIS6 and created the same application, however the second line of this code returns an error message

Active Directory Error '80070005
General access denied erro

It's obvioulsy a permission issue but I cannot figure out how to get around it.

View Replies View Related

ASP Webpage

I'm creating an application using ASP and MSSQL server. I'm finding the task
of designing my output and forms to be rather tedious. Modifications require
a fair bit of work. Most of my code is being written in notepad - no
Interdev or DotNet tools.
Are there any applications (or even just some helpful tips) that help
provide report output and user interface design for the webpages?

View Replies View Related

No Webpage

I'm using Visual Web Developer 2005 Express Edition. I created a simple asp.net project, no biggy. Moved the files over to the htdocs folder of Apache. Everything shows up great on an open directory setting online ( I do not have the Default.aspx file set as my starting page, it's simply an open directory ).
I installed mono, it installed fine. I don't know if there's anything I need to execute on mono as it seems like it's already running. Anyway, I goto my IP through my browser, click on Default.aspx, and instead of the ASP page, all that shows up is the html code behind it.I don't know where to begin on this

View Replies View Related

Webpage Expands

I have taken over some code for a website and am trying to finish it. I
have noticed that when loading each page the site expands and then
shrinks to the normal size, i don't want this to occur. if you go to
http://preview.sgci.com/lutherwoodaes you will be able to see what i am
talking about. Any ideas or direction?

View Replies View Related

Include Webpage

how can i include a webpage from another server with ASP? (Without frames)
i tried XMLHTTP, but i loose the stylesheet, images src and relative links
of the included page.

View Replies View Related

Webpage Login

I'm looking for something (preferably free) that will allow me to have users
login using a username and password. I'd like to store the password
encrypted (if possible) in an access database and have a web based admin
utility and password reminder (e-mail sent to user) option in case a user
forgot their password.

I've seen packages selling for nearly $30, but for a non-profit organiztion,
every penny saved counts.

View Replies View Related

Webpage/db Application

I'm going to make a website that has some logic to it. It runs an algorithm on an excel spreadsheet. The excel spreadsheet is NOT on the server with the website though, but is on the users computer.

Right now I'm thinking of either using dotNetRemoting in some way or somehow make it into a webservice. With a webservice, maybe they can have an executable file of some sort which they double click and it calls my webservice. I'm learning about this as I go.

If I edit my webservice algorithm, will these propagate to the user? Do they need to compile something is what I'm asking.

View Replies View Related

Displaying A PDF From A Webpage

I have a requirement to fire up a PDF brochure for visitors. This is currently done by simply linking the pdf document direct using a javascript popup and hence acrobat is invoked when the link is clicked.

I now have a requirement to trap and record in my database the fact that the brochure was viewed and I can't get my head around how I can do both without getting the user to click 2 links (one to fire up the page with the ASP database call in it and a PDF link on it, and the other to click the PDF).

I have a feeling I could do something clever with host headers, but before I go too far down that deep and murky path I wonder if there is some simpler way I'm overlooking.

Current Code :

View Replies View Related

Asp Webpage Creating

Does anyone know an out of the boxproduct or some scripting for customer registration after aprovment they should have to create online one page with some advertizing (picture) and explanation about there small businness. There page should be in a directorie with the name of there business.

View Replies View Related

Saving A Webpage

does anyone know if there is a way to save a webpage to file after the user presses a button?

View Replies View Related

Script In Webpage

I have copied an ASP tutorial running on pocket IE.

1)
The ASP does not run on Pocket IE, comes-up with error:
No application associated with ..

2)
The script also appears in the webpage. Any ideas why?

View Replies View Related

Webpage Problem

How do you make your webpage so that no matter what page they navigate to,it always says just the mainurl in the Address bar: http://www.whatever.com instead of http://www.whatever.com/page1.asp?

If I put a link on my webpage that says click here to print page. How can I get the print code to specifically print only the information between a specific <TD></TD> tags? See cause if I just let it print the whole page it is all messed up cause it is too big to print on one page.

View Replies View Related

Encrypted Webpage?

Has anyone implemented an encrypted ASP webpage? Any major pitfalls that one should be aware of?

View Replies View Related

Copy Webpage

I am currently accessing information in an access database using ASP and displaying it on some WebPages (both the access database and the website are on a standalone machine). I have a problem that the website needs to be moved onto another standalone machine and the database is not on it.

However I plan to run ASP and HTML to create the WebPages and then make a copy of the WebPages and then move the copys across? This machine will not have the database but because it has already retrieved the information (from the first time using ASP) it does not need the database. Is this true?

View Replies View Related

Open Another Webpage

i want to open a new webpage with variable passing and appear in the frame (rightFrame). i set the Yes button as Submit Form, isi it true? or i should set it to None. Code:

<input name="Yes1" type="submit" id="Yes1" value="Yes" style="width:50px;" onclick="window.location='quotation_admin.asp?id='+<%=id%>,,target=rightFrame">

View Replies View Related

Interactive Webpage

I have created a webpage that allows a user to enter information in a box. The idea is that the user could click on the submit button under the box to send info. to another webpage for future access. However, I understand that I need ASP software for this to happen.

I have tried to download ASP from the net. However, my p.c. would not accept the download. Can someone please advise 1) How to create a simple interactive webpage that allows a user to input and submit a value which can be stored and viewed at a later time? 2) The easiest way to download the necessary software to a p.c.?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved