473,322 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

impersonation, LDAP, IIS6 and my brain full of knots

Hi all,

somehow I'm going nuts with this authentications inside IIS6, but from
the beginning:

We have a W2k3 Server running IIS6 with an application running as
NetworkService. The Authenticationmode on this Web is integrated
Microsoft.
Up to now, everything worked fine, but we want to add a new function,
which is getting me into problems.
The function should be to get informations via SamAccountName by
querying LDAP.
My first start was to get it done by a serverscript.
That failt, because of the NetworkService Account.
So, we created a domainAccount, which we put into the IIS_WP group and
set the application to run with this.
Now the WEB doesn't authenticate anymore. You are prombted for the
authentication and if You lookup the Sec Eventlog You see, that the
server tries to Authenticate with an empty username and domain. Just
the source Workstation is filled with the IP of the Client trying to
connect to the Application.
After struggling around with some different local policies, I quit.
The next Idea was to set up a clientscript, which is started by a
Button. The page loads, the user enters the SamAccountName in a field,
hits a button and a VBScript-Function is started to query. but now we
are running into an ActiveX Error, failt to GetObject.

Now to my question.
How can I get this running?
Just to explain the function I want again:
I have a field (NETID) and want to get the rest of the Informations
from the AD. Best would be to runn this on the WebServer, which is
Member of the AD.

Thanks in advance for Your Help.
If You need any additional Informatons, don't hesitate to ask.

Carsten

Oct 19 '05 #1
0 1341

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Colin Steadman | last post by:
I'm using the function copied below to authenticate users in LDAP before allowing them onto our intranet site. This works great! But what I'd like to do now is use the LDAP connection it creates to...
1
by: Andrew | last post by:
Hey all, Working on revamping our Intranet here and making use of the LDPA, Active Directory, Directory Services, etc. that .Net provides. I am still fairly new on this subject, so the problem...
1
by: Alstersjo | last post by:
Hi I am trying to develop an web application that should use netsh dhcp to show information about our dhcp scope. The problem is that our dhcp server is different from our IIS (iis6). I am trying...
3
by: Granger Godbold | last post by:
I've found a solution to this that I think I like, but I thought it wise to put it out for all to see so people could punch holes in it as they wished. (Is there a better way?) I want a page in...
0
by: Grey | last post by:
Dear all I have ASP.NET application running on Windows 2000 server, IIS 5.0. This application is need to use "Impersonation" setting in the web.config to connect to the Novell file server for...
3
by: Steve Winter | last post by:
Hi, We have a number of websites running on an IIS6 server all running under their own seperate Anonymous Web account and ASP.Net is configured to Impersonate this account for each site for file...
15
by: Patrick | last post by:
I set my web.config as follows: <authentication mode="Windows" /> <identity impersonate="true" /> Logon to my ASP.NET website as a user who can authenticate to the target database. 1) Works...
1
by: Patrick | last post by:
I have an ASP.NET web service whose Web.Config is set to use impersonation <authentication mode="Windows" /> <identity impersonate="true" /> Within a Web Method, I want to use...
0
by: Brian | last post by:
Greetings! I'm trying to find a good place to call SqlCacheDependency.Start() and I'm running into some issues. I know this isn't a SQL forum, but this seems more like an ASP.NET lifetime...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.