Commit graph

76 commits

Author SHA1 Message Date
Tim Potter
b99ad855f0 Display user name in COL_INFO for ServerAuthenticate2 request.
Add note about putting DOMAIN\Username in COL_INFO when dissecting
LOGIN_IDENTITY_INFO (part of SamLogon RPC).

svn path=/trunk/; revision=7147
2003-02-14 06:17:20 +00:00
Guy Harris
d06e3c57bd Decorate the top-level item for a PRIV_NAME_ARRAY with the privilege
names.

svn path=/trunk/; revision=7118
2003-02-10 23:45:56 +00:00
Guy Harris
64991e3fa1 Have "dissect_ndr_counted_string()" add 2, not 1, to its argument, as it
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-08 09:41:44 +00:00
Guy Harris
e9f0f4b74f Rename "dissect_ndr_char_string()" and "dissect_ndr_wchar_string()" to
"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-07 22:44:54 +00:00
Guy Harris
9a348d5736 Rename "dissect_ndr_char_array" and "disect_ndr_wchar_array" to
"dissect_ndr_char_string" and "dissect_ndr_wchar_string", to make it
clearer what it does.

svn path=/trunk/; revision=7095
2003-02-07 22:31:32 +00:00
Tim Potter
6b8a47a691 Convert to new DCERPC string handling functions. There are still some
cosmetic bugs to work out though.

svn path=/trunk/; revision=7069
2003-02-03 02:14:01 +00:00
Guy Harris
000f03fdca Decorate a PRIV_NAME_ARRAY with the privilege names in the array.
svn path=/trunk/; revision=7063
2003-01-31 07:37:12 +00:00
Guy Harris
2c598fa0ec Decorate a DELTA_DOMAIN structure's top-level item with the domain name.
svn path=/trunk/; revision=7062
2003-01-31 07:32:41 +00:00
Guy Harris
5dc66497b7 Generalize "cb_str_postprocess()" to allow the string to be appended to
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-30 08:19:39 +00:00
Tim Potter
497042348b Display random useful tidbits in COL_INFO.
svn path=/trunk/; revision=7040
2003-01-30 05:38:56 +00:00
Tim Potter
1d6acba45c Convert dissector to callback based version of dissect_ndr_pointer().
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
2003-01-28 06:39:41 +00:00
Tim Potter
a476a8b4c3 Add value_string for secure channel type used in ServerAuthenticate2.
svn path=/trunk/; revision=6920
2003-01-14 05:09:16 +00:00
Ronnie Sahlberg
eb6384af0d Added some flags and value_Strings for netlogon
svn path=/trunk/; revision=6706
2002-11-30 08:34:28 +00:00
Ronnie Sahlberg
f896a13596 From Like H, update to NETLOGON. DSROLEGETPRIMARYDOMAININFO is actually ENUMERATETRUSTEDDOMAINS
svn path=/trunk/; revision=6705
2002-11-29 23:20:41 +00:00
Ronnie Sahlberg
b0e0a37e9e From Luke H. Update to GetDomainInfo
svn path=/trunk/; revision=6704
2002-11-29 22:35:54 +00:00
Ronnie Sahlberg
cee6c74482 Bugfix.
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-04 11:52:36 +00:00
Ronnie Sahlberg
299f6f8322 Bugfix for DSROLE_PRIMARY_DOMAIN_INFO
svn path=/trunk/; revision=6558
2002-11-04 09:06:15 +00:00
Ronnie Sahlberg
e91ed1701a Fix for Netlogon function 0x22 which used the wrong pointer type.
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-11-03 04:39:22 +00:00
Guy Harris
86576ce6ac When registering a protocol, make sure there are no other protocols with
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-10-15 05:21:07 +00:00
Ronnie Sahlberg
1a07ef5b5c Some changes to netlogon. function 0x1d is still not right but maybe we are
getting closer.   from Luke H.

svn path=/trunk/; revision=6353
2002-09-29 10:28:27 +00:00
Ronnie Sahlberg
5f4545bce0 From Luke Howard: Bugfix for one NETLOGON command
svn path=/trunk/; revision=6348
2002-09-28 09:43:10 +00:00
Ronnie Sahlberg
f2cce7516c From Luke Howard: Small fix for NETLOGON: LogonGetDomainInfo
svn path=/trunk/; revision=6297
2002-09-15 06:36:16 +00:00
Jörg Mayer
7c4176d868 Removed trailing whitespaces from .h and .c files using the
winapi_cleanup tool written by Patrik Stridvall for the wine
project.

