| # |
| # Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
| # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
| # |
| # This code is free software; you can redistribute it and/or modify it |
| # under the terms of the GNU General Public License version 2 only, as |
| # published by the Free Software Foundation. |
| # |
| # This code is distributed in the hope that it will be useful, but WITHOUT |
| # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| # version 2 for more details (a copy is included in the LICENSE file that |
| # accompanied this code). |
| # |
| # You should have received a copy of the GNU General Public License version |
| # 2 along with this work; if not, write to the Free Software Foundation, |
| # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
| # |
| # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
| # or visit www.oracle.com if you need additional information or have any |
| # questions. |
| # |
| |
| ################################################################################ |
| # Capture file for ConnectWithFoo.java |
| # |
| # NOTE: This hexadecimal dump of LDAP protocol messages was generated by |
| # running the ConnectWithFoo application program against a real LDAP |
| # server and setting the JNDI/LDAP environment property: |
| # com.sun.jndi.ldap.trace.ber to activate LDAP message tracing. |
| # |
| # (The ASN.1 annotations were generated separately by the dumpasn1 |
| # utility and added only for clarity.) |
| # |
| ################################################################################ |
| |
| # LDAP BindRequest: |
| # |
| # 0 35: SEQUENCE { |
| # 2 1: INTEGER 1 |
| # 5 7: [APPLICATION 0] { |
| # 7 1: INTEGER 3 |
| # 10 0: OCTET STRING |
| # 12 0: [0] |
| # : } |
| # 14 21: [0] { |
| # 16 19: SEQUENCE { |
| # 18 17: OCTET STRING '1.2.3.4.5.6.7.8.9' |
| # : } |
| # : } |
| # : } |
| # |
| 0000: 30 23 02 01 01 60 07 02 01 03 04 00 80 00 A0 15 0#...`.......... |
| 0010: 30 13 04 11 31 2E 32 2E 33 2E 34 2E 35 2E 36 2E 0...1.2.3.4.5.6. |
| 0020: 37 2E 38 2E 39 7.8.9 |
| |
| # LDAP BindResponse: |
| # |
| # 0 12: SEQUENCE { |
| # 2 1: INTEGER 1 |
| # 5 7: [APPLICATION 1] { |
| # 7 1: ENUMERATED 0 |
| # 10 0: OCTET STRING |
| # 12 0: OCTET STRING |
| # : } |
| # : } |
| # |
| 0000: 30 0C 02 01 01 61 07 0A 01 00 04 00 04 00 0....a........ |
| |
| # LDAP UnbindRequest: |
| # |
| # 0 34: SEQUENCE { |
| # 2 1: INTEGER 2 |
| # 5 0: [APPLICATION 2] |
| # 7 27: [0] { |
| # 9 25: SEQUENCE { |
| # 11 23: OCTET STRING '2.16.840.1.113730.3.4.2' |
| # : } |
| # : } |
| # : } |
| # |
| 0000: 30 22 02 01 02 42 00 A0 1B 30 19 04 17 32 2E 31 0"...B...0...2.1 |
| 0010: 36 2E 38 34 30 2E 31 2E 31 31 33 37 33 30 2E 33 6.840.1.113730.3 |
| 0020: 2E 34 2E 32 .4.2 |