Active Directory Authentication and Querying at the same time
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > Active Directory Authentication and Querying at the same time




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Active Directory Authentication and Querying at the same time  
Gonenc Ercan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-24-04 02:34 PM

Hi,

Well my problem is that I have an Intranet web site in an windows 2000
domain with an IIS 5.0 web server. I have Integrated Authentication checked
and all the others unchecked. If I am not missing a point what happens on
this setting is that, the user sends its credentials. web server contacts
the AD using kerberos and gets a Ticket Granting Ticket for the web server,
which enables the user to authenticate only to the web server. on my ASP
pages I want to also show the other users in an Organization Unit etc.. (in
other words i want to query AD). In theory i thought that by using
integrated Authentication I was actually using the browsers account while
querying the AD but i found out that it wasnt the case. When the
administrators disabled Anonymous Querying to AD my scripts stopped working
and I have lots of ASP scripts which gets Access denied errors. In my code I
am connecting with;

con.Open "ADs Provider" , "user", "password"

Although it seems that the password is authenticated (I have tried a wrong
password, this also gives Access Denied even if the anonymous querying of AD
is permitted) the querying is done through an different account. (apperantly
from the Event logs it seems that it is using the Local SYSTEM Account). I
have tried checking Anonymous Access and specifying the user for executing
ASP scripts with an domain account which has rights to query (from IIS
Configuration directory sec.) and it worked even when the Anonymous querying
is not permitted. But I cant do that since I need Integrated Authentication
enabled (to authenticate to the web server).  So is there a way to query the
AD with a specified user. isnt specifying the user in con.open as above
enough to do this? How will i specify the user to use while querying the
server.

If there are some unclear points I can provide more detail. Thanx in advance

Gonenc Ercan








[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:41 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register