aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-lsa.c
AgeCommit message (Collapse)AuthorFilesLines
2003-05-30Some minor updates to LSA.Ronnie Sahlberg1-10/+23
* Add a few missing dissections of return codes in reply packets * fix a problem in LsaQuerySecret where two of the parameters are actually unique pointer to unique pointer to object and not just one level of pointers. * update the dissection of LSA_SECRET to look more correct in some captures. Anyone that knows the content of the LSA_SECRET object is welcome to mail a description to me. svn path=/trunk/; revision=7765
2003-05-23I don't think there is any such thing as a pointer to a policy handle.Tim Potter1-186/+164
Just dissect them in place. svn path=/trunk/; revision=7722
2003-05-22Add snooping of sid->domain mapping from POLICY_ACCOUNT_DOMAIN_INFO structuresRonnie Sahlberg1-3/+3
svn path=/trunk/; revision=7713
2003-05-22Rearrange sid snooping a bit.Ronnie Sahlberg1-6/+16
Add snooping of sid->domain mapping for POLICY_DNS_DOMAIN_INFO svn path=/trunk/; revision=7711
2003-05-21Make one QIP infolevel specify a sid hf field and update the embryonic sid ↵Ronnie Sahlberg1-2/+7
snooping framework to handle the new hw name svn path=/trunk/; revision=7709
2003-05-21Change the interface to dissect_ndr_nt_SID to take the extra parameter hf_sidRonnie Sahlberg1-11/+11
if the caller wants something else instead of "smb.sid" svn path=/trunk/; revision=7707
2003-05-21Change the interface to dissect_ndr_nt_PSID to take one extra parameter ↵Ronnie Sahlberg1-7/+7
which if !=-1 is a hf field for the sid to use instead of the default smb.sid one. svn path=/trunk/; revision=7706
2003-05-15More work on dissecting generic and standard mappings for NT access masks.Tim Potter1-2/+4
svn path=/trunk/; revision=7668
2003-04-28Move the specific rights dissection function and name into a structureTim Potter1-4/+8
instead of passing them around as separate parameters. This is a prelude to adding generic and standard mapping to the access mask dissection. svn path=/trunk/; revision=7591
2003-04-27Call dissect_nt_status() instead of dissect_ndr_uint32() when dissectingTim Potter1-117/+121
return status codes. svn path=/trunk/; revision=7576
2003-04-27Not all strings in MS interfaces are unicode.Ronnie Sahlberg1-3/+3
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-03When dissecting specific rights, pass a name string down so theTim Potter1-3/+4
proto item says "foo specific rights" instead of just "specific rights". svn path=/trunk/; revision=7401
2003-02-08Have "dissect_ndr_counted_string()" add 2, not 1, to its argument, as itGuy Harris1-7/+7
adds 2 levels to the tree. Fix calls to it not to add 1 for that level. The NT and LM challenges in a NETWORK_INFO structure are opaque arrays of bytes, not Unicode strings; dissect them as such, adding a new routine "dissect_ndr_counted_byte_array()" for that purpose. Get rid of some extra colons in names - the colon is put there if a string is appended, so putting a colon in there explicitly gives double colons. Decorate some higher-level tree nodes with strings. svn path=/trunk/; revision=7107
2003-02-07Rename "dissect_ndr_char_string()" and "dissect_ndr_wchar_string()" toGuy Harris1-2/+2
"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-2/+2
"dissect_ndr_char_string" and "dissect_ndr_wchar_string", to make it clearer what it does. svn path=/trunk/; revision=7095
2003-02-07Decorate the top-level items for the account name inGuy Harris1-3/+3
POLICY_ACCOUNT_DOMAIN_INFO and the domain in TRUSTED_DOMAIN with the string. svn path=/trunk/; revision=7089
2003-02-07Decorate the top-level tree items for "LSA_TRANSLATED_NAME" and anGuy Harris1-3/+3
"LSA_TRUST_INFORMATION" with the account name. svn path=/trunk/; revision=7088
2003-02-07Fix callers to dissect_nt_sec_desc() to use new function interface.Tim Potter1-65/+56
Dissection of security descriptors in SPOOLSS RPC calls now display the correct meaning of the specific access mask bits. svn path=/trunk/; revision=7087
2003-02-04Remove out of date comment.Tim Potter1-9/+5
Display server name in COL_INFO for OpenPolicy2 request. svn path=/trunk/; revision=7070
2003-02-03Convert to new DCERPC string handling functions. There are still someTim Potter1-34/+34
cosmetic bugs to work out though. svn path=/trunk/; revision=7069
2003-01-31Put in a missing assignment of the value ofGuy Harris1-2/+2
"dissect_ndr_nt_UNICODE_STRING_cb()" to "offset". svn path=/trunk/; revision=7061
2003-01-30Generalize "cb_str_postprocess()" to allow the string to be appended toGuy Harris1-33/+33
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-30Display random useful tidbits in COL_INFO.Tim Potter1-4/+14
svn path=/trunk/; revision=7040
2003-01-28Convert dissector to callback based version of dissect_ndr_pointer().Tim Potter1-145/+144
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
2002-10-28The LSA_REFERENCED_DOMAIN_LIST pointer in a LookupSIDs2 reply appears toGuy Harris1-2/+2
be a UNIQUE pointer, at least from one capture I'e seen, just as it is in a LookupSIDs reply; make it so. svn path=/trunk/; revision=6515
2002-09-28From Luke Howard: Bugfix for one NETLOGON commandRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=6348
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-123/+123
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
2002-08-27"lsa.key" is a Unicode string, and is ultimately put into the protocolGuy Harris1-2/+2
tree with "proto_tree_add_string()", so it has to have the type FT_STRING, not FT_BYTES. svn path=/trunk/; revision=6096
2002-08-22Some cleanups and fixes from Guy:Tim Potter1-4/+2
- combine proto_tree_add_text() and proto_tree_append_text() calls in the access mask dissector - make the specific access bits dissector functions return void instead of an offset I think Samba has the create user reply wrong. There is perhaps a uint32 marked as unknown that shouldn't be there. Removing this parses all the captures I have. svn path=/trunk/; revision=6057
2002-08-21Call dissect_nt_access_mask() instead of dissect_ndr_uint32()Tim Potter1-6/+126
svn path=/trunk/; revision=6054
2002-08-09Updated LSA. Function 2f is called SetInformationPolicy2Ronnie Sahlberg1-7/+7
svn path=/trunk/; revision=5974
2002-07-31From Jim McDonough: support for LsaQueryInformationPolicy2 in the LSAGuy Harris1-8/+10
dissector. svn path=/trunk/; revision=5924
2002-06-24Change each DCERPC dissector to pass in a hf value on initialisationTim Potter1-2/+72
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-21Replace sub-dissector names with InterCaps names instead of the uglyTim Potter1-57/+57
all caps version. svn path=/trunk/; revision=5719
2002-06-18Added dissection of the request to NetrShareAddRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=5698
2002-05-31Removed some trailing commas from various DCERPC dissectors.Tim Potter1-6/+4
svn path=/trunk/; revision=5604
2002-05-27Changed toplevel REF pointer dissection to create a subtree. Not creating a ↵Ronnie Sahlberg1-18/+18
subtree was a design mistake which caused ugliness in the unicode string str dissector and in other places. Dissectors will temporarily have less pretty output for topleve ref pointers until their output is retuned. svn path=/trunk/; revision=5573
2002-05-11In "dissect_nt_policy_hnd()":Guy Harris1-5/+30
add arguments to specify whether the policy handle is being opened or closed, and don't set the "open frame" for the handle unless it's being opened and don't set the "close frame" for the handle unless it's being closed; store the policy handle before fetching it, so that an open or close is marked appropriately in the protocol tree on the first pass; if the policy handle has a name associated with it, put that name into the top-level item for the policy handle. In "packet-dcerpc-spoolss.c": get rid of aun unused variable; make "setjob_commands[]" static, as it's not used outside "packet-dcerpc-spoolss.c"; put a "VALS()" call around the reference to "setjob_commands", to squelch compiler warnings; give the SPOOLSS return code field the appropriate "value_string" array. svn path=/trunk/; revision=5448
2002-05-02Added LSA functions 0x38 and 0x3b. These were the two last LSA functions and nowRonnie Sahlberg1-7/+72
all functions described in lsarpc.idl had been implemented. svn path=/trunk/; revision=5351
2002-05-02Added LSAEnumerateTrustedDomainsEX and LSACreateTrustedDomainEXRonnie Sahlberg1-7/+112
svn path=/trunk/; revision=5350
2002-05-02Added LSAGetUserNameRonnie Sahlberg1-4/+65
svn path=/trunk/; revision=5349
2002-05-02Added LSALookupSIDs2Ronnie Sahlberg1-4/+112
svn path=/trunk/; revision=5346
2002-05-02Added LSACloseTrustedDomainEXRonnie Sahlberg1-4/+31
svn path=/trunk/; revision=5345
2002-05-02Added LSAStorePrivateData and LSARetrievePrivateDataRonnie Sahlberg1-7/+86
svn path=/trunk/; revision=5344
2002-05-02Added LSALookupPrivilegedDisplayNameRonnie Sahlberg1-4/+55
svn path=/trunk/; revision=5343
2002-04-30From Joerg Mayer: get rid of unused "pinfo" argument toGuy Harris1-2/+2
"dissect_nt_sec_desc()". Also, get rid of code to handle lengths of -1 in "dissect_nt_sec_desc()" - we never pass it a length of -1, as security descriptors aren't sent over the wire with NDR syntax. svn path=/trunk/; revision=5317
2002-04-30Added LSACreateAccountRonnie Sahlberg1-4/+31
svn path=/trunk/; revision=5310
2002-04-30Added LSALookupNames2Ronnie Sahlberg1-4/+67
svn path=/trunk/; revision=5309
2002-04-30Added LSAFunction_2e , LSAFunction_2f, LSAQueryDomainInformationPolicy and ↵Ronnie Sahlberg1-13/+113
LSASetDomainInformationPolicy svn path=/trunk/; revision=5308
2002-04-30Added LSAOpenTrustedDomainByNameRonnie Sahlberg1-4/+37
svn path=/trunk/; revision=5307