Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 13th, 2005, 09:23 AM
Registered User
 
Join Date: Nov 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default web service+active directory+authentication

Hello, im working on a web service, which looks into active directory and return datas.I have this:
string path="LDAP://xxxx";
DirectoryEntry de=new DirectoryEntry(path);
This works with windows application, but web service crashes. After change:
DirectoryEntry de=new DirectoryEntry(path,user,pass);
web service works, but i dont want to hardcode user/pass...Is any other way to do this?To let web service read something from AD without using usernames and passwords?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Active Directory Authentication planeswalk General .NET 2 October 27th, 2004 09:43 AM
active directory user Authentication problem sara_1981 General .NET 0 April 24th, 2004 01:58 AM
NT Authentication without Active Directory reyboy SQL Server 2000 0 October 15th, 2003 03:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.