aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-netlogon.c
AgeCommit message (Collapse)AuthorFilesLines
2002-11-30Added some flags and value_Strings for netlogonRonnie Sahlberg1-18/+600
svn path=/trunk/; revision=6706
2002-11-29From Like H, update to NETLOGON. DSROLEGETPRIMARYDOMAININFO is actually ↵Ronnie Sahlberg1-22/+42
ENUMERATETRUSTEDDOMAINS svn path=/trunk/; revision=6705
2002-11-29From Luke H. Update to GetDomainInfoRonnie Sahlberg1-48/+69
svn path=/trunk/; revision=6704
2002-11-04Bugfix.Ronnie Sahlberg1-35/+11
Previous checkin did not make sense. We can not have a union without having the union case value stored as a separate variable or else the receiving side will not know how to decode the packet. Therefore it can not be a union at all. Instead we have a REF pointer to a ulong holding the number of elements, then a unique pointer to a conformant array of structures. Thus, the content of the reply packet for function_24 as well as dsrolegetprimarydomaininfo can not be [ref] PRIMARY_DOMAIN_INFO_EX_UNION *pdi; but instead MUST be long num_entries; [unique][size_is(num_entries)] PRIMARY_DOMAIN_INFO_EX *pdi; svn path=/trunk/; revision=6559
2002-11-04Bugfix for DSROLE_PRIMARY_DOMAIN_INFORonnie Sahlberg1-36/+40
svn path=/trunk/; revision=6558
2002-11-03Fix for Netlogon function 0x22 which used the wrong pointer type.Ronnie Sahlberg1-25/+13
Additional cleanups added when no longer nessecary to pass through two levels of pointers to get to the DOMAIN_CONTROLLER_INFO structure in the code. svn path=/trunk/; revision=6550
2002-10-15When registering a protocol, make sure there are no other protocols withGuy Harris1-2/+2
the same long name, short name, or filter name, and abort if there are. Fix the duplicate names that found (and another name error found while fixing one of those errors). svn path=/trunk/; revision=6425
2002-09-29Some changes to netlogon. function 0x1d is still not right but maybe we areRonnie Sahlberg1-114/+94
getting closer. from Luke H. svn path=/trunk/; revision=6353
2002-09-28From Luke Howard: Bugfix for one NETLOGON commandRonnie Sahlberg1-37/+51
svn path=/trunk/; revision=6348
2002-09-15From Luke Howard: Small fix for NETLOGON: LogonGetDomainInfoRonnie Sahlberg1-3/+5
svn path=/trunk/; revision=6297
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-121/+121
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
2002-08-27From Luke H, a new function name and name of some structures/fields used by ↵Ronnie Sahlberg1-116/+39
that function. svn path=/trunk/; revision=6094
2002-08-18Changed two ulong REF pointers to just calle the uint32 dissectorRonnie Sahlberg1-7/+5
directly instead of through a top level ref pointer and changed the hf field to the proper one. svn path=/trunk/; revision=6010
2002-08-18Fix some incorrect poitner types. From Jean-Francois MicouleauRonnie Sahlberg1-9/+9
svn path=/trunk/; revision=6009
2002-08-17Added new function name LogonSamLogonExRonnie Sahlberg1-7/+7
svn path=/trunk/; revision=6004
2002-08-17Fixed incorrect NDR pointer type in Authenticate3Ronnie Sahlberg1-2/+2
svn path=/trunk/; revision=6003
2002-08-16Convert some of the all caps names to more friendly names.Tim Potter1-49/+49
svn path=/trunk/; revision=6002
2002-08-11Changed some incorrect pointer types. MS interfaces seems never to use PTRRonnie Sahlberg1-57/+57
pointers. svn path=/trunk/; revision=5978
2002-08-04Some more function updatesRonnie Sahlberg1-145/+191
svn path=/trunk/; revision=5948
2002-08-03Updated LogonControl2 and ServerAuthenticate2 functionsRonnie Sahlberg1-158/+166
svn path=/trunk/; revision=5935
2002-07-10The time stamps in credentials, at least, sometimes appear to beGuy Harris1-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. svn path=/trunk/; revision=5855
2002-07-09Updated GetDCName LogonControl and GetAnyDCNameRonnie Sahlberg1-287/+244
svn path=/trunk/; revision=5845
2002-07-08Updated ACCOUNTDELTAS and ACCOUNTSYNC functionsRonnie Sahlberg1-192/+240
svn path=/trunk/; revision=5841
2002-07-08Update of DATABASESYNC functionRonnie Sahlberg1-59/+75
svn path=/trunk/; revision=5840
2002-07-07Update for NetrDatabaseDeltas function.Ronnie Sahlberg1-249/+285
svn path=/trunk/; revision=5837
2002-07-07Added the final two cases for the DELTA_UNION union. Fixed up DELTA_UNION.Ronnie Sahlberg1-204/+362
svn path=/trunk/; revision=5836
2002-07-07Updated DELTA_TRUSTED_DOMAINS and DELTA_ACCOUNTSRonnie Sahlberg1-166/+232
svn path=/trunk/; revision=5835
2002-07-07Updated DELTA_ALIAS_MEMBER and DELTA_POLICYRonnie Sahlberg1-229/+251
svn path=/trunk/; revision=5834
2002-07-07Updated DELTA_GROUP_MEMBER and DELTA_ALIAS structures.Ronnie Sahlberg1-177/+154
svn path=/trunk/; revision=5833
2002-07-07Tiny DELTA_RENAME_USER and DELTA_RENAME_ALIAS updateRonnie Sahlberg1-3/+3
svn path=/trunk/; revision=5832
2002-07-07DELTA_RENAME_GROUP updateRonnie Sahlberg1-59/+63
svn path=/trunk/; revision=5831
2002-07-07Verified and changed name of DELTA_GROUP dissector.Ronnie Sahlberg1-63/+69
svn path=/trunk/; revision=5830
2002-07-07Renamed SAM_DOMAIN_INFO into DELTA_DOMAN.Ronnie 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. svn path=/trunk/; revision=5829
2002-07-06NETLOGON update.Ronnie 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. svn path=/trunk/; revision=5823
2002-07-05Fixed stupid bug I added when updating a structure preparing for the ↵Ronnie Sahlberg1-26/+21
rewrite/update. Fixed some other buglets as well at the same time. svn path=/trunk/; revision=5820
2002-07-02More NETLOGON updatesRonnie Sahlberg1-134/+146
svn path=/trunk/; revision=5814
2002-07-02More NETLOGON updatesRonnie Sahlberg1-138/+169
svn path=/trunk/; revision=5813
2002-07-01tiny netlogon updateRonnie Sahlberg1-3/+3
svn path=/trunk/; revision=5808
2002-07-01Update to NETLOGON dissectorRonnie Sahlberg1-631/+822
svn path=/trunk/; revision=5807
2002-06-30NETLOGON updateRonnie Sahlberg1-60/+70
svn path=/trunk/; revision=5804
2002-06-30First checkin for NETLOGON cleanupRonnie Sahlberg1-137/+212
svn path=/trunk/; revision=5803
2002-06-24Change each DCERPC dissector to pass in a hf value on initialisationTim Potter1-2/+53
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-05-31Removed some trailing commas from various DCERPC dissectors.Tim Potter1-4/+4
svn path=/trunk/; revision=5604
2002-05-10From Joerg Mayer: make a pile of stuff not used outside one source fileGuy Harris1-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. svn path=/trunk/; revision=5441
2002-05-04From Joerg Mayer: mark unused arguments as such.Guy Harris1-7/+7
svn path=/trunk/; revision=5390
2002-05-03Added some new discovered names for some NETLOGON functionsRonnie Sahlberg1-41/+41
svn path=/trunk/; revision=5370
2002-04-29Removal (or, at least, #ifdeffing out) of unused variables andGuy Harris1-10/+5
functions, from David Frascone. svn path=/trunk/; revision=5288
2002-04-20Dissect ntstatus codes instead of uint32 for response packets.Tim Potter1-85/+105
Display pretty names in COL_INFO for commonly used functions (RequestChallenge, Auth2, SamLogon). svn path=/trunk/; revision=5207
2002-04-18Add a "proto_register_dcerpc_smb()" which registers ett_ values forGuy Harris1-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". svn path=/trunk/; revision=5196
2002-04-17Remove some temporary functions from NETLOGON now that the real functionsRonnie Sahlberg1-107/+2
exist in LSA. svn path=/trunk/; revision=5183