Commit Graph

98 Commits

Author SHA1 Message Date
Bill Meier f8e3822738 Fix some warnings reported by gcc -Wshadow ...
Fix some spacing in packet-dcom.c

svn path=/trunk/; revision=25618
2008-06-27 16:15:30 +00:00
Stig Bjørlykke b17d12b64d Removed an unused static entry.
svn path=/trunk/; revision=25521
2008-06-22 00:50:29 +00:00
Guy Harris 37c537ec48 Don't use "%ll[doux]" to print a guint64 - use G_GINT64_MODIFIER.
svn path=/trunk/; revision=25101
2008-04-17 16:54:32 +00:00
Ronnie Sahlberg 331e026f6c Add autogenerated dissector for DCE/RPC MAPI and also the (non-NDR)
protocol that is transported within 


svn path=/trunk/; revision=25096
2008-04-17 12:05:16 +00:00
Ronnie Sahlberg c79cf40b3b update to most recent wkssvc.idl from the samba4 repository
svn path=/trunk/; revision=23641
2007-11-28 06:21:28 +00:00
Ronnie Sahlberg 880bab108c remove a test for null that we dont need since the variable can not be
null at this point


svn path=/trunk/; revision=23045
2007-10-02 08:27:39 +00:00
Ronnie Sahlberg 8fde3b7561 rename dcerpc_smb_store_pol_name to dcerpc_store_polhnd_name
rename dcerpc_smb_fetch_pol  to dcerpc_fetch_polhnd_data and also make 
it take an additional parameter to return the "type" of the policy 
handle, if such a type was stored.

extend the pol_value structure used to track policy handles to also 
store a type to represent what created the policy handle
types could be USER/ALIAS/CONNECT/... etc handles returned from the 
SAMR interface

add a new helper function  dcerpc_store_polhnd_type()

track policy handles between request/responses for dcerpc

update the samr.cnf file to make the samr dissectors for
SetSecurity/QuerySecurity dissect the specific bits for the security 
descriptor correctly based on whether the policy handle refers to a 
CONNECT/DOMAIN/USER/ALIAS or GROUP



svn path=/trunk/; revision=22703
2007-08-28 11:45:08 +00:00
Ronnie Sahlberg b363b1664d dissect lsa_Strings correctly in the samr dissector
svn path=/trunk/; revision=22274
2007-07-09 13:05:52 +00:00
Ronnie Sahlberg 58bc100096 the sidtype is a 32bit enum not a standard enum
svn path=/trunk/; revision=22273
2007-07-09 12:50:57 +00:00
Ronnie Sahlberg 43010b965b make all rids use a single hf filter field
dissect the Type of rid using lsa_Types


svn path=/trunk/; revision=22272
2007-07-09 12:37:20 +00:00
Ronnie Sahlberg 824b7f0a25 rename all policy handles in samr to have a name that describes the type
of handle.



svn path=/trunk/; revision=22270
2007-07-09 10:49:34 +00:00
Ronnie Sahlberg f031e11770 fix a typo
svn path=/trunk/; revision=22264
2007-07-07 03:34:30 +00:00
Ronnie Sahlberg ca8fd4031d add some more access masks
svn path=/trunk/; revision=22263
2007-07-07 01:25:26 +00:00
Ronnie Sahlberg 58db64e69f add dissection of the bits for the Connect[0-5] access_masks
svn path=/trunk/; revision=22260
2007-07-06 22:14:04 +00:00
Ronnie Sahlberg a0fbebed71 some more prettification, show name of created users on the summary
line and also in the associated policy handle


svn path=/trunk/; revision=22256
2007-07-06 05:45:55 +00:00
Ronnie Sahlberg 5830fd55bc redo the lsa_String dissector we temporarily host in samr until lsa has
been pidlified

prettify some strings and show them in the summary line


