aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ncp2222.py
diff options
context:
space:
mode:
authorGreg Morris <GMORRIS@novell.com>2012-09-27 17:47:10 +0000
committerGreg Morris <GMORRIS@novell.com>2012-09-27 17:47:10 +0000
commit247040590d33bd8c322682d407e7e23a2d7cbc65 (patch)
tree21a50763176e83951a2f07a1e345d48501cbff9f /tools/ncp2222.py
parent99d0404b737d7779f8bbd46aa8626a3a8a09cd0a (diff)
Added additional server information in NCP 23/17 reply structure for OES Linux.
Fixed GTKHash table being overwritten when number of NCP packets exceeds 255. Sequence numbers wrap so this was causing the request value table to be overwritten and subsequent malformed NCP packets. Fixed buid_expert_data for file open reporting to correctly convert to Hex value so proper lookup in val table will succeed. Added additional OES Linux values to build_expert_data for server entries. svn path=/trunk/; revision=45177
Diffstat (limited to 'tools/ncp2222.py')
-rwxr-xr-xtools/ncp2222.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/tools/ncp2222.py b/tools/ncp2222.py
index 2b0ae2dacd..83837da9e8 100755
--- a/tools/ncp2222.py
+++ b/tools/ncp2222.py
@@ -3198,6 +3198,16 @@ OCRetFlags = val_string8("o_c_ret_flags", "Open Create Return Flags", [
[ 0x00, "No CallBack has been registered (No Op-Lock)" ],
[ 0x01, "Request has been registered for CallBack (Op-Lock)" ],
])
+OESServer = val_string8("oes_server", "Type of Novell Server", [
+ [ 0x00, "NetWare" ],
+ [ 0x01, "OES" ],
+])
+
+OESLinuxOrNetWare = val_string8("oeslinux_or_netware", "Kernel Type", [
+ [ 0x00, "NetWare" ],
+ [ 0x01, "Linux" ],
+])
+
OldestDeletedFileAgeInTicks = uint32("oldest_deleted_file_age_in_ticks", "Oldest Deleted File Age in Ticks")
OldFileName = bytes("old_file_name", "Old File Name", 15)
OldFileSize = uint32("old_file_size", "Old File Size")
@@ -9578,7 +9588,9 @@ def define_ncp2222():
rec( 82, 2, ProductRevisionVersion, BE ),
rec( 84, 1, OSLanguageID, LE ),
rec( 85, 1, SixtyFourBitOffsetsSupportedFlag ),
- rec( 86, 50, Reserved50 ),
+ rec( 86, 1, OESServer ),
+ rec( 87, 1, OESLinuxOrNetWare ),
+ rec( 88, 48, Reserved48 ),
])
pkt.CompletionCodes([0x0000, 0x9600])
# 2222/1712, 23/18