svn path=/trunk/; revision=6117
2002-08-28 21:04:11 +00:00
Ronnie Sahlberg
b8c9f70f2f From Luke H, a new function name and name of some structures/fields used by that function.
svn path=/trunk/; revision=6094
2002-08-27 12:33:15 +00:00
Ronnie Sahlberg
17e72016ac Changed two ulong REF pointers to just calle the uint32 dissector
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-18 07:24:42 +00:00
Ronnie Sahlberg
d8d551c7ed Fix some incorrect poitner types. From Jean-Francois Micouleau
svn path=/trunk/; revision=6009
2002-08-18 07:18:55 +00:00
Ronnie Sahlberg
986d3d4a03 Added new function name LogonSamLogonEx
svn path=/trunk/; revision=6004
2002-08-17 00:45:03 +00:00
Ronnie Sahlberg
4d4df14ace Fixed incorrect NDR pointer type in Authenticate3
svn path=/trunk/; revision=6003
2002-08-17 00:35:46 +00:00
Tim Potter
a8030c39d9 Convert some of the all caps names to more friendly names.
svn path=/trunk/; revision=6002
2002-08-16 22:24:07 +00:00
Ronnie Sahlberg
93164e3978 Changed some incorrect pointer types. MS interfaces seems never to use PTR
pointers.

svn path=/trunk/; revision=5978
2002-08-11 14:08:08 +00:00
Ronnie Sahlberg
e8d3107fc4 Some more function updates
svn path=/trunk/; revision=5948
2002-08-04 01:37:07 +00:00
Ronnie Sahlberg
052b8d6a05 Updated LogonControl2 and ServerAuthenticate2 functions
svn path=/trunk/; revision=5935
2002-08-03 10:48:46 +00:00
Guy Harris
e7dbdc13fa The time stamps in credentials, at least, sometimes appear to be
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-10 06:54:24 +00:00
Ronnie Sahlberg
c068194c6b Updated GetDCName LogonControl and GetAnyDCName
svn path=/trunk/; revision=5845
2002-07-09 13:32:29 +00:00
Ronnie Sahlberg
c819581499 Updated ACCOUNTDELTAS and ACCOUNTSYNC functions
svn path=/trunk/; revision=5841
2002-07-08 14:01:46 +00:00
Ronnie Sahlberg
6f7c44df42 Update of DATABASESYNC function
svn path=/trunk/; revision=5840
2002-07-08 12:53:28 +00:00
Ronnie Sahlberg
e6f71eff0d Update for NetrDatabaseDeltas function.
svn path=/trunk/; revision=5837
2002-07-07 13:41:31 +00:00
Ronnie Sahlberg
a6ca5d5db2 Added the final two cases for the DELTA_UNION union. Fixed up DELTA_UNION.
svn path=/trunk/; revision=5836
2002-07-07 12:29:31 +00:00
Ronnie Sahlberg
efff995e4d Updated DELTA_TRUSTED_DOMAINS and DELTA_ACCOUNTS
svn path=/trunk/; revision=5835
2002-07-07 11:04:09 +00:00
Ronnie Sahlberg
ec515ae59f Updated DELTA_ALIAS_MEMBER and DELTA_POLICY
svn path=/trunk/; revision=5834
2002-07-07 09:49:16 +00:00
Ronnie Sahlberg
082e7f6317 Updated DELTA_GROUP_MEMBER and DELTA_ALIAS structures.
svn path=/trunk/; revision=5833
2002-07-07 05:15:54 +00:00
Ronnie Sahlberg
f2260a13f6 Tiny DELTA_RENAME_USER and DELTA_RENAME_ALIAS update
svn path=/trunk/; revision=5832
2002-07-07 03:04:03 +00:00
Ronnie Sahlberg
956478dfe1 DELTA_RENAME_GROUP update
svn path=/trunk/; revision=5831
2002-07-07 02:39:51 +00:00
Ronnie Sahlberg
fd0d7e8ebd Verified and changed name of DELTA_GROUP dissector.
svn path=/trunk/; revision=5830
2002-07-07 02:25:39 +00:00
Ronnie Sahlberg
a06d496b18 Renamed SAM_DOMAIN_INFO into DELTA_DOMAN.
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-07 01:07:23 +00:00
Ronnie Sahlberg
4809fcca33 NETLOGON update.
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-06 00:22:05 +00:00
Ronnie Sahlberg
78a1b4f460 Fixed stupid bug I added when updating a structure preparing for the rewrite/update.
Fixed some other buglets as well at the same time.

svn path=/trunk/; revision=5820
2002-07-05 08:59:31 +00:00
Ronnie Sahlberg
ba8a7bfdc2 More NETLOGON updates
svn path=/trunk/; revision=5814
2002-07-02 14:41:51 +00:00
Ronnie Sahlberg
b84e41cf95 More NETLOGON updates
svn path=/trunk/; revision=5813
2002-07-02 10:11:20 +00:00
Ronnie Sahlberg
d2c6e25aef tiny netlogon update
svn path=/trunk/; revision=5808
2002-07-01 13:20:55 +00:00