svn path=/trunk/; revision=22255
2007-07-06 04:05:06 +00:00
Ronnie Sahlberg a1fa757734 add policy handle tracking to samr.cnf
svn path=/trunk/; revision=22254
2007-07-05 22:19:28 +00:00
Ronnie Sahlberg ab81a16892 add initial samr idl and conformance file
svn path=/trunk/; revision=22252
2007-07-05 22:01:58 +00:00
Ronnie Sahlberg f7aba27936 start prettifying SRVSVC
svn path=/trunk/; revision=21799
2007-05-16 01:06:30 +00:00
Ronnie Sahlberg 417b366bcd we must provide a hfinfo field when dissecting a dcerpc integer or else
we might get a dissector bug assert and fail to dissect the blob


svn path=/trunk/; revision=21797
2007-05-15 23:30:03 +00:00
Ronnie Sahlberg a190cecf66 prettify the server_name component of NetWkstaTransportEnum
svn path=/trunk/; revision=21776
2007-05-15 08:12:10 +00:00
Ronnie Sahlberg f133d28663 prettify wkssvc dissection using the conformance file and generate the
dissector again using a new version of pidl


svn path=/trunk/; revision=21723
2007-05-08 03:30:14 +00:00
Ronnie Sahlberg b183abad3e update the conformance file for winreg to specify that the string for
OpenKey keynames should be saved/stored in the dcv structure.

this now makes all policy handles generated by the OpenKey function show
OpenKey(/path/keyname)
for all such policyhandles


svn path=/trunk/; revision=21720
2007-05-07 19:23:59 +00:00
Ronnie Sahlberg e19938fb0b using latest version of pidl, which includes the required pragmas and
which also handles TYPE and PARAM_VALUE for strings,   regenerate winreg 
after using hte conformance file to prettify how and where strings are 
to be used to decorate the summary line and the dissection tree


svn path=/trunk/; revision=21717
2007-05-07 18:35:28 +00:00
Ronnie Sahlberg d21de3799a use the latest version of PIDL to regenerate winreg using the new TYPE
conformance file directive to replace winreg_String with our own code.

PARAM_VALUE does not yet work for this however which needs to looked 
into


svn path=/trunk/; revision=21669
2007-05-03 19:58:04 +00:00
Ronnie Sahlberg 35b1d57ea9 update WZCSVC idl and regenerate the dissector
svn path=/trunk/; revision=21266
2007-03-29 04:24:17 +00:00
Ronnie Sahlberg 78c12b2709 update INITSHUTDOWN and SRVSVC and regenerate with patched PIDL
svn path=/trunk/; revision=21265
2007-03-29 04:12:16 +00:00
Ronnie Sahlberg c46d3f3796 fixup the idl to always use pointer for out parameters
regenerate with patched pidl


svn path=/trunk/; revision=21261
2007-03-29 02:09:48 +00:00
Ronnie Sahlberg 2c0449ad5e update efs and fix conformance file to eliminate some warnings
svn path=/trunk/; revision=21259
2007-03-29 01:06:51 +00:00
Ronnie Sahlberg 79ee9a4786 update dfs and regenerate
svn path=/trunk/; revision=21258
2007-03-29 00:58:35 +00:00
Ronnie Sahlberg e873c57309 update atsvc to latest idl
svn path=/trunk/; revision=21257
2007-03-29 00:47:41 +00:00
Ronnie Sahlberg f0756aee6e update winreg to the latest idl
svn path=/trunk/; revision=21256
2007-03-29 00:26:35 +00:00
Ronnie Sahlberg 0ee2141ab0 regenerate winreg using the latest pidl. almost all warnings are now gone
svn path=/trunk/; revision=21255
2007-03-29 00:15:41 +00:00
Ronnie Sahlberg 1af9fbb14f Using a patched version of pidl that decorates all parameters with _U_
and updates to the conformance file,
regenerate the eventlog dissector to remove a lot of compiler warnings


