> For some reason, when I move my browser client to another machine, the > DirectorySearcher.FindOne method returns null. I know the Directory > entries are there. If I start a cmd prompt on the other machine and run > the W2K LDP.EXE utility, I see the user and the properties I want.
If it works from one computer and not another, the first thing I would look at is if both are successfully authenticating with Kerberos authentication instead of NTLM. To access the AD as the impersonated user, the web server requires full network credentials. This can be supplied by basic auth, as both username and password are present, or by kerberos which will auththenticate behind the scenes using tokens. I would download Kerbtray from microsoft and compare your tickets. I have had some situations where we could not get kerberos to work, even though the environments seem the same. In some cases wiping out the users profile and starting over solved the problem, but that's not a very satisfying solution. =================================== This list is hosted by DevelopMentor� http://www.develop.com >>> Error in line 16 of ADVANCED-DOTNET.MAILTPL: unknown formatting command <<< -> .NET courses you may be interested in: <-
