aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-lsa.c
Commit message (Collapse)AuthorAgeFilesLines
* Add the mask for an NT ACL ACE to the summary list for each ACE. ThisRichard Sharpe2004-03-301-2/+2
| | | | | | | | | means we don't have to expand the ACE to see what the permission mask is. There are a couple of other places where this could be used, but I have not done anything about them. svn path=/trunk/; revision=10515
* char *drep -> guint8 *drepJörg Mayer2004-01-191-182/+182
| | | | svn path=/trunk/; revision=9735
* More operation names updates from Jean-Baptiste Marchand.Tim Potter2003-09-291-12/+41
| | | | svn path=/trunk/; revision=8564
* From JBMRonnie Sahlberg2003-09-231-291/+291
| | | | | | | Update all names for SAMR and LSA functions so they match the function names in the API svn path=/trunk/; revision=8516
* Update to LSA LookupPrivilegeDisplayNameRonnie Sahlberg2003-09-031-17/+18
| | | | svn path=/trunk/; revision=8356
* packet-dcerpc-lsa had some idea that EnumDomainsEx had a funny NDR rep forRichard Sharpe2003-08-201-3/+4
| | | | | | | the array of domain info stuff returned. Removing the offending bit fixed the dissection, at least of a capture we have. svn path=/trunk/; revision=8195
* Guy suggested that the dcerpc opnum value_string code could be simplifiedTim Potter2003-08-041-9/+1
| | | | | | | | somewhat. Now the dynamic initialisation of the value_string is contained in the value_string_from_subdissectors() function instead of being distributed amongst the dcerpc dissectors. svn path=/trunk/; revision=8123
* Dynamically create DCERPC opnum value_strings from the subdissectorTim Potter2003-06-261-67/+10
| | | | | | | | list rather than duplicating this information in the dissector. Some of the opnum strings were starting to get out of date as developers forgot to update the information in both places. svn path=/trunk/; revision=7936
* In the policy handle hashing, handle more than one policy handle havingGuy Harris2003-06-051-83/+98
| | | | | | | | | | | | | | | | | | the same value, as an open might return handle XXX, handle XXX might then be closed, and a subsequent handle might return handle XXX, and we want to keep the two handles distinct to avoid, for example, displaying handles closed before they're opened. In policy handle open replies, store the handle name only if the operation succeeded. We can now do that without parsing the packet twice. Have "dissect_nt_policy_hnd()" optionally return, through a pointer, the protocol tree item for the handle, so that its caller can decorate the item with the name of the handle - that's done on opens, where we do that only if the operation succeeds. svn path=/trunk/; revision=7787
* Some minor updates to LSA.Ronnie Sahlberg2003-05-301-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
* I don't think there is any such thing as a pointer to a policy handle.Tim Potter2003-05-231-186/+164
| | | | | | Just dissect them in place. svn path=/trunk/; revision=7722
* Add snooping of sid->domain mapping from POLICY_ACCOUNT_DOMAIN_INFO structuresRonnie Sahlberg2003-05-221-3/+3
| | | | svn path=/trunk/; revision=7713
* Rearrange sid snooping a bit.Ronnie Sahlberg2003-05-221-6/+16
| | | | | | Add snooping of sid->domain mapping for POLICY_DNS_DOMAIN_INFO svn path=/trunk/; revision=7711
* Make one QIP infolevel specify a sid hf field and update the embryonic sid ↵Ronnie Sahlberg2003-05-211-2/+7
| | | | | | snooping framework to handle the new hw name svn path=/trunk/; revision=7709
* Change the interface to dissect_ndr_nt_SID to take the extra parameter hf_sidRonnie Sahlberg2003-05-211-11/+11
| | | | | | if the caller wants something else instead of "smb.sid" svn path=/trunk/; revision=7707
* Change the interface to dissect_ndr_nt_PSID to take one extra parameter ↵Ronnie Sahlberg2003-05-211-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
* More work on dissecting generic and standard mappings for NT access masks.Tim Potter2003-05-151-2/+4
| | | | svn path=/trunk/; revision=7668
* Move the specific rights dissection function and name into a structureTim Potter2003-04-281-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
* Call dissect_nt_status() instead of dissect_ndr_uint32() when dissectingTim Potter2003-04-271-117/+121
| | | | | | return status codes. svn path=/trunk/; revision=7576
* Not all strings in MS interfaces are unicode.Ronnie Sahlberg2003-04-271-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
* When dissecting specific rights, pass a name string down so theTim Potter2003-04-031-3/+4
| | | | | | | proto item says "foo specific rights" instead of just "specific rights". svn path=/trunk/; revision=7401
* Have "dissect_ndr_counted_string()" add 2, not 1, to its argument, as itGuy Harris2003-02-081-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
* Rename "dissect_ndr_char_string()" and "dissect_ndr_wchar_string()" toGuy Harris2003-02-071-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
* Rename "dissect_ndr_char_array" and "disect_ndr_wchar_array" toGuy Harris2003-02-071-2/+2
| | | | | | | "dissect_ndr_char_string" and "dissect_ndr_wchar_string", to make it clearer what it does. svn path=/trunk/; revision=7095
* Decorate the top-level items for the account name inGuy Harris2003-02-071-3/+3
| | | | | | | POLICY_ACCOUNT_DOMAIN_INFO and the domain in TRUSTED_DOMAIN with the string. svn path=/trunk/; revision=7089
* Decorate the top-level tree items for "LSA_TRANSLATED_NAME" and anGuy Harris2003-02-071-3/+3
| | | | | | "LSA_TRUST_INFORMATION" with the account name. svn path=/trunk/; revision=7088
* Fix callers to dissect_nt_sec_desc() to use new function interface.Tim Potter2003-02-071-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
* Remove out of date comment.Tim Potter2003-02-041-9/+5
| | | | | | Display server name in COL_INFO for OpenPolicy2 request. svn path=/trunk/; revision=7070
* Convert to new DCERPC string handling functions. There are still someTim Potter2003-02-031-34/+34
| | | | | | cosmetic bugs to work out though. svn path=/trunk/; revision=7069
* Put in a missing assignment of the value ofGuy Harris2003-01-311-2/+2
| | | | | | "dissect_ndr_nt_UNICODE_STRING_cb()" to "offset". svn path=/trunk/; revision=7061
* Generalize "cb_str_postprocess()" to allow the string to be appended toGuy Harris2003-01-301-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
* Display random useful tidbits in COL_INFO.Tim Potter2003-01-301-4/+14
| | | | svn path=/trunk/; revision=7040
* Convert dissector to callback based version of dissect_ndr_pointer().Tim Potter2003-01-281-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
* The LSA_REFERENCED_DOMAIN_LIST pointer in a LookupSIDs2 reply appears toGuy Harris2002-10-281-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
* From Luke Howard: Bugfix for one NETLOGON commandRonnie Sahlberg2002-09-281-2/+2
| | | | svn path=/trunk/; revision=6348
* Removed trailing whitespaces from .h and .c files using theJörg Mayer2002-08-281-123/+123
| | | | | | | winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
* "lsa.key" is a Unicode string, and is ultimately put into the protocolGuy Harris2002-08-271-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
* Some cleanups and fixes from Guy:Tim Potter2002-08-221-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
* Call dissect_nt_access_mask() instead of dissect_ndr_uint32()Tim Potter2002-08-211-6/+126
| | | | svn path=/trunk/; revision=6054
* Updated LSA. Function 2f is called SetInformationPolicy2Ronnie Sahlberg2002-08-091-7/+7
| | | | svn path=/trunk/; revision=5974
* From Jim McDonough: support for LsaQueryInformationPolicy2 in the LSAGuy Harris2002-07-311-8/+10
| | | | | | dissector. svn path=/trunk/; revision=5924
* Change each DCERPC dissector to pass in a hf value on initialisationTim Potter2002-06-241-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
* Replace sub-dissector names with InterCaps names instead of the uglyTim Potter2002-06-211-57/+57
| | | | | | all caps version. svn path=/trunk/; revision=5719
* Added dissection of the request to NetrShareAddRonnie Sahlberg2002-06-181-2/+2
| | | | svn path=/trunk/; revision=5698
* Removed some trailing commas from various DCERPC dissectors.Tim Potter2002-05-311-6/+4
| | | | svn path=/trunk/; revision=5604
* Changed toplevel REF pointer dissection to create a subtree. Not creating a ↵Ronnie Sahlberg2002-05-271-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
* In "dissect_nt_policy_hnd()":Guy Harris2002-05-111-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
* Added LSA functions 0x38 and 0x3b. These were the two last LSA functions and nowRonnie Sahlberg2002-05-021-7/+72
| | | | | | all functions described in lsarpc.idl had been implemented. svn path=/trunk/; revision=5351
* Added LSAEnumerateTrustedDomainsEX and LSACreateTrustedDomainEXRonnie Sahlberg2002-05-021-7/+112
| | | | svn path=/trunk/; revision=5350
* Added LSAGetUserNameRonnie Sahlberg2002-05-021-4/+65
| | | | svn path=/trunk/; revision=5349