summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
AgeCommit message (Collapse)AuthorFilesLines
1999-10-25- typecast malloc / Realloc issues.Luke Leighton7-56/+59
- signed / unsigned issues. (This used to be commit c8fd555179314baf1672a23db34dc8ad9f2d02bf)
1999-10-25signed / unsigned and typecast issuesLuke Leighton1-54/+56
(This used to be commit 6e22bf912cb981d91834c63098d41f5f8abaa594)
1999-10-25one of those wonderful moments when running against a different MSRPCLuke Leighton1-28/+32
implementation (NT5) when you discover that your code is trash. samr_enum_dom_users(), samr_enum_dom_aliases() and samr_enum_dom_groups() all take a HANDLE for multiple-call enumeration purposes. (This used to be commit 19490d8b4fb8a103f3df4e6104f6f22937b0c518)
1999-10-21the dynamic memory alloc blood-fest goes on...Luke Leighton1-1/+76
(This used to be commit 134b20e2a7b5ddfa4cc9bf100de5025c7b98f594)
1999-10-21turning some of the rpcclient functions dynamic. this is likely toLuke Leighton2-27/+95
break a few things... (This used to be commit 4b06f303235d36903b6e9f55ee45b987d98256b0)
1999-10-21various. debug levels changed. nmbd doesn't need libsmb/clienttrust.c.Luke Leighton1-9/+77
samr_lookup_rids() moved to a dynamic memory structure not a static one limited to 32 RIDs. cli_pipe.c reading wasn't checking ERRmoredata when DOS error codes negotiated (this terminates MSRPC code with prejudice). (This used to be commit 8976eca2db43576c32069dcda017e8777048e007)
1999-10-19need status codes from cli_net_req_chal() and cli_net_auth2().Luke Leighton1-1/+1
this format is what i would like _all_ these functions to be (returning status codes, not BOOL) but that's a horrendous amount of work at the moment :) (This used to be commit 02f240604241367f146b26934ad1a1b2563430de)
1999-10-18initialising enum dom users mem and account name ptrs to NULL.Luke Leighton1-0/+3
(This used to be commit 6f933fb359e7efc7b685e537b95bdadd6e131727)
1999-10-15added prs_struct "error" member, set and checked when prs_structLuke Leighton1-9/+6
data is handled. (This used to be commit b4ba49c5c114764247802bd8b0a6dbc0a7f5c2a1)
1999-10-15adding error checking in parsing codeLuke Leighton1-44/+147
(This used to be commit 4c98d71ebd3f1cdaef664d46c998c864af34632a)
1999-10-15oops! srvinfo 2 command caught bug where strings in containers assumedLuke Leighton1-8/+15
to exist. not good! (This used to be commit 2af635f8b7f346d49d778dd39acb6563156e77f1)
1999-10-15renamed args due to global "class" variableLuke Leighton1-5/+5
(This used to be commit 7b3666f01c743ddf599d432a5bcae4408ca73865)
1999-10-15return results on prs_xxxxx() and all xxx_io_xxx() routines.Luke Leighton14-1289/+2712
the whole task is not complete, yet. xxx_io_xxx() routines that _call_ xxx_io_xxx() routines not done. prs_xxxx() covered by macros. considering doing xxx_io_xxxx in the same way. (This used to be commit 3b583f7be51434af98bc52b48dfa42c4602a3094)
1999-10-14stop over-runs in reading / writing data stream.Luke Leighton1-25/+44
(This used to be commit 144fd01f37bde420234ca474014b0f378d9f8975)
1999-10-07- added rudimentary CAP_UNICODE support because i thought it was part ofLuke Leighton1-5/+25
a problem i was having. - added rudimentary CAP_STATUS32 support for same reason. - added hard-coded, copy-the-same-data-from-over-the-wire version of CAP_EXTENDED_SECURITY, which is a security-blob to encapsulate GSSAPI which encodes SPNEGO which is used to negotiate Kerberos or NTLMSSP. i have implemented NTLMSSP which negotiates NTLMv1 or NTLMv2 and 40-bit or 128-bit etc. i have implemented NTLMv1 / 40-bit. *whew*. (This used to be commit e5b80bd2f76fda70e41e4a9007eb035dab92ed8e)
1999-10-01splitting dom info into sam_query_dominfo functionLuke Leighton1-2/+3
(This used to be commit 39c367b8e9932f64fa774b807e14416f97254312)
1999-09-24Correctly handle the dependent files in the printer_driver_info_3 structJean-François Micouleau1-3/+13
It means complex printer drivers should now download fine. J.F. (This used to be commit a893df5c00189d7e81efd619a4a4ee2bd8ead61f)
1999-09-24Alan (alanh@pinacl.co.uk) found a nasty bugJean-François Micouleau1-1/+1
J.F. (This used to be commit 7dc7801c20d53caef09519231a65403e007344e6)
1999-09-21testing for attempts to get more info levels into samr_query_userinfoLuke Leighton1-4/+46
(This used to be commit cc19d5cc5c20665beb3b7c5fcf7787d54e37ea71)
1999-09-14wow!!!! this one's been here for two years!!!! alignment issuesLuke Leighton1-0/+2
in smb_io_dom_query() where the string name could mis-align! added a call to prs_align() after the domain string name. (This used to be commit 1d05d2c959f41fffb9a85d161b9b64c957ee90e7)
1999-09-12- initialising mach_passwd_file locks to zero (prev. uninit.)Luke Leighton1-1/+1
- cleanup - #defined report to sprintf as it's #defined to another function in other uses of cmd_lsarpc.c (This used to be commit 8fb2ff247a2fe0ec5ce0c232d8a3da9774f7e6ae)
1999-08-23Removing a stray return, probably inserted during debugging, which brokeMatthew Chapman1-2/+0
NetrShareEnum. Be careful what you commit Luke... (This used to be commit cc27dba003d2f2ebcf05d01a750d3ee9350b0eb7)
1999-08-18event log update, netsessenum, netconnenum update.Luke Leighton1-2/+11
(This used to be commit 819af560745b0bec7bfb9067dd9d9d6cfabb1555)
1999-08-18event log updateLuke Leighton1-17/+16
(This used to be commit bcc1212b07c71256fad93d82a996fa86b27db250)
1999-08-03changing debug output message reg_io_unknown_1 to reg_io_close.Luke Leighton1-2/+2
(This used to be commit c4901f595193f73b0c248d9315d3bbf547a5dafc)
1999-08-03reverted jeremy's c++-like security descriptor modifications as theLuke Leighton3-389/+247
simplest method to get rpcclient's reggetsec command working. the buffers passed as arguments in do_reg_get_key_sec() do need to be locally allocated not dynamically allocated, as two calls to reg_get_key_sec() are needed. on the first, the server fills in the size of the security descriptor buffer needed. on the second, the server fills in the security descriptor buffer. (This used to be commit b2d9cbef6f65bb696df8d8f49aa0c240e0bb1f50)
1999-07-27- enumprintprocessors and enumprintmonitors added.Jean-François Micouleau1-55/+352
- getjob (level 1 and 2) done. - better handling of getprinterdriver (level 2). - added workaround to print PCL files. Now the spoolss code should be compliant with all kind of printers :-) Jean Francois (This used to be commit bf9b639bf9162d61eb152af506dc2c1a7e8a4c85)
1999-07-26renaming AUTH VERIFIER to AUTH NTLMSSP VERIFIER. ready for addingLuke Leighton1-7/+8
another RPC authentication system. (This used to be commit 1a211bafebad8c63d98b5ef275a6272013527c65)
1999-07-22BDC support.Matthew Chapman1-7/+3
Fixing and clarifying SAM_PWD structure. (This used to be commit 8e36b07a0e8e7ea8b72e1b9e3b747795b2685e85)
1999-07-21BDC support.Luke Leighton2-29/+135
(This used to be commit 2331aa32ab36c3ee5fd8cfbe972e57299939e33d)
1999-07-01many small bugs...Jean-François Micouleau1-15/+23
J.F. (This used to be commit bda429eb73fa3c0a6d59cf47a8285e3fc0cdae98)
1999-06-29improving authentication code (tidyup).Luke Leighton1-6/+6
(This used to be commit ab1a6aa42db5217f025941fb5107436556bc23b7)
1999-06-22Fixed most memory leak and big-endian bug in the spoolss code.Jean-François Micouleau1-0/+109
Also added addform/setform rpc api calls. Now I can add/change forms from the server property dialog box. Jean Francois (This used to be commit 8d73f83b6c112327a51c0df2e96a1866deb13c3a)
1999-06-02Some more BDC-related fixes, mainly to the NET_SAM_SYNC RPC with respectMatthew Chapman1-31/+66
to alignment, missing fields, etc. - it should now work correctly. There is still the problem of decoding the private data field. (This used to be commit c3c25e762fbc30d5663323f23449c913f2ce4b0e)
1999-05-06alignment needed after unicode string names in password change.Luke Leighton1-0/+3
(This used to be commit e66b6afc699593789e7a8372ddaa407c320cd15d)
1999-05-03last part of RPC api change.Jean-François Micouleau1-0/+11
and of rpcclient eventlog funtion Jean Francois (This used to be commit 7fc8659e83bf0269df297016beac6793ff0bdf32)
1999-05-03Added a new command to rpcclient: eventlog <log> where <log> is System,Jean-François Micouleau1-0/+236
Security or Application. That's a crude equivalent to the eventviewer. Jean Francois (This used to be commit 66b4b896fbcabb964a427d0c0aa2f57997e0f6bb)
1999-05-01Adding "time" rpcclient command which displays the remote time.Matthew Chapman1-0/+11
Also added special "now" time to the "at" command, e.g.: at now /i cmd ; pops up a command prompt (This used to be commit f456dcf08ec96c631f5e6f2e857115d4bbf94d1b)
1999-04-27rpc_parse/parse_misc.c : defined a new BUFFER5 structJean-François Micouleau3-5/+105
include/ntdomain.h : added rpc_spoolss.h include statement include/proto.h include/rpc_dce.h : added definition of RPC_ALTER_CONTEXT request & reply param/loadparm.c : 2 new options for NT printing support and some changes to initial values in the LPRNG case. rpc_parse/parse_prs.c : added prs_uint16s() rpc_parse/parse_rpc.c : added SYNT_SPOOLSS_V1 and code for the alter-context support. rpc_server/srv_pipe.c : alter-context support smbd/nttrans.c smbd/server.c include/rpc_misc.h Makefile.in include/smb.h Jean Francois (This used to be commit 4c515804b70254248e378a3f90f47e4c32639d29)
1999-04-27Adding RPC spoolss code support and some new low-level printing functions.Jean-François Micouleau1-0/+3389
Jean Francois (This used to be commit 9e8192cc674db7551569d23982877dd25c488b50)
1999-04-23Adding scheduler control pipe (\atsvc), client-side routines, and rpcclientMatthew Chapman2-0/+286
command "at" (compatible with NT's "at" command - see rpcclient commit) - useful for remote NT administration. (This used to be commit cf30a472f702d7b50c3a85e2cf2f55b46a2bd452)
1999-04-11Incorrect length (number of unicode characters rather than buffer size)Matthew Chapman1-1/+1
passed to ascii_to_unibuf in make_buffer2 was breaking User Manager. (This used to be commit c518cef78d53a76451e5ea0ac93d75930306fa47)
1999-04-08Mainly BDC-related changes.Matthew Chapman4-44/+550
* Added SEC_CHAN_BDC * Propagate sec_chan into the various functions which change trust account passwords, so they can be used for domain control and inter-domain trusts. * Fix for endianness problem reported by Edan Idzerda <edan@mtu.edu>. A BUFFER2 is really a "unibuf" in my terminology and we should treat it as such. * Added some more common NT structures (BIGINT, BUFHDR2, BUFFER4). * Added NET_SAM_SYNC (-> NetDatabaseSync2) RPC for account replication. Still experimental and incomplete, with a few too many NULL security descriptors lying around (must go look at Jeremy's SD code). Haven't worked out password encryption yet either. However, the XXX_INFO structures I've added to rpc_netlogon.h are quite nice as they give some insight into how these objects are stored in the SAM. (This used to be commit 7b830350eb54dc9d357c115e12ddf9a0633527ac)
1999-03-29added SamrQueryDomainInfo call info level 0x3 for kix32.exe supportLuke Leighton1-4/+37
(This used to be commit ac070dfd39bfa9b60680855585155ce528ab7691)
1999-03-25added SAMR_USER_INFO_24 info level to samr_set_userinfo. this is usedLuke Leighton1-0/+49
by "Welcome to SAMBA Domain". (This used to be commit 4aed18b5e1e2309c0f6931fbfdd604b01cb9498a)
1999-03-25SAM database "set user info".Luke Leighton2-23/+313
---------------------------- - removed DOM_RID4 - removed SAMR_UNKNOWN_32 - added SAMR_SET_USERINFO (opcode 0x32) - added level 0x1 to SAMR_QUERY_DOM_INFO (needed for create user) - fixed pwdb_gethexpwd() it was failing on XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - added mod_sam21pwd_entry() - preparing to call mod_sam21pwd_entry() - added "user session key" to user_struct.dc. this is md4(nt#) and is needed to decode user's clear-text passwords in SAMR_SET_USERINFO. - split code out in chgpasswd.c to decode 516 byte password buffers. (This used to be commit 2e58ed742435befe419aa366c4052019fede8c23)
1999-03-24matt, you had removed a "pointer" from DOM_R_REF structure which made itLuke Leighton1-1/+5
possible to fix lsa_r_lookup_names, but forgot to add that pointer in to lsa_r_lookup_sids, where DOM_R_REF was also being used. (This used to be commit 9092368af8adbf412c71af7216365e926593d54d)
1999-03-24removed 2 unnecessary args from make_uni_hdr.Luke Leighton5-67/+71
(This used to be commit f84dede27e16a5f02ee6d02fe2d16f2661c65470)
1999-03-24Fixed LSA Lookup Names. There were a few too many NULL pointers in aMatthew Chapman1-7/+20
negative response, which tended to crash lsass.exe. (This used to be commit 6d03f61d2536630968007958345cf44a42b03584)
1999-03-23dynamic memory allocation in samr enum dom users. works with 849 entries now.Luke Leighton1-12/+21
(This used to be commit 103557e26b071bf1e65e025ef5a52ccdbf483d02)