svn path=/trunk/; revision=21110
2007-03-22 08:45:01 +00:00
Ronnie Sahlberg 22ba8c3ad5 add dissection of the WINREG specific bits in the accessmask for WINREG objects
svn path=/trunk/; revision=20968
2007-03-04 01:15:44 +00:00
Ronnie Sahlberg 87f05b8bda update EFS and EVENTLOG conformance files to use the new defines
for when policy handles are opened/closed and regenerate the dissector
with the latest version of PIDL



svn path=/trunk/; revision=20917
2007-02-24 21:34:29 +00:00
Ronnie Sahlberg 4fb922c2c8 regenerate WINREG as a test with the some new PIDL enhancements to show ithe name of the iprocedure a policy handle was created in.
also
fix some mistakes in the conformance file for when handles are opened/created


svn path=/trunk/; revision=20896
2007-02-21 20:23:44 +00:00
Jörg Mayer 27c1729f0e Update to current version of openchange
svn path=/trunk/; revision=20877
2007-02-20 19:19:57 +00:00
Ronnie Sahlberg 83c66c05e9 add a PIDL specific helper for managing dissection of policy handles.
let this helper take a parameter to describe how the policy handle should be
managed (is this an open, close ?) to improve policy handle tracking.
(centralizing to a single function of code makes other changes easier)

create defines to indicate OPEN/CLOSE and use them as a start/test in the winreg conformance file.



svn path=/trunk/; revision=20872
2007-02-20 09:01:50 +00:00
Ronnie Sahlberg 1401a27b06 the policy handles created/opened in CreateKey and OpenKey are now called "handle" and not "new_handle"
update the conformance file so the correct functions are loaded with the correct PARAM value to signal "in this frame, this policy handle was created"



svn path=/trunk/; revision=20857
2007-02-19 08:26:27 +00:00
Ronnie Sahlberg 02a8ed7abc using the latest SVN of PIDL it is now possible to compile the corrected WINREG.IDL where QueryInfoKey responses are parsed correctly.
(since we do not yet use all of the various idl files from s4 i commented out the import directove from the idl file since othervise it would generate #include directives for files we do not yet provide)



svn path=/trunk/; revision=20816
2007-02-15 09:33:12 +00:00
Jörg Mayer f440212994 Jelmer Vernooij:
The attached patch replace the use of 'depends()' with "import" (the
latter is a standard IDL statement).


svn path=/trunk/; revision=19914
2006-11-16 21:57:31 +00:00
Guy Harris 5ea6272700 You run perl, not make, on Makefile.PL files.
svn path=/trunk/; revision=19851
2006-11-07 08:19:57 +00:00
Jörg Mayer e44e0795ce Update to use --includedir instead of copying idl_types.h.
svn path=/trunk/; revision=19847
2006-11-07 07:57:07 +00:00
Ronnie Sahlberg b84d470206 convert restrictiontype to be an enum
svn path=/trunk/; revision=19834
2006-11-06 20:47:37 +00:00
Ronnie Sahlberg 3c65eab84e building the nspi dissector depends also on the nspi.cnf file, add this dependency to the makefile
add tracking of policyhandles to the dissector


svn path=/trunk/; revision=19832
2006-11-06 20:28:19 +00:00
Jörg Mayer 207c844d36 Copy over the nspi.cnf file which was recently added
svn path=/trunk/; revision=19826
2006-11-06 19:47:39 +00:00
Ronnie Sahlberg bb8dcd0ccd update the Makefile to point to the new path after the svn move
svn path=/trunk/; revision=19805
2006-11-05 06:00:01 +00:00
Ronnie Sahlberg 94a5be0d24 rename the nspi dissector from idl (where the idl2wrs dissectors live) ro epan/dissector/pidl (where the pidl generated dce/rpc dissectors live)
svn path=/trunk/; revision=19804
2006-11-05 05:56:27 +00:00
Ronnie Sahlberg 13c69fd5e7 add tracking of policy handles to the efs dissector
svn path=/trunk/; revision=19803
2006-11-05 05:35:06 +00:00