summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-12-16fixed the RPC-MGMT and RPC-SCANNER tests to work with the newAndrew Tridgell3-50/+136
dcerpc_binding_string code (This used to be commit 1fa68c18facfb6c96d5a274cfd9560cb4b2956f6)
2003-12-16no longer require the pipe name or tcp port number to be the firstAndrew Tridgell2-4/+7
option in the ncacn_* syntax (This used to be commit 74f36d32bb14e94a80e1963cbc95f8fba3f23335)
2003-12-16use bigendian mode to fix the idl for samr_LogonHoursAndrew Tridgell1-1/+1
(This used to be commit 1056618b6a70b32fc17a8290f3efa3334fa1b049)
2003-12-16much better docs on the smbtorture ncacn syntax, including how toAndrew Tridgell1-4/+24
choose bigendian smbtorture on the command line (This used to be commit 31d8e0a7cf9ab6e0cd23056333672de94d6a95b0)
2003-12-16it turns out that a wire policy handle isn't a blob either, its aAndrew Tridgell5-15/+39
uint32 followed by a GUID. I needed to fix this to support running in mixed-mode rpc (where smbtorture is bigendian and w2k3 is little-endian). Otherwise when you send back a policy handle the server doesn't recognise it. (This used to be commit 9b1c76a8e9e953e051072441f8938ee17a674d35)
2003-12-16added support for big-endian ucs2 strings (as used by big-endianAndrew Tridgell4-14/+52
msrpc). this was easier than I expected! (This used to be commit a0a51af6b746b1f82faaa49d33c17fea9d708fb0)
2003-12-16a fairly large commit!Andrew Tridgell25-187/+280
This adds support for bigendian rpc in the client. I have installed SUN pcnetlink locally and am using it to test the samba4 rpc code. This allows us to easily find places where we have stuffed up the types (such as 2 uint16 versus a uint32), as testing both big-endian and little-endian easily shows which is correct. I have now used this to fix several bugs like that in the samba4 IDL. In order to make this work I also had to redefine a GUID as a true structure, not a blob. From the pcnetlink wire it is clear that it is indeed defined as a structure (the byte order changes). This required changing lots of Samba code to use a GUID as a structure. I also had to fix the if_version code in dcerpc syntax IDs, as it turns out they are a single uint32 not two uint16s. The big-endian support is a bit ugly at the moment, and breaks the layering in some places. More work is needed, especially on the server side. (This used to be commit bb1af644a5a7b188290ce36232f255da0e5d66d2)
2003-12-16the out substructure is not empty if there is a return from theAndrew Tridgell1-0/+6
function (This used to be commit d18a08a870aa9ee12ed2913775b70d1b8a09c84b)
2003-12-16enable rep_inet_ntoa() for non-pthread buildsAndrew Tridgell1-1/+4
(This used to be commit f50d4b602af73045e5b15d62fd24224eba849fd1)
2003-12-16more mutex portability.Andrew Tridgell2-10/+10
(This used to be commit 42dd8d888a1d4c09aebb199e8636f49df6d2e36a)
2003-12-16some compilers can't handle structures with no elements. GenerateAndrew Tridgell1-16/+46
dummy elements if need be. (This used to be commit b6fdc984023a76a6c77d03cb3ec12c6c18d215a6)
2003-12-16more portability fixes. We now almost compile on solarisAndrew Tridgell3-15/+17
(This used to be commit f4abd20b8437703211676fb12ea23af8f0e4642a)
2003-12-16use smb_rwlock_t instead of rwlock_t to avoid conflicts with systemAndrew Tridgell3-16/+16
types on some platforms (eg. solaris) (This used to be commit ac8a23af8c67d2e39bb6cfd409c50f1f429cf271)
2003-12-16don't rely on the ability of perl 5.6.x to remove elements from arraysAndrew Tridgell1-1/+4
using delete(). This makes pidl portable back to perl 5.0. (This used to be commit 9175293535246f55f50f52501ec451c951a94eb1)
2003-12-16make sure we have a value for DEFAULT_PRINTING on all platformsAndrew Tridgell1-2/+0
(This used to be commit d0bef33ffa21ce5caaf8e052cbbd2bb32db40b0c)
2003-12-16remove a redundent second check for PAMAndrew Tridgell1-19/+0
(This used to be commit dbc6f31df884268ba649c9d73c6e27eaa79d4cc4)
2003-12-16cope with different cpp formatting on some systems, and make sure weAndrew Tridgell2-2/+16
don't loop forever if we get a cpp format line we don't understand (This used to be commit 003c6c493b1babadb1f7c4eb54babed394bd42a9)
2003-12-15use the @CPP@ value from configure if possible when determining cpp inAndrew Tridgell3-4/+12
pidl (This used to be commit c47e88dabfc62db7533d2d39c7f1010b4188d2ea)
2003-12-15lets see if "cc -E" keeps more of the build farm happy then "cpp"Andrew Tridgell1-1/+1
We'll probably need a configure entry for this (This used to be commit 66e648f20ffd34e2cff1b94003db9974d2bac318)
2003-12-15lots of shells don't have the -nt test, so use hackish find commandAndrew Tridgell1-2/+7
instead (This used to be commit 2d57346c2d07e43c4630a7f7963173d84c5a7c92)
2003-12-15added "pidl.pl --template" to dump a rough template to save typingAndrew Tridgell3-2/+96
when starting a pipe. Thanks to metze for a script that gave the idea. do something like this to use it: pidl.pl --parse --template librpc/idl/XXX.idl > rpc_server/XXX/rpc_XXX.c then fill in the functions in rpc_XXX.c (This used to be commit 68e71d7497ddc7b8239fc4bd7cb3e780a1f53a39)
2003-12-15fixed srvsvc DiskEnum callAndrew Tridgell2-17/+19
strangely, the output doesn't seem to contain an info level. Some programmer stuffed up the IDL :) (This used to be commit a39ee5d00341e1dbde0b38474ba4d5e980e74538)
2003-12-15patch from metze with updates to srvsvc and changes to pidl to allowAndrew Tridgell3-88/+126
for the server rpc boilerplate to correctly generate for multiple interfaces on an endpoint (This used to be commit 56143689ecf623e8a6ef5c453e6ad1ca9404411c)
2003-12-15make sure we allow clients to negotiate ntlmssp seal if they want itAndrew Tridgell1-1/+2
(This used to be commit a1275c1e89462f0a3cce73066777055c3c970b76)
2003-12-15make pidl no longer dependent on Data::Dumper, which isn't installedAndrew Tridgell8-18/+4
on some systems (This used to be commit a4aa9168c0f80cf6e758c380d41335db50d06869)
2003-12-15fixed a typo in the m4 fileAndrew Tridgell1-1/+1
(This used to be commit e472053bcc4761411fc03920672c1739af3bfb68)
2003-12-15"make idl" is now incremental and "make idl_full" is a full idl buildAndrew Tridgell1-4/+4
(This used to be commit 113e772e3750ca1e661157394ccff1b59da76ceb)
2003-12-15a script fix for the build farmAndrew Tridgell1-1/+2
(This used to be commit 5f6b0baa300d088a6d7fb91fcbceff594292eaa0)
2003-12-15disable pam in samba4 until someone fixes it (hi andrew!)Andrew Tridgell1-4/+6
(This used to be commit 1012c6e3f763962955a21e4c91285656b4e89ccf)
2003-12-15don't try and build the libclient stuff in samba4 yetAndrew Tridgell1-1/+1
(This used to be commit 65d2bda9509a9455f70eceac51ecef9b2048773d)
2003-12-15more flexible handling of [] in binding stringsAndrew Tridgell1-2/+14
(This used to be commit edc67fffeaee5fe4bbbc6fbd76345d0a9d5b2093)
2003-12-15added some ncacn_* binding string examplesAndrew Tridgell1-0/+31
(This used to be commit 4a6822eb5b9e880b1fb33c020aa88192384a063c)
2003-12-15allow the specification of full dcerpc endpoint binding strings on theAndrew Tridgell3-125/+320
command line. This allows you to (for example) control signing/sealing of smbtorture RPC sessions (This used to be commit a73825eb496d5924012ea926fcbac8c956fe081e)
2003-12-15switch off the default of ntlmssp on rpc on smb as some windows pipesAndrew Tridgell1-1/+1
can't handle it (I'd switched it on while experimenting, and forgot to switch it off before committing) (This used to be commit 837d8f73a9601329cec0f885df84648a2a3c196d)
2003-12-15fixed the handling of zero-length top level arrays in pidlAndrew Tridgell1-3/+5
(This used to be commit fa45529af72090c2604708a651d5e5714a844d72)
2003-12-15zero length echo is not an errorAndrew Tridgell1-0/+4
(This used to be commit f21d6351d0441e5bc77aca07a2863ef9f999bb92)
2003-12-15fixed the transfer syntax in the dcerpc bind replyAndrew Tridgell1-2/+2
(This used to be commit 39a7c660f4b7cafb0414842329669dd4724b07db)
2003-12-14added auto-generation of the server side boilerplate code for eachAndrew Tridgell11-170/+167
pipe. The server side code gets generated as librpc/gen_ndr/ndr_NAME_s.c and gets included in the pipe module (This used to be commit bd3dcfe5820489a838e19b244266bd9126af5eb4)
2003-12-14typoSimo Sorce1-2/+1
(This used to be commit 2afbd1e0005517d8ceb584ccbf8a85c4527cb866)
2003-12-14fixed fragmented signed connections to our rpc server over SMBAndrew Tridgell3-2/+5
(This used to be commit f5df126c254bcb96dfb42096d7247215c7e7a89a)
2003-12-14reduce double explanation of FIXED ARRAYSSimo Sorce1-13/+4
(This used to be commit 6f33109b102d41d98ffd536fe2234fbaae85b02e)
2003-12-14ntlmssp over rpc over tcp now fully worksAndrew Tridgell6-26/+373
I needed to hack the ntlmssp code a little, as the auth code in samba4 is out of date relative to the samba3 auth code. I need to do a merge :) (This used to be commit 6ee0935afe9444bf9bb24eed4e02e8377dc746b7)
2003-12-14fix _ptr_ declarationAndrew Tridgell1-2/+2
(This used to be commit 5fed4681edc93405a8b39080adfe72af8beea65d)
2003-12-14fixed some memory leaks in the rpc server codeAndrew Tridgell3-12/+16
(This used to be commit 20458556017f426ab57ca9a9d098cacecefbdcff)
2003-12-14fixed a bug handling multiple PDUs being read from a socket at oneAndrew Tridgell7-103/+160
time in the rpc server. started on the framework for the dcerpc authentication server code (This used to be commit 74041b6a0a60d792e1b220496d66ec27b9ee6c25)
2003-12-13add the ntlmssp calls back into smbtorture on rpc over tcp. The samba4Andrew Tridgell1-1/+1
rpc server doesn't do ntlmssp yet, so this breaks the tests, but that is the next step. (This used to be commit ebe29305af82553ef0197d1950b57f8ff8efa78b)
2003-12-13completed the linkage between the endpoint mapper and the dcerpcAndrew Tridgell12-88/+193
server endpoints. We can now successfully setup listening endpoints on high ports, then use our endpoint mapper redirect incoming clients to the right port. also greatly cleanup the rpc over tcp session handling. (This used to be commit 593bc29bbe0e46d356d001160e8a3332a88f2fa8)
2003-12-13make the IO in the dcerpc over TCP server completely async, handlingAndrew Tridgell3-3/+61
partial packets on both input and output (This used to be commit 4f46606af880f6dd86c20b8dc5799102a8e80cc9)
2003-12-13dcerpc over tcp in the samba4 server now works to some extent. ItAndrew Tridgell15-91/+496
needs quite a bit more work to get it finished. The biggest missing feature is the lack of NTLMSSP which is needed for basic authentication over tcp (This used to be commit 9fb0f0369356909c99389e2cbc525be27c08793c)
2003-12-13rpcdump.exe now works fine against a Samba4 serverAndrew Tridgell5-13/+68
for some reason the epm_Lookup replies can't be parsed by ethereal, although w2k parses then fine as does the Samba4 NDR code. (This used to be commit 097e7ca99d947932df5674c36e628ca6b8f31d3a)