This is fun, write a small bit of code in VC++, and I get another one
authorsharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 30 Apr 2003 23:31:51 +0000 (23:31 +0000)
committersharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 30 Apr 2003 23:31:51 +0000 (23:31 +0000)
of the WKSSVC RPCs. Here we have NetWkstaSetInfo, but we don't know the
info levels as yet. However, it looks like lmwksta.h has all the info we
need.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7617 f5534014-38df-0310-8fa8-9805f1628bb7

packet-dcerpc-wkssvc.c
packet-dcerpc-wkssvc.h

index d92d770b122191ddf222250533523542a7bbd435..5e905f582c76ccd1a88e6f574829c45994833f41 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2001, Tim Potter <tpot@samba.org>
  * Copyright 2003, Richard Sharpe <rsharpe@richardsharpe.com>
  *
- * $Id: packet-dcerpc-wkssvc.c,v 1.18 2003/04/30 22:00:22 sharpe Exp $
+ * $Id: packet-dcerpc-wkssvc.c,v 1.19 2003/04/30 23:31:51 sharpe Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -655,6 +655,9 @@ static dcerpc_sub_dissector dcerpc_wkssvc_dissectors[] = {
         { WKS_NetWkstaGetInfo, "NetWkstaGetInfo", 
          wkssvc_dissect_netwkstagetinfo_rqst, 
          wkssvc_dissect_netwkstagetinfo_reply},
+       { WKS_NetWkstaSetInfo, "NetWkstaSetInfo",
+         NULL,
+         NULL},
         { WKS_NetWkstaEnumUsers, "NetWkstaEnumUsers",
          wkssvc_dissect_netwkstaenumusers_rqst,
          wkssvc_dissect_netwkstaenumusers_reply},
index 1a86e141027ec5a45d0026ba46d2aa0c8b82a9b8..ca2f7b2334e9b7dc2dda271add4b54a6ab8deaed 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2001, Tim Potter <tpot@samba.org>
  * Copyright 2002, Richard Sharpe <rsharpe@richardsharpe.org>
  *
- * $Id: packet-dcerpc-wkssvc.h,v 1.5 2003/04/29 21:06:27 sharpe Exp $
+ * $Id: packet-dcerpc-wkssvc.h,v 1.6 2003/04/30 23:31:51 sharpe Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -30,5 +30,6 @@
 /* Functions available on the WKSSVC pipe.  From Samba, include/rpc_wkssvc.h */
 
 #define WKS_NetWkstaGetInfo    0x00
+#define WKS_NetWkstaSetInfo    0x01
 #define WKS_NetWkstaEnumUsers  0x02
 #endif /* packet-dcerpc-wkssvc.h */