Re: Problem with directoryServices and authentication
- From: "Willy Denoyette [MVP]" <willy.denoyette@xxxxxxxxxx>
- Date: Mon, 6 Mar 2006 10:20:46 +0100
<turbon@xxxxxxxxx> wrote in message
news:1141635595.544391.39720@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
| Hello,
| I am writing code, which will copy webServices from one IIS 6.0
| webserver to another and using DirentoryServices to achieve this
| purpose. And I have problems with authentication - I get an error
| whenever I try to read properties of DirectoryEntry object. I had same
| problems when I was using WMI, but there setting
| ConnectionOptions co = new ConnectionOptions();
| co.Authentication = AuthenticationLevel.PacketPrivacy;
| solved the problem.
| So perhaps a question would be - how can I set AuthenticationLevel to
| PacketPrivacy, when I am using DirectoryServices?
|
Check the AuthenticationTypes enum in System.DirectoryServices. If you are
binding to the IIS metadata you need at least
AuthenticationTypes.Encryption.
Willy.
.
- Follow-Ups:
- Re: Problem with directoryServices and authentication
- From: LT_Hassan
- Re: Problem with directoryServices and authentication
- References:
- Problem with directoryServices and authentication
- From: turbon
- Problem with directoryServices and authentication
- Prev by Date: Problem with directoryServices and authentication
- Next by Date: Re: Where is the delegate?
- Previous by thread: Problem with directoryServices and authentication
- Next by thread: Re: Problem with directoryServices and authentication
- Index(es):
Relevant Pages
|