metze
55d01b3f5b
use error and out logic
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25797 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-07 12:13:09 +01:00
metze
be1f2f1abf
use NT_STATUS_HAVE_NO_MEMORY()
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25796 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-07 12:11:34 +01:00
metze
91ccaa8e70
use NDR_CHECK()
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25794 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-07 12:11:33 +01:00
metze
aa155b2c29
check the return value of ndr_push_set_switch_value()
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25793 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-07 12:11:33 +01:00
metze
f3dde8c7b7
use NT_STATUS_HAVE_NO_MEMORY() and NDR_CHECK()
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25792 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-07 12:11:32 +01:00
metze
1563a08cb0
the return value of ndr_pull_set_switch_value() should be checked
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25779 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-07 12:10:31 +01:00
metze
b542eaf825
use NT_STATUS_HAVE_NO_MEMORY() and NDR_CHECK() macros
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25778 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-07 12:10:30 +01:00
metze
52c422f4d7
add NDR_ERR_UNREAD_BYTES and don't use NTSTATUS directly
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25777 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-07 12:10:30 +01:00
metze
8ed241532a
create ndr_pull_union_blob_all() and match the logic of the struct fns
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25774 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-07 12:10:29 +01:00
Stefan Metzmacher
83b3ecde13
rerun make idl
...
metze
2007-10-27 11:57:48 +02:00
metze
3625ed395c
add NDR_ERR_INVALID_POINTER
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25744 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-10-27 10:27:38 +02:00
Jeremy Allison
f35a266b3c
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
2007-10-18 17:40:25 -07:00
Stefan Metzmacher
cb98869fa1
fix crash bug in pidl generated client code, this
...
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
2007-10-17 10:35:51 +02:00
Jeremy Allison
3f6bd0e1ec
Add start of IPv6 implementation. Currently most of this is avoiding
...
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.
2007-10-10 18:25:16 -07:00
Günther Deschner
534ee13596
r25593: Add missing security_secinfo bits as seen while managing security descriptor
...
inheritance with regedit.
Guenther
2007-10-10 12:31:16 -05:00
Stefan Metzmacher
af91f4fd08
r25245: rerun 'make idl'
...
metze
2007-10-10 12:30:53 -05:00
Stefan Metzmacher
5514e8487f
r24605: remove some stuff samba3 doesn't need any more
...
metze
2007-10-10 12:30:10 -05:00
Stefan Metzmacher
5c4d998300
r24597: - talloc request structure for the samba3 server bindings
...
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
2007-10-10 12:30:08 -05:00
Stefan Metzmacher
5e3d4df9bc
r24594: pass down the ndr_interface_table in the samba3 client bindings
...
instead of the pull and push functions
metze
2007-10-10 12:30:08 -05:00
Stefan Metzmacher
ec8858c374
r24564: regenerate after pidl changes...
...
metze
2007-10-10 12:30:05 -05:00
Stefan Metzmacher
8f07b8ab65
r24561: merge from SAMBA_4_0:
...
rename some DCERPC_ prefixes into NDR_
metze
2007-10-10 12:30:03 -05:00
Stefan Metzmacher
4e5908cd59
r24558: merge from SAMBA_4_0:
...
rename 'dcerpc_table_' -> 'ndr_table_'
metze
2007-10-10 12:29:57 -05:00
Stefan Metzmacher
f57d23d0f1
r24552: merge from SAMBA_4_0:
...
rename dcerpc_interface_table -> ndr_interface_table
rename dcerpc_interface_list -> ndr_interface_list
and move them to libndr.h
metze
2007-10-10 12:29:56 -05:00
Stefan Metzmacher
9fec0d6c2c
r24541: merge from SAMBA_4_0:
...
rename struct dcerpc_endpoint_list/struct dcerpc_authservice_list
into ndr_interface_string_array and move it to libndr.h
metze
2007-10-10 12:29:55 -05:00
Stefan Metzmacher
24e096b365
r24538: merge from SAMBA_4_0:
...
rename struct dcerpc_interface_call -> struct ndr_interface_call
and move it to librpc/ndr/libndr.h
metze
2007-10-10 12:29:55 -05:00
Stefan Metzmacher
e827c7311c
r24537: regenerate after pidl fixes
...
metze
2007-10-10 12:29:54 -05:00
Stefan Metzmacher
7facd9bf3f
r24533: merge from SAMBA_4_0:
...
rename dcerpc_syntax_id -> ndr_syntax_id
metze
2007-10-10 12:29:54 -05:00
Stefan Metzmacher
cedf7022c5
r24458: regenerate pidl output after pidl fixes:
...
fixes winreg_EnumValues()
metze
2007-10-10 12:29:49 -05:00
Stefan Metzmacher
a3fd68d485
r24450: merge from SAMBA_4_0:
...
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
2007-10-10 12:29:49 -05:00
Günther Deschner
45ee3b55d5
r24360: Make ndr_print_debug_helper() output readable.
...
Guenther
2007-10-10 12:29:36 -05:00
Volker Lendecke
84b8a56fe9
r23808: Make us a bit more C++ friendly. Thanks to Constantine Vetoshev
...
<gepardcv@yahoo.com> for checking.
2007-10-10 12:28:29 -05:00
Andrew Tridgell
b0132e94fc
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
2007-10-10 12:28:22 -05:00
Jeremy Allison
407e6e695b
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
2007-10-10 12:28:20 -05:00
Günther Deschner
71b3259962
r23622: regenerate dfs rpc gen_ndr.
...
Guenther
2007-10-10 12:23:37 -05:00
Günther Deschner
bb43d56e92
r23621: Merge samba4 dfs rpc idl.
...
Guenther
2007-10-10 12:23:37 -05:00
Volker Lendecke
15553d6327
r23410: Merge the core of the cluster code.
...
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
2007-10-10 12:23:14 -05:00
Volker Lendecke
a8ec53f022
r23376: More warnings
2007-10-10 12:23:11 -05:00
Gerald Carter
92c505bf7f
r23269: Regenerate svcctl files after IDL fixes
2007-10-10 12:23:01 -05:00
Gerald Carter
87b37de8ad
r23268: Rename some variables in the svcctl.idl to prevent
...
redeclaration compile failures in the generated client
code.
2007-10-10 12:23:01 -05:00
Volker Lendecke
eaefd00563
r23055: Rewrite messages.c to use auto-generated marshalling in the tdb. I'm
...
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
2007-10-10 12:22:17 -05:00
Volker Lendecke
a66a04e9f1
r22747: Fix some C++ warnings
2007-10-10 12:21:54 -05:00
Volker Lendecke
0ad4b1226c
r22736: Start to merge the low-hanging fruit from the now 7000-line cluster patch.
...
This changes "struct process_id" to "struct server_id", keeping both is
just too much hassle. No functional change (I hope ;-))
Volker
2007-10-10 12:21:52 -05:00
Jelmer Vernooij
ad98126187
r22055: Port the endpoint mapper (and functions it requires) to Samba 3.
2007-10-10 12:19:06 -05:00
Stefan Metzmacher
fa322f0cc9
r22001: change prototype of dump_data(), so that it takes unsigned char * now,
...
which matches what samba4 has.
also fix all the callers to prevent compiler warnings
metze
2007-10-10 12:18:59 -05:00
Volker Lendecke
a2e27c4431
r21960: Fix bugs 4463,4464,4465,4466. Thanks Jason :-)
2007-10-10 12:18:52 -05:00
Andrew Tridgell
05bd5cb6ee
r21814: use ndr_push_error in the ndr layer, not just a NTSTATUS failure
2007-10-10 12:18:36 -05:00
Andrew Tridgell
4b1c4cd25a
r21813: fixed an integer overflow error in the ndr push code.
...
Jerry, you might like to consider this for 3.0.25
2007-10-10 12:18:35 -05:00
Jelmer Vernooij
7fdbf66976
r21655: Regenerate after pidl bugfix.
2007-10-10 12:18:22 -05:00
Jelmer Vernooij
7ce0c5d0cc
r21652: Fix samba3-specific initialization
2007-10-10 12:18:22 -05:00
Jelmer Vernooij
0db258c600
r21651: Add ndrdump to samba 3. This only works from external source at the
...
moment. To use, use something like:
./bin/ndrdump -l bin/smbd winreg winreg_EnumValue in <filename>
or to see what functions are available:
./bin/ndrdump -l bin/smbd winreg
2007-10-10 12:18:21 -05:00