Directory Programming .NET

Active Directory and ADAM programming support for .NET developers
Welcome to Directory Programming .NET Sign in | Join | Help

Re: System.DirectoryServices.LdapSessionOptions.Signing throws an exception

  •  01-15-2010, 2:00 AM

    Re: System.DirectoryServices.LdapSessionOptions.Signing throws an exception

    You're absolutely right, I'm trying to enable a case where it cannot be used, in this case combined with SSL (SecureSocketLayer = true, SSL is actually not set on Active Directory Side though). In that particular case in my environment a System.DirectoryServices.Protocols.DirectoryOperationException exception is thrown. The content is shown below :

    <ExceptionTypeName>System.DirectoryServices.Protocols.DirectoryOperationException</ExceptionTypeName>
          <Message>The server cannot handle directory requests.</Message>
          <Source>System.DirectoryServices.Protocols</Source>
          <StackTrace>   at System.DirectoryServices.Protocols.ErrorChecking.CheckAndSetLdapError(Int32 error)
       at System.DirectoryServices.Protocols.LdapSessionOptions.SetIntValueHelper(LdapOption option, Int32 value)
    </StackTrace>
    <HelpLink />
    <TargetSite>Void CheckAndSetLdapError(Int32)</TargetSite>
    <DirectoryOperationException.Response>(null)</DirectoryOperationException.Response>

    Not very useful as is.

    TIA

View Complete Thread