Ejemplo n.º 1
0
 internal override void SetProtocolOp(Asn1ProtocolOp op)
 {
     op.BindResponse = new Asn1BindResponse
     {
         ResultCode        = ResultCode,
         MatchedDN         = MatchedDN.GetBytes(),
         DiagnosticMessage = DiagnosticMessage.LdapString(),
         Referral          = this.GetReferrals(Referrals),
         ServerSaslCreds   = ServerSaslCreds
     };
 }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 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();
     }
 }