wireshark/epan/dissectors/pidl
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
..
nspi
IDL_LICENSE.txt
README
atsvc.cnf
atsvc.idl
dfs.cnf
dfs.idl
dssetup.idl
efs.cnf
efs.idl
eventlog.cnf
eventlog.idl
idl_types.h
initshutdown.idl
samr.cnf rename dcerpc_smb_store_pol_name to dcerpc_store_polhnd_name 2007-08-28 11:45:08 +00:00
samr.idl dissect lsa_Strings correctly in the samr dissector 2007-07-09 13:05:52 +00:00
srvsvc.cnf start prettifying SRVSVC 2007-05-16 01:06:30 +00:00
srvsvc.idl
winreg.cnf update the conformance file for winreg to specify that the string for 2007-05-07 19:23:59 +00:00
winreg.idl
wkssvc.cnf prettify the server_name component of NetWkstaTransportEnum 2007-05-15 08:12:10 +00:00
wkssvc.idl
wzcsvc.cnf
wzcsvc.idl

README

The REAMDE specific to the Wireshark "copy" of the pidl sources
==============================================================

The tree tools/pidl is a direct extract from
svn://svnanon.samba.org/samba/branches/SAMBA_4_0/source/pidl
to allow building Wireshark pidl dissectors without having to
*explicitely* access a remote svn repository.

Don't do changes here, do them at the samba tree! Changes to this tree will
be overwritten the next time the sources from the samba tree are updated,
which is basically every time you do an svn up in the Wireshark toplevel dir.

In order to build, install yapp (on Suse, the rpm is named perl-Parse-Yapp),
then do
perl Makefile.PL && make && && make install

This will build and install the binaries and the manpage (pidl.1).

run  pidl with:

pidl --ws-parser -- <idl-file>  (don't forget the "--")

If you run outside the dissectors/pidl directory, this *will* result in a
warning like:
atsvc.idl:5:23: idl_types.h: No such file or directory
and *may* result in additional warnings like:
Warning: No conformance file `initshutdown.cnf'
Unable to handle string with flags STR_LEN4|STR_NOTERM at /usr/lib/perl5/site_perl/5.8.6/Parse/Pidl/Wireshark/NDR.pm line 283.