aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-netlogon.c
AgeCommit message (Collapse)AuthorFilesLines
2002-09-28From Luke Howard: Bugfix for one NETLOGON commandsahlberg1-37/+51
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6348 f5534014-38df-0310-8fa8-9805f1628bb7
2002-09-15From Luke Howard: Small fix for NETLOGON: LogonGetDomainInfosahlberg1-3/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6297 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-28Removed trailing whitespaces from .h and .c files using thejmayer1-121/+121
winapi_cleanup tool written by Patrik Stridvall for the wine project. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6117 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-27From Luke H, a new function name and name of some structures/fields used by ↵sahlberg1-116/+39
that function. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6094 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-18Changed two ulong REF pointers to just calle the uint32 dissectorsahlberg1-7/+5
directly instead of through a top level ref pointer and changed the hf field to the proper one. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6010 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-18Fix some incorrect poitner types. From Jean-Francois Micouleausahlberg1-9/+9
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6009 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-17Added new function name LogonSamLogonExsahlberg1-7/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6004 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-17Fixed incorrect NDR pointer type in Authenticate3sahlberg1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6003 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-16Convert some of the all caps names to more friendly names.tpot1-49/+49
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6002 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-11Changed some incorrect pointer types. MS interfaces seems never to use PTRsahlberg1-57/+57
pointers. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5978 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-04Some more function updatessahlberg1-145/+191
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5948 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-03Updated LogonControl2 and ServerAuthenticate2 functionssahlberg1-158/+166
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5935 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-10The time stamps in credentials, at least, sometimes appear to beguy1-2/+22
UNIX-style "time_t" values (seconds since January 1, 1970, 00:00:00 GMT - yes, GMT, not local time as in UTIME values). They also appear to require 4-byte alignment. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5855 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-09Updated GetDCName LogonControl and GetAnyDCNamesahlberg1-287/+244
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5845 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-08Updated ACCOUNTDELTAS and ACCOUNTSYNC functionssahlberg1-192/+240
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5841 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-08Update of DATABASESYNC functionsahlberg1-59/+75
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5840 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-07Update for NetrDatabaseDeltas function.sahlberg1-249/+285
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5837 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-07Added the final two cases for the DELTA_UNION union. Fixed up DELTA_UNION.sahlberg1-204/+362
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5836 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-07Updated DELTA_TRUSTED_DOMAINS and DELTA_ACCOUNTSsahlberg1-166/+232
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5835 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-07Updated DELTA_ALIAS_MEMBER and DELTA_POLICYsahlberg1-229/+251
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5834 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-07Updated DELTA_GROUP_MEMBER and DELTA_ALIAS structures.sahlberg1-177/+154
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5833 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-07Tiny DELTA_RENAME_USER and DELTA_RENAME_ALIAS updatesahlberg1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5832 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-07DELTA_RENAME_GROUP updatesahlberg1-59/+63
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5831 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-07Verified and changed name of DELTA_GROUP dissector.sahlberg1-63/+69
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5830 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-07Renamed SAM_DOMAIN_INFO into DELTA_DOMAN.sahlberg1-80/+121
Added names for all structure fields and fixed up bottom half of the structure which was completely broken and wrong. Added IDL definition for this structure. Implementors may want to look at it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5829 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-06NETLOGON update.sahlberg1-134/+228
Changed the name of SAM_ACCOUNT_INFO to the real name : DELTA_USER also fixed some bugs in this structure. Surprised that ethereal could dissect this structure at all previously since the structure description was broken. Pure luck I guess. Other implementors of NETLOGON would benefit from looking at ethereal source in the future since it seems the public IDL definitions for this interface is very buggy. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5823 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-05Fixed stupid bug I added when updating a structure preparing for the ↵sahlberg1-26/+21
rewrite/update. Fixed some other buglets as well at the same time. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5820 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-02More NETLOGON updatessahlberg1-134/+146
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5814 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-02More NETLOGON updatessahlberg1-138/+169
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5813 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-01tiny netlogon updatesahlberg1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5808 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-01Update to NETLOGON dissectorsahlberg1-631/+822
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5807 f5534014-38df-0310-8fa8-9805f1628bb7
2002-06-30NETLOGON updatesahlberg1-60/+70
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5804 f5534014-38df-0310-8fa8-9805f1628bb7
2002-06-30First checkin for NETLOGON cleanupsahlberg1-137/+212
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5803 f5534014-38df-0310-8fa8-9805f1628bb7
2002-06-24Change each DCERPC dissector to pass in a hf value on initialisationtpot1-2/+53
for a value_string that corresponds to that dissectors opnums. Pass in -1 if no such table is available. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5749 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-31Removed some trailing commas from various DCERPC dissectors.tpot1-4/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5604 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-10From Joerg Mayer: make a pile of stuff not used outside one source fileguy1-2/+2
static, and add a new "packet-data.h" to declare "proto_data". Display escape sequences in octal in the IAPP dissector, as is now done in the RADIUS dissector. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5441 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-04From Joerg Mayer: mark unused arguments as such.guy1-7/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5390 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-03Added some new discovered names for some NETLOGON functionssahlberg1-41/+41
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5370 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-29Removal (or, at least, #ifdeffing out) of unused variables andguy1-10/+5
functions, from David Frascone. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5288 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-20Dissect ntstatus codes instead of uint32 for response packets.tpot1-85/+105
Display pretty names in COL_INFO for commonly used functions (RequestChallenge, Auth2, SamLogon). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5207 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-18Add a "proto_register_dcerpc_smb()" which registers ett_ values forguy1-12/+1
"packet-dcerpc-nt.c", and registers "dcerpc_smb_init()" as an initialization routine. Take the ett_ registration out of the latter routine, and also take out the "do this only once" stuff. Get rid of the initialization routines for netlogon, samr, and spoolss; they just call "dcerpc_smb_init()", which is now an initialization routine of its own. The policy hash initialization should be done before every capture, so it should be done in an initialization routine, and should not do any "do this only once" stuff. It should also be called only once before every capture, rather than 3 times. The ett_ initialization should, however, be done at the same time all other ett_ initialization is done - at protocol registration time - so it should be done in a "proto_register_" routine. This fixes a bug I saw wherein 1) the tree for Unicode strings was open by default and 2) if you closed one and then exited, Ethereal would crash. The problem is that "proto_register_subtree_array()" doesn't expand the array, it just bumps the number of registered ett_ values; the array is allocated in "proto_init()". As such, if you register ett_ values with "proto_register_subtree_array()" *after* "proto_init()" is called - and, even for the first capture, initialization routines are called after "proto_init()" is called - you will get ett_ numbers that go past the number of elements in the array. Move the declaration of "ett_nt_unicode_string" to "packet-dcerpc-nt.h", as it's exported from "packet-dcerpc-nt.c". Get rid of the declaration of "dcerpc_smb_init()" in "packet-dcerpc-nt.h", and make it static, as it's no longer called from outside "packet-dcerpc-nt.c". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5196 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-17Remove some temporary functions from NETLOGON now that the real functionssahlberg1-107/+2
exist in LSA. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5183 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-17LSA dissector updates. Adds a lot of LSA functions to the dissector.sahlberg1-11/+11
Also export dissect-nt-GUID() from netlogon since this structure is common to other interfaces as well. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5181 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-17Use policy handle hash code in DCERPC/SMB SAMR dissector.tpot1-4/+14
Start to move some common stuff into packet-dcerpc-nt.[ch] git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5176 f5534014-38df-0310-8fa8-9805f1628bb7
2002-03-24Fix "dissect_ndr_nt_UNICODE_STRING_str()" so that the "di->levels" valueguy1-80/+96
is decremented after every level is appended to, so that it correctly specifies the number of levels up the tree to which to append stuff. Fix some arguments to various printing routines to specify the correct level. This includes making "dissect_ndr_nt_UNICODE_STRING()" add 1 to the level argument it's passed before passing it on to "dissect_ndr_pointer()". Add a "netlogon_dissect_UNICODE_STRING()" routine to put the fields of a bunch of NDR_POINTER_REF UNICODE_STRING values into subtrees. Fix the labels passed as arguments in a bunch of "dissect_ndr_pointer()" calls. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5011 f5534014-38df-0310-8fa8-9805f1628bb7
2002-03-17Some minor bugfixes for netlogonsahlberg1-6/+19
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4960 f5534014-38df-0310-8fa8-9805f1628bb7
2002-03-14Added a value_string for the countreis which have their MS contry code listedsahlberg1-2/+2
at www.unicode.org and made samr and netlogon use it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4943 f5534014-38df-0310-8fa8-9805f1628bb7
2002-03-14hf_netlogon_code did not have an hf_[] entry.sahlberg1-11/+5
some cruft removed from LSA_SECURITY_DESCRIPTOR that is not used anymore since we call the dissector in packet-smb.c git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4942 f5534014-38df-0310-8fa8-9805f1628bb7
2002-03-14Fix a typo.guy1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4941 f5534014-38df-0310-8fa8-9805f1628bb7
2002-03-13Make LSA_SECURITY_DESCRIPTOR dissector call dissect_nt_sec_desc()sahlberg1-3/+8
instead of just displaying it as some hex string. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4937 f5534014-38df-0310-8fa8-9805f1628bb7