aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-srvsvc.c
AgeCommit message (Collapse)AuthorFilesLines
2004-01-19char *drep -> guint8 *drepJörg Mayer1-248/+248
svn path=/trunk/; revision=9735
2003-11-21From Eric Wedel: fix dissection of NetServerDiskEnum reply.Guy Harris1-1/+12
svn path=/trunk/; revision=9060
2003-11-20#if 0-out some no-longer-used routines.Guy Harris1-6/+12
Use #if 0/#endif rather than comments to remove the code that used to refer to those routines - it's a bit more robust in the presence of comments (there aren't currently any, but, just in case somebody adds them...). svn path=/trunk/; revision=9050
2003-11-20Clean up some IDL and remove some structures that Windows of all flavorsRichard Sharpe1-16/+31
does not understand. SHARE_INFO_1004, 1005, 1006, 1007, and 1501 seem not to be understood by any, and it can screw up dissections. svn path=/trunk/; revision=9044
2003-09-27From Jean-Baptiste Marchand: add names of DFS-related operations inGuy Harris1-8/+30
SRVSVC. svn path=/trunk/; revision=8553
2003-08-04Guy suggested that the dcerpc opnum value_string code could be simplifiedTim Potter1-9/+1
somewhat. Now the dynamic initialisation of the value_string is contained in the value_string_from_subdissectors() function instead of being distributed amongst the dcerpc dissectors. svn path=/trunk/; revision=8123
2003-06-26Dynamically create DCERPC opnum value_strings from the subdissectorTim Potter1-49/+10
list rather than duplicating this information in the dissector. Some of the opnum strings were starting to get out of date as developers forgot to update the information in both places. svn path=/trunk/; revision=7936
2003-06-05In the policy handle hashing, handle more than one policy handle havingGuy Harris1-4/+4
the same value, as an open might return handle XXX, handle XXX might then be closed, and a subsequent handle might return handle XXX, and we want to keep the two handles distinct to avoid, for example, displaying handles closed before they're opened. In policy handle open replies, store the handle name only if the operation succeeded. We can now do that without parsing the packet twice. Have "dissect_nt_policy_hnd()" optionally return, through a pointer, the protocol tree item for the handle, so that its caller can decorate the item with the name of the handle - that's done on opens, where we do that only if the operation succeeds. svn path=/trunk/; revision=7787
2003-05-15Move the value_string of platform ID values to "packet-dcerpc-nt.c", andGuy Harris1-13/+1
declare it in "packet-dcerpc-nt.h", as it's used both by the srvsvc and wkssvc dissectors. svn path=/trunk/; revision=7672
2003-04-27Not all strings in MS interfaces are unicode.Ronnie Sahlberg1-4/+4
Rename cb_str_postprocess which handles unicode strings to cb_wstr_postprocess. Add cb_str_postprocess which handles ASCII strings svn path=/trunk/; revision=7572
2003-04-26Finish the dissection of what we know here. My, Ronnie has made this easy.Richard Sharpe1-2/+5
svn path=/trunk/; revision=7568
2003-02-17Dissect the server type bitfield in NetServerGetInfo for SERVER_INFO_101Tim Potter1-12/+6
and SERVER_INFO_102. Modify all callers to use the new interface. svn path=/trunk/; revision=7158
2003-02-07Rename "dissect_ndr_char_string()" and "dissect_ndr_wchar_string()" toGuy Harris1-4/+4
"dissect_ndr_char_cvstring()" and "dissect_ndr_wchar_cvstring()", to indicate that they're for conformant varying strings. Rename "dissect_ndr_character_array()" to "dissect_ndr_cvstring()", to indicate that it's for conformant varying strings. svn path=/trunk/; revision=7096
2003-02-07Rename "dissect_ndr_char_array" and "disect_ndr_wchar_array" toGuy Harris1-4/+4
"dissect_ndr_char_string" and "dissect_ndr_wchar_string", to make it clearer what it does. svn path=/trunk/; revision=7095
2003-02-03Convert to new DCERPC string handling functions. There are still someTim Potter1-6/+12
cosmetic bugs to work out though. svn path=/trunk/; revision=7069
2003-01-31Top-level share entries are now decorated with the share name; put aGuy Harris1-3/+3
colon after "Share:". svn path=/trunk/; revision=7057
2003-01-30Generalize "cb_str_postprocess()" to allow the string to be appended toGuy Harris1-140/+140
items N levels up from the item being processed, and use that to decorate the tree as it was decorated before. svn path=/trunk/; revision=7043
2003-01-30Factor out srvsvc_dissect_pointer_UNICODE_STRING() and replace it withTim Potter1-418/+253
calls to our dissect_ndr_str_pointer_item() helper function. svn path=/trunk/; revision=7039
2003-01-28Convert dissector to callback based version of dissect_ndr_pointer().Tim Potter1-571/+332
Strings that used to call with levels != -1 should call the callback helper which will append the string to the pointer item. svn path=/trunk/; revision=7017
2003-01-11Convert some incidental prs_* calls to dissect_dcerpc_*Tim Potter1-39/+7
equivalents. svn path=/trunk/; revision=6898
2002-09-05The error codes returned by srvsvc rpcs are actually DOS error codes, not NT ↵Tim Potter1-45/+45
codes. svn path=/trunk/; revision=6186
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-943/+943
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
2002-08-21Added a few new infromation levels for the share structs basedRonnie Sahlberg1-1/+294
on samba sources. svn path=/trunk/; revision=6044
2002-06-24Put in a note about the result of a SRVSVC NetRemoteTOD call.Guy Harris1-1/+13
svn path=/trunk/; revision=5753
2002-06-24Whoops - compile fix for opnum value_string stuff.Tim Potter1-1/+48
svn path=/trunk/; revision=5750
2002-06-24Change each DCERPC dissector to pass in a hf value on initialisationTim Potter1-3/+6
for a value_string that corresponds to that dissectors opnums. Pass in -1 if no such table is available. svn path=/trunk/; revision=5749
2002-06-23Added last remaining reply dissectors for this interface.Ronnie Sahlberg1-29/+184
Im finished with this dissector for the time being so if anyone wants to prettify it, go ahead. The dissector should be fairly complete and includes the IDL definition. svn path=/trunk/; revision=5744
2002-06-23Added some more reply dissectorsRonnie Sahlberg1-72/+535
svn path=/trunk/; revision=5743
2002-06-22Note the routine that can dissect server type flags.Guy Harris1-3/+4
Fix a typo in a field name. svn path=/trunk/; revision=5740
2002-06-22Added some more reply packet dissectors.Ronnie Sahlberg1-47/+289
svn path=/trunk/; revision=5736
2002-06-22Added some reply dissectors.Ronnie Sahlberg1-15/+69
svn path=/trunk/; revision=5733
2002-06-21Added my name at the top of the fileRonnie Sahlberg1-1/+3
svn path=/trunk/; revision=5725
2002-06-21Added request dissection of functions NetrShareEnumSticky, ↵Ronnie Sahlberg1-8/+265
NetrShareDelStart, NetrShareDelCommit, NetrGetFileSecurity, NetrSetFileSecurity, NetrServerTransportAddEx and NetrServerSetServiceBits2 svn path=/trunk/; revision=5724
2002-06-21Added dissection of the requests to functions NetrRemoteTOD, ↵Ronnie Sahlberg1-51/+320
NetrServerSetServiceBits, NetrPathType, NetrPathCanonicalize, NetrPathCompare, NetrNameValidate, NetrNameCanonicalize and NetrNameCompare svn path=/trunk/; revision=5723
2002-06-21Added dissection of the requests to functions NetrServerDiskEnum, ↵Ronnie Sahlberg1-6/+516
NetrServerStatisticsGet, NetrServerTransportAdd, NetrServerTransportEnum and NetrServerTransportDel svn path=/trunk/; revision=5722
2002-06-20Added dissection of SERVER_INFO union and rewrote functions ↵Ronnie Sahlberg1-85/+2058
NetrServerGetInfo and added NetrServerSetInfo. svn path=/trunk/; revision=5714
2002-06-20Some infolevels for SERVER_INFO_UNIONRonnie Sahlberg1-81/+535
svn path=/trunk/; revision=5713
2002-06-19Added dissection of the request packets for the functions NetrShareSetInfo, ↵Ronnie Sahlberg1-6/+138
NetrShareDel, NetrShareDelSticky and NetrShareCheck svn path=/trunk/; revision=5705
2002-06-19Added/Rewrote dissection of NetrShareEnum NetrShareGetInfoRonnie Sahlberg1-369/+376
svn path=/trunk/; revision=5703
2002-06-18Added dissection of the request to NetrShareAddRonnie Sahlberg1-38/+330
svn path=/trunk/; revision=5698
2002-06-18Added dissection of the request packets for NetrSessionEnum and ↵Ronnie Sahlberg1-3/+531
NetrSessionDel functions. svn path=/trunk/; revision=5697
2002-06-17Added dissectors for the request packets of functions NetrConnectionEnum, ↵Ronnie Sahlberg1-5/+554
NetrFileEnum, NetrFileGetInfo and NetrFileClose svn path=/trunk/; revision=5693
2002-06-17Added dissection of the requests to functions NetrCharDevQGetInfo, ↵Ronnie Sahlberg1-11/+207
NetrCharDevQSetInfo, NetrCharDevQPurge and NetrCharDevQPurgeSelf svn path=/trunk/; revision=5692
2002-06-16Forgot again to remove test changes. Must update my testscripts so I dont ↵Ronnie Sahlberg1-2/+2
need this change anymore. svn path=/trunk/; revision=5685
2002-06-16Added dissectors for the requests for functions NetrCharDevGetInfo, ↵Ronnie Sahlberg1-12/+308
NetrCharDevControl, NetrCharDevQEnum. svn path=/trunk/; revision=5684
2002-06-16Forgot to remove one change only used for local testing from last checkinRonnie Sahlberg1-3/+2
svn path=/trunk/; revision=5681
2002-06-16Added dissection of the request for NetrCharDevEnum function.Ronnie Sahlberg1-17/+253
svn path=/trunk/; revision=5680
2002-06-16Changed one function name that was a duplicate.Ronnie Sahlberg1-2/+2
svn path=/trunk/; revision=5679
2002-06-15Added all missing function names.Ronnie Sahlberg1-27/+53
Changed all existing function names to match MS naming of these functions. svn path=/trunk/; revision=5671
2002-06-08Tweak some of the "levels" arguments to properly decorate the protocolGuy Harris1-5/+8
tree with share names. svn path=/trunk/; revision=5655