summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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)
2003-12-13added the epm_Map() call.Andrew Tridgell4-68/+170
the RPC-EPMAPPER torture test now passes (This used to be commit fbdcf9ef548aefb1233cbb22a60bff3eacba996f)
2003-12-13added a basic dcerpc endpoint mapper to Samba4. Currently onlyAndrew Tridgell14-39/+562
implements the epm_Lookup() call, I'll add the other important calls soon. I was rather pleased to find that epm_Lookup() worked first time, which is particularly surprising given its complexity. This required quite a bit of new infrastructure: * a generic way of handling dcerpc policy handles in the rpc server * added type checked varients of talloc. These are much less error prone. I'd like to move to using these for nearly all uses of talloc. * added more dcerpc fault handling code, and translation from NTSTATUS to a dcerpc fault code * added data_blob_talloc_zero() for allocating an initially zero blob * added a endpoint enumeration hook in the dcerpc endpoint server operations (This used to be commit 3f85f9b782dc17417baf1ca557fcae22f5b6a83a)
2003-12-12after chatting with jeremy I decided to use a separate directory forAndrew Tridgell2-1/+1
each rpc endpoint implementation, so we will have rpc_server/samr/ rpc_server/lsa/ etc. this should encourage each pipe to be written in a more complete manner, as it gives easy ways to split the pipe into multiple modules. (This used to be commit 30a996b68222de72dd7959a09ff884f266f2fc9a)
2003-12-12Small cleanup of test code. Rename enum indexes to be the same nameTim Potter2-114/+88
for EnumKey and EnumValue. (This used to be commit 817a2fe2e5824e6bb9547697d27c66c0c8356181)
2003-12-12Got winreg_EnumValue working - what a mess!Tim Potter2-20/+86
(This used to be commit cc494086e796c0090a92ac36012727c67e3587d1)
2003-12-12Added routines for arrays of uint16s.Tim Potter1-0/+33
(This used to be commit 370512f6644507ed0457de71ab5a50207e00e750)
2003-12-12added support for sending bind_nak replies in the rpc serverAndrew Tridgell2-17/+79
(This used to be commit 6e7c50bcd9929b6b1400b3155f55e6c9a4a730b3)
2003-12-12added the echo pipe test callsAndrew Tridgell1-2/+45
(This used to be commit 8ad47eff4971e86763f9bd8f298e07d3de7e1089)
2003-12-12we now support pdu fragmentation on both input and output in the rpcAndrew Tridgell2-41/+103
server code (This used to be commit 4dac9517188f2dba06df481071063543ede89495)
2003-12-12added handling of fragmented requests in the rpc serverAndrew Tridgell2-8/+67
now we just need to handle fragmented replies .... (This used to be commit 14005c95d7c6c68f7da0f1ad7b7d7952a04a125b)
2003-12-12handle the auto-allocation of [ref] output arrays in pidl. ThisAndrew Tridgell2-11/+9
can simplify rpc servers a lot. (This used to be commit 28fa62d63d020052a0d2f467f3f9cc6344aaf0ce)
2003-12-12 * the RPC-ECHO pipe now works in smbd, as long as the data sizesAndrew Tridgell21-68/+485
don't cause fragmented pdus (I'll add fragments shortly) * change data_blob_talloc() to not zero memory when the 2nd argument is NULL. The zeroing just masks bugs, and can't even allow a DOS attack * modified pidl to ensure that [ref] arguments to the out side of functions are allocated when parsing the in side. This allows rpc backends to assume that [ref] variables are all setup. Doesn't work correctly for [ref] arrays yet * changed DLIST_ADD_END() to take the type instead of a tmp variable. This means you don't need to declare a silly tmp variable in the caller (This used to be commit 46e0a358198eeb9af1907ee2a29025d3ab23b6d1)