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?
|