internal override void SetProtocolOp(Asn1ProtocolOp op)
 {
     op.BindResponse = new Asn1BindResponse
     {
         ResultCode        = ResultCode,
         MatchedDN         = MatchedDN.GetBytes(),
         DiagnosticMessage = DiagnosticMessage.LdapString(),
         Referral          = this.GetReferrals(Referrals),
         ServerSaslCreds   = ServerSaslCreds
     };
 }
        internal override void SetProtocolOp(Asn1ProtocolOp op)
        {
            var asn = new Asn1LDAPResult
            {
                ResultCode        = ResultCode,
                MatchedDN         = MatchedDN.GetBytes(),
                DiagnosticMessage = DiagnosticMessage.LdapString(),
                Referral          = this.GetReferrals(Referrals),
            };

            SetProtocolOp(op, asn);
        }
Exemple #3
0
 internal override void SetProtocolOp(Asn1ProtocolOp op)
 {
     op.ExtendedResponse = new Asn1ExtendedResponse
     {
         ResultCode        = ResultCode,
         MatchedDN         = MatchedDN.GetBytes(),
         DiagnosticMessage = DiagnosticMessage.LdapString(),
         Referral          = this.GetReferrals(Referrals),
         Value             = Value
     };
     if (Name != null)
     {
         op.ExtendedResponse.Name = Name.NumericOid();
     }
 }