summaryrefslogtreecommitdiff
path: root/source3/librpc
AgeCommit message (Collapse)AuthorFilesLines
2007-11-08sync the most parts of librpc/ndr with samba4Stefan Metzmacher4-228/+382
metze (This used to be commit 201800a4c960d4f2afeb6cc760ac303df76d5e36)
2007-11-08we should not ignore convert_string_talloc() failures.Stefan Metzmacher1-1/+1
In all other places in ndr_string.c we already use False... metze (This used to be commit 9a201fd4c81509eb8a93087a38bb0fda69dfd7e4)
2007-11-07- check return value of ndr_push_set_switch_value()metze1-1/+8
- fix memory leaks in error pathes metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25798 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit a0d0a06a9e39ea4fd07e9381f4b3397f403ab79d)
2007-11-07use error and out logicmetze1-3/+7
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25797 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 55d01b3f5b55cab3228270c0f6c164f11b0803f5)
2007-11-07use NT_STATUS_HAVE_NO_MEMORY()metze1-3/+1
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25796 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit be1f2f1abf15b34f8ab08d9e63637962fa762853)
2007-11-07use NDR_CHECK()metze1-4/+3
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25794 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 91ccaa8e70f1665bd759a80363cda9605399464e)
2007-11-07check the return value of ndr_push_set_switch_value()metze1-1/+1
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25793 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit aa155b2c2936c0e9996eda0a21f137773270343a)
2007-11-07use NT_STATUS_HAVE_NO_MEMORY() and NDR_CHECK()metze1-16/+6
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25792 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit f3dde8c7b73b619a54814bc6a862fa917455b624)
2007-11-07the return value of ndr_pull_set_switch_value() should be checkedmetze1-2/+2
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25779 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 1563a08cb07738c11ea7b68ba9e814885060b0b7)
2007-11-07use NT_STATUS_HAVE_NO_MEMORY() and NDR_CHECK() macrosmetze1-22/+10
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25778 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit b542eaf825aa42b53f08c73e2b86ee9fafb33256)
2007-11-07add NDR_ERR_UNREAD_BYTES and don't use NTSTATUS directlymetze2-3/+10
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25777 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 52c422f4d7f8549a11d637de1abceabc1ae86497)
2007-11-07create ndr_pull_union_blob_all() and match the logic of the struct fnsmetze1-4/+20
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25774 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 8ed241532a069c4207945d5f1ceb1ec817ba7976)
2007-10-27rerun make idlStefan Metzmacher11-447/+1325
metze (This used to be commit 83b3ecde1312092fd9875a2a8628652ffa6b6aca)
2007-10-27add NDR_ERR_INVALID_POINTERmetze2-1/+4
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25744 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 3625ed395c23101095321de80e89fcbc8c76be4c)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison15-372/+372
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-17fix crash bug in pidl generated client code, thisStefan Metzmacher7-84/+84
could have happend with [in,out,unique] pointers when the clients sends a valid pointer, but the server reponse with a NULL pointer (as samba-3.0.26a do for some calls). I've tested with midl to see how windows handles this situation and also the reverse case where the client sends NULL and the server reposnse with non-NULL. It appears that midl generated code just ignores this and only copies the result if both pointers are non-NULL. metze (This used to be commit cb98869fa189ce2a926a00fa9077a114f31a5d45)
2007-10-10Add start of IPv6 implementation. Currently most of this is avoidingJeremy Allison1-1/+1
IPv6 in winbindd, but moves most of the socket functions that were wrongly in lib/util.c into lib/util_sock.c and provides generic IPv4/6 independent versions of most things. Still lots of work to do, but now I can see how I'll fix the access check code. Nasty part that remains is the name resolution code which is used to returning arrays of in_addr structs. Jeremy. (This used to be commit 3f6bd0e1ec5cc6670f3d08f76fc2cd94c9cd1a08)
2007-10-10r25593: Add missing security_secinfo bits as seen while managing security ↵Günther Deschner3-1/+13
descriptor inheritance with regedit. Guenther (This used to be commit 534ee13596cd4d95b61ae973823b3041bd889216)
2007-10-10r25245: rerun 'make idl'Stefan Metzmacher13-1897/+1897
metze (This used to be commit af91f4fd08aae117d9b48eade4d49762c9634cbc)
2007-10-10r24605: remove some stuff samba3 doesn't need any moreStefan Metzmacher2-65/+0
metze (This used to be commit 5514e8487fee453b730a966ebc6fcdcd56da047a)
2007-10-10r24597: - talloc request structure for the samba3 server bindingsStefan Metzmacher12-7435/+9997
and make that the primary context for the request which the implementations can also use. - go via functions pointers in the ndr_interface_table instead of calling functions directly. metze (This used to be commit 5c4d998300d0c9836eb3cc6c3cd8ee4f262396b8)
2007-10-10r24594: pass down the ndr_interface_table in the samba3 client bindingsStefan Metzmacher12-366/+366
instead of the pull and push functions metze (This used to be commit 5e3d4df9bca069708d72f548dc5ddfc7708ac122)
2007-10-10r24564: regenerate after pidl changes...Stefan Metzmacher12-12/+0
metze (This used to be commit ec8858c37482f0d2ac1291d9a9df00dace6944a8)
2007-10-10r24561: merge from SAMBA_4_0:Stefan Metzmacher50-1184/+1184
rename some DCERPC_ prefixes into NDR_ metze (This used to be commit 8f07b8ab658ae3d63487ca5fb20065318cdd9d0e)
2007-10-10r24558: merge from SAMBA_4_0:Stefan Metzmacher26-38/+38
rename 'dcerpc_table_' -> 'ndr_table_' metze (This used to be commit 4e5908cd596f97d3bb73bd9c0bf3d360944f7810)
2007-10-10r24552: merge from SAMBA_4_0:Stefan Metzmacher27-33/+46
rename dcerpc_interface_table -> ndr_interface_table rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze (This used to be commit f57d23d0f1b1c7a435f3a4ad801e58519cc92a77)
2007-10-10r24541: merge from SAMBA_4_0:Stefan Metzmacher13-24/+29
rename struct dcerpc_endpoint_list/struct dcerpc_authservice_list into ndr_interface_string_array and move it to libndr.h metze (This used to be commit 9fec0d6c2ceaf66752baa5c8a34821bef2c5b833)
2007-10-10r24538: merge from SAMBA_4_0:Stefan Metzmacher14-14/+23
rename struct dcerpc_interface_call -> struct ndr_interface_call and move it to librpc/ndr/libndr.h metze (This used to be commit 24e096b3659c3070a1ce029174fba51ae59e89ad)
2007-10-10r24537: regenerate after pidl fixesStefan Metzmacher2-2/+2
metze (This used to be commit e827c7311ce9890358be145099391c6b3cee15a1)
2007-10-10r24533: merge from SAMBA_4_0:Stefan Metzmacher4-9/+14
rename dcerpc_syntax_id -> ndr_syntax_id metze (This used to be commit 7facd9bf3ffd0718bc9f9161274d18a0014f3744)
2007-10-10r24458: regenerate pidl output after pidl fixes:Stefan Metzmacher4-8/+8
fixes winreg_EnumValues() metze (This used to be commit cedf7022c5c61ed5eb49bb1cb24b062858f7d2fd)
2007-10-10r24450: merge from SAMBA_4_0:Stefan Metzmacher1-2/+2
length_is() isn't supported without size_is(). I assume what we need is an array of strings, so the code isn't used and broken anyway without a testsuite...just get rid of the pidl warning metze (This used to be commit a3fd68d48582865923e18e8412ac7dca7f725c64)
2007-10-10r24360: Make ndr_print_debug_helper() output readable.Günther Deschner1-2/+2
Guenther (This used to be commit 45ee3b55d51fcde0e5c0ea56069656d6f2647fff)
2007-10-10r23808: Make us a bit more C++ friendly. Thanks to Constantine VetoshevVolker Lendecke3-5/+5
<gepardcv@yahoo.com> for checking. (This used to be commit 84b8a56fe9aef1e0583cf5f5abb037199cf21fd9)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell8-16/+8
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison8-8/+8
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23622: regenerate dfs rpc gen_ndr.Günther Deschner6-248/+2092
Guenther (This used to be commit 71b3259962004c278ca2e859d5460ad47c2468d6)
2007-10-10r23621: Merge samba4 dfs rpc idl.Günther Deschner1-47/+208
Guenther (This used to be commit bb43d56e92f4ea08fbf2ae4fa90570a101efd4e2)
2007-10-10r23410: Merge the core of the cluster code.Volker Lendecke1-0/+10
I'm 100% certain I've forgotten to merge something, but the main code should be in. It's mainly in dbwrap_ctdb.c, ctdbd_conn.c and messages_ctdbd.c. There should be no changes to the non-cluster case, it does survive make test on my laptop. It survives some very basic tests with ctdbd enables, I did not do the full test suite for clusters yet. Phew... Volker (This used to be commit 15553d6327a3aecdd2b0b94a3656d04bf4106323)
2007-10-10r23376: More warningsVolker Lendecke1-4/+6
(This used to be commit a8ec53f022ff66053231818d4a60568675079ede)
2007-10-10r23269: Regenerate svcctl files after IDL fixesGerald Carter5-120/+120
(This used to be commit 92c505bf7f15a79c6e32a38b2d218f65b0283507)
2007-10-10r23268: Rename some variables in the svcctl.idl to preventGerald Carter1-6/+6
redeclaration compile failures in the generated client code. (This used to be commit 87b37de8ad4e91e75530996dde0900b6e1fed622)
2007-10-10r23055: Rewrite messages.c to use auto-generated marshalling in the tdb. I'mVolker Lendecke4-0/+178
doing this because for the clustering the marshalling is needed in more than one place, so I wanted a decent routine to marshall a message_rec struct which was not there before. Tridge, this seems about the same speed as it used to be before, the librpc/ndr overhead in my tests was under the noise. Volker (This used to be commit eaefd00563173dfabb7716c5695ac0a2f7139bb6)
2007-10-10r22747: Fix some C++ warningsVolker Lendecke1-3/+6
(This used to be commit a66a04e9f11f6c4462f2b56b447bae4eca7b177c)
2007-10-10r22736: Start to merge the low-hanging fruit from the now 7000-line cluster ↵Volker Lendecke1-3/+3
patch. This changes "struct process_id" to "struct server_id", keeping both is just too much hassle. No functional change (I hope ;-)) Volker (This used to be commit 0ad4b1226c9d91b72136310d3bbb640d2c5d67b8)
2007-10-10r22055: Port the endpoint mapper (and functions it requires) to Samba 3.Jelmer Vernooij10-3/+4334
(This used to be commit ad981261877e6a2dce0c4f4e71fd9127aa31538a)
2007-10-10r22001: change prototype of dump_data(), so that it takes unsigned char * now,Stefan Metzmacher1-1/+1
which matches what samba4 has. also fix all the callers to prevent compiler warnings metze (This used to be commit fa322f0cc9c26a9537ba3f0a7d4e4a25941317e7)
2007-10-10r21960: Fix bugs 4463,4464,4465,4466. Thanks Jason :-)Volker Lendecke2-5/+5
(This used to be commit a2e27c443101a59ef3429a55e049af3ebd5ec1f2)
2007-10-10r21814: use ndr_push_error in the ndr layer, not just a NTSTATUS failureAndrew Tridgell1-1/+2
(This used to be commit 05bd5cb6eef2f0adacc98fd2c94356006358d3d6)
2007-10-10r21813: fixed an integer overflow error in the ndr push code.Andrew Tridgell2-3/+10
Jerry, you might like to consider this for 3.0.25 (This used to be commit 4b1c4cd25aac98ce6a9959e9708f72b0b65e20af)