mirror of
https://github.com/samba-team/samba.git
synced 2025-01-07 17:18:11 +03:00
fd628e7ae4
This demonstrates the difference between NDR32 and NDR64 metze
38 lines
756 B
Plaintext
38 lines
756 B
Plaintext
Wait for setup of server threads
|
|
|
|
Test NDR32
|
|
|
|
ndr32: disable NDR64
|
|
|
|
ndr32:in => out: ptype[request] flen[32] plen[8] ahint[8]
|
|
|
|
[000] 01 01 00 00 43 00 00 00 ....C...
|
|
|
|
srv_midltests_fn: Start
|
|
srv_midltests_fn: End
|
|
|
|
ndr32:out => in: ptype[response] flen[28] plen[4] ahint[4]
|
|
|
|
[000] 54 72 75 65 True
|
|
|
|
NDRTcpThread[ndr32] stop
|
|
|
|
Test NDR64
|
|
|
|
ndr64: got NDR64
|
|
|
|
ndr64:in => out: ptype[request] flen[36] plen[12] ahint[12]
|
|
|
|
[000] 01 00 00 00 01 00 00 00 43 00 00 00 ........ C...
|
|
|
|
srv_midltests_fn: Start
|
|
srv_midltests_fn: End
|
|
|
|
ndr64:out => in: ptype[response] flen[28] plen[4] ahint[4]
|
|
|
|
[000] 54 72 75 65 True
|
|
|
|
NDRTcpThread[ndr64] stop
|
|
|
|
Test OK
|