RFC Errata
RFC 5805, "Lightweight Directory Access Protocol (LDAP) Transactions", March 2010
Source of RFC: INDEPENDENT
Errata ID: 5246
Status: Reported
Type: Technical
Publication Format(s) : TEXT
Reported By: Emmanuel Lecharny
Date Reported: 2018-01-28
Section 2.3 says:
txnEndRes ::= SEQUENCE {
messageID MessageID OPTIONAL,
-- msgid associated with non-success resultCode
updatesControls SEQUENCE OF updateControls SEQUENCE {
messageID MessageID,
-- msgid associated with controls
controls Controls
} OPTIONAL
}
It should say:
TxnEndRes ::= SEQUENCE {
messageID MessageID OPTIONAL,
-- msgid associated with non-success resultCode
updatesControls SEQUENCE OF updateControl SEQUENCE {
messageID MessageID,
-- msgid associated with controls
controls Controls
} OPTIONAL
}
UpdateControl SEQUENCE {
messageID MessageID,
-- msgid associated with controls
controls Controls
}
Notes:
The type after SEQUENCE OF should be different than the name used before SEQUENCE OF, to avoid confusion.
'txnEndRes' should also be 'TxnEndRes' as it's a typeReference, so it should start with a upper case, accordingly to the ASN.1 grammar specification
