Skip to content

Commit 811aad8

Browse files
committed
Add request app ID, document relevant spec sections
1 parent 14b2d14 commit 811aad8

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

lib/net/ldap/pdu.rb

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,37 @@
1818
# well with our approach.
1919
#
2020
# Currently, we only support controls on SearchResult.
21+
#
22+
# http://tools.ietf.org/html/rfc4511#section-4.1.1
23+
# http://tools.ietf.org/html/rfc4511#section-4.1.9
2124
class Net::LDAP::PDU
2225
class Error < RuntimeError; end
2326

24-
##
25-
# This message packet is a bind request.
27+
# http://tools.ietf.org/html/rfc4511#section-4.2
2628
BindRequest = 0
29+
# http://tools.ietf.org/html/rfc4511#section-4.2.2
2730
BindResult = 1
31+
# http://tools.ietf.org/html/rfc4511#section-4.3
2832
UnbindRequest = 2
33+
# http://tools.ietf.org/html/rfc4511#section-4.5.1
2934
SearchRequest = 3
35+
# http://tools.ietf.org/html/rfc4511#section-4.5.2
3036
SearchReturnedData = 4
3137
SearchResult = 5
38+
SearchResultReferral = 19
39+
# http://tools.ietf.org/html/rfc4511#section-4.6
40+
ModifyRequest = 6
3241
ModifyResponse = 7
42+
# http://tools.ietf.org/html/rfc4511#section-4.7
43+
AddRequest = 8
3344
AddResponse = 9
45+
# http://tools.ietf.org/html/rfc4511#section-4.8
46+
DeleteRequest = 10
3447
DeleteResponse = 11
48+
# http://tools.ietf.org/html/rfc4511#section-4.9
49+
ModifyRDNRequest = 12
3550
ModifyRDNResponse = 13
36-
SearchResultReferral = 19
51+
# http://tools.ietf.org/html/rfc4511#section-4.12
3752
ExtendedRequest = 23
3853
ExtendedResponse = 24
3954

0 commit comments

Comments
 (0)