1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

138 Commits

Author SHA1 Message Date
Volker Lendecke
bccadf83bb Fix two unused variable warnings
I know this will be overwritten by the next "make idl", but it just bugs me
*now* :-)

Volker
(This used to be commit a0abb88521)
2007-12-07 14:05:05 +01:00
Günther Deschner
58944aa5a5 Forgot header in previous commit.
Guenther
(This used to be commit 8a1b306b82)
2007-12-03 18:43:19 +01:00
Günther Deschner
59e9d5b449 Regenerate pidl rpc client calls that are WERROR based.
Guenther
(This used to be commit 298b0ce951)
2007-12-03 18:43:19 +01:00
Günther Deschner
7557964bee Merge recent wkssvc changes from samba4.
Guenther
(This used to be commit 7539fb4c84)
2007-11-30 01:45:07 +01:00
Volker Lendecke
c046a2f527 Add ndr_errstr
(This used to be commit e3b36073f1)
2007-11-11 09:12:30 +01:00
metze
5290ea864e ndr: change NTSTAUS into enum ndr_err_code (ndrdump)
librpc/tools/ndrdump.c

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25919 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 95530073de)
2007-11-09 21:23:16 +01:00
Stefan Metzmacher
08ace73dbb rerun make idl
metze
(This used to be commit 53a636828d)
2007-11-09 21:23:15 +01:00
Stefan Metzmacher
909b03d3c6 ndr: change NTSTAUS into enum ndr_err_code (samba3 handwritten stuff)
ndr_misc.c
ndr_sec.h
ndr_sec_helper.c
librpc/ndr/sid.c

metze
(This used to be commit 42590e917a)
2007-11-09 21:23:15 +01:00
metze
427b48a92c ndr: change NTSTAUS into enum ndr_err_code (basic stuff)
librpc/ndr/

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25916 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit b1b8088caf)
2007-11-09 21:23:14 +01:00
Volker Lendecke
0fb6a301d9 Fix some warnings
(This used to be commit df42038f88)
2007-11-09 15:17:35 +01:00
Stefan Metzmacher
84df457860 use samba4's librpc/ndr/uuid.c
metze
(This used to be commit c148e91fde)
2007-11-09 11:51:20 +01:00
Stefan Metzmacher
128fa582a6 sync the most parts of librpc/ndr with samba4
metze
(This used to be commit 201800a4c9)
2007-11-08 14:36:13 +01:00
Stefan Metzmacher
248e900374 we should not ignore convert_string_talloc() failures.
In all other places in ndr_string.c we already use False...

metze
(This used to be commit 9a201fd4c8)
2007-11-08 13:52:56 +01:00
metze
e0c24fa248 - check return value of ndr_push_set_switch_value()
- 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 a0d0a06a9e)
2007-11-07 12:13:09 +01:00
metze
aef317ea57 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
(This used to be commit 55d01b3f5b)
2007-11-07 12:13:09 +01:00
metze
a01f9e3fc0 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
(This used to be commit be1f2f1abf)
2007-11-07 12:11:34 +01:00
metze
a0f59767f4 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
(This used to be commit 91ccaa8e70)
2007-11-07 12:11:33 +01:00
metze
f966752da7 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
(This used to be commit aa155b2c29)
2007-11-07 12:11:33 +01:00
metze
ff595ad9c8 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
(This used to be commit f3dde8c7b7)
2007-11-07 12:11:32 +01:00
metze
0f904f7d2a 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
(This used to be commit 1563a08cb0)
2007-11-07 12:10:31 +01:00
metze
ac8cf500d4 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
(This used to be commit b542eaf825)
2007-11-07 12:10:30 +01:00
metze
e04b21f7d4 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
(This used to be commit 52c422f4d7)
2007-11-07 12:10:30 +01:00
metze
fbb8cff0b8 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
(This used to be commit 8ed241532a)
2007-11-07 12:10:29 +01:00
Stefan Metzmacher
acc95a43a1 rerun make idl
metze
(This used to be commit 83b3ecde13)
2007-10-27 11:57:48 +02:00
metze
5a57da8e37 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
(This used to be commit 3625ed395c)
2007-10-27 10:27:38 +02:00
Jeremy Allison
30191d1a57 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.
(This used to be commit f35a266b3c)
2007-10-18 17:40:25 -07:00
Stefan Metzmacher
ba7a979e53 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
(This used to be commit cb98869fa1)
2007-10-17 10:35:51 +02:00
Jeremy Allison
8e54530b52 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.
(This used to be commit 3f6bd0e1ec)
2007-10-10 18:25:16 -07:00
Günther Deschner
07cbec10b1 r25593: Add missing security_secinfo bits as seen while managing security descriptor
inheritance with regedit.

Guenther
(This used to be commit 534ee13596)
2007-10-10 12:31:16 -05:00
Stefan Metzmacher
725cbf6cc6 r25245: rerun 'make idl'
metze
(This used to be commit af91f4fd08)
2007-10-10 12:30:53 -05:00
Stefan Metzmacher
e273187811 r24605: remove some stuff samba3 doesn't need any more
metze
(This used to be commit 5514e8487f)
2007-10-10 12:30:10 -05:00
Stefan Metzmacher
96567fa3ea 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
(This used to be commit 5c4d998300)
2007-10-10 12:30:08 -05:00
Stefan Metzmacher
18a48df488 r24594: pass down the ndr_interface_table in the samba3 client bindings
instead of the pull and push functions

metze
(This used to be commit 5e3d4df9bc)
2007-10-10 12:30:08 -05:00
Stefan Metzmacher
8fb2e83733 r24564: regenerate after pidl changes...
metze
(This used to be commit ec8858c374)
2007-10-10 12:30:05 -05:00
Stefan Metzmacher
8da26d3f96 r24561: merge from SAMBA_4_0:
rename some DCERPC_ prefixes into NDR_

metze
(This used to be commit 8f07b8ab65)
2007-10-10 12:30:03 -05:00
Stefan Metzmacher
2f3511c56e r24558: merge from SAMBA_4_0:
rename 'dcerpc_table_' -> 'ndr_table_'

metze
(This used to be commit 4e5908cd59)
2007-10-10 12:29:57 -05:00
Stefan Metzmacher
c2628e19a7 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
(This used to be commit f57d23d0f1)
2007-10-10 12:29:56 -05:00
Stefan Metzmacher
24c594d0b3 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
(This used to be commit 9fec0d6c2c)
2007-10-10 12:29:55 -05:00
Stefan Metzmacher
68821746d8 r24538: merge from SAMBA_4_0:
rename struct dcerpc_interface_call -> struct ndr_interface_call
and move it to librpc/ndr/libndr.h

metze
(This used to be commit 24e096b365)
2007-10-10 12:29:55 -05:00
Stefan Metzmacher
b018c9b9a2 r24537: regenerate after pidl fixes
metze
(This used to be commit e827c7311c)
2007-10-10 12:29:54 -05:00
Stefan Metzmacher
5da47f8518 r24533: merge from SAMBA_4_0:
rename dcerpc_syntax_id -> ndr_syntax_id

metze
(This used to be commit 7facd9bf3f)
2007-10-10 12:29:54 -05:00
Stefan Metzmacher
fe068284e9 r24458: regenerate pidl output after pidl fixes:
fixes winreg_EnumValues()

metze
(This used to be commit cedf7022c5)
2007-10-10 12:29:49 -05:00
Stefan Metzmacher
ffae125ad0 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
(This used to be commit a3fd68d485)
2007-10-10 12:29:49 -05:00
Günther Deschner
968c43f874 r24360: Make ndr_print_debug_helper() output readable.
Guenther
(This used to be commit 45ee3b55d5)
2007-10-10 12:29:36 -05:00
Volker Lendecke
0c03be5503 r23808: Make us a bit more C++ friendly. Thanks to Constantine Vetoshev
<gepardcv@yahoo.com> for checking.
(This used to be commit 84b8a56fe9)
2007-10-10 12:28:29 -05:00
Andrew Tridgell
5e54558c6d r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
(This used to be commit b0132e94fc)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80 r23779: Change from v2 or later to v3 or later.
Jeremy.
(This used to be commit 407e6e695b)
2007-10-10 12:28:20 -05:00
Günther Deschner
a458211702 r23622: regenerate dfs rpc gen_ndr.
Guenther
(This used to be commit 71b3259962)
2007-10-10 12:23:37 -05:00
Günther Deschner
4010f9847a r23621: Merge samba4 dfs rpc idl.
Guenther
(This used to be commit bb43d56e92)
2007-10-10 12:23:37 -05:00
Volker Lendecke
de565785f5 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
(This used to be commit 15553d6327)
2007-10-10 12:23:14 -05:00