Re: Problem with directoryServices and authentication




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



.



Relevant Pages

  • Re: HELP PLEASE The request failed with HTTP status 401: Access Denied.
    ... Web Security: Part 2: Introducing the Web Application Manager, Client ... Authentication Options, and Process Isolation ... It introduces the Web Application Manager in IIS that ... logon session, which is dangerous. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: Can no longer access ActiveSync
    ... OMA and Exchange/Exchange-OMA virtual directory. ... Please verify Authentication settings by the following steps. ... Open IIS Manager ... issue may be caused by the Exchange attribute of original user account. ...
    (microsoft.public.exchange.admin)
  • Re: Basic Authentication fails with Error 401.2 where Integrated s
    ... I didn't realise the Web Sites folder in IIS manager threw up a global ... sure that Basic Authentication is allowed to function on your server. ... ACCOUNTNAME, this is the account that I am trying to grant access to: ... Account: COMPUTERNAME\ACCOUNTNAME Access type: FULL ...
    (microsoft.public.inetserver.iis.security)
  • Re: SBS2k3 and activesync over the air
    ... the Exchweb virtual directory. ... ONLY 'Basic authentication' is selected ... please restart your IIS service and test your issue again. ... Regarding ActiveSync issue, support code 0x85010014 means error HTTP 500. ...
    (microsoft.public.windows.server.sbs)
  • Re: How can I set "remote_user" in ISAPI filter/Extension?
    ... HSE_REQ_EXEC_URL (ISAPI Extension functionality) is able to change the ... - ISAPI Filter requires Basic authentication configured, ... I have checked the new feature of IIS 6 Extension. ... No. Server Variables are read-only entities representative of the ...
    (microsoft.public.inetserver.iis.security)