1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

108 Commits

Author SHA1 Message Date
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
Jelmer Vernooij
9a9b942167 r21565: Import ndrdump (doesn't compile yet, needs table support functions). 2007-10-10 12:18:14 -05:00
Jelmer Vernooij
952f648d81 r21562: Regenerate gen_ndr after pidl changes. 2007-10-10 12:18:13 -05:00
Jelmer Vernooij
e73a418b5b r21462: Fix EnumValue (?) 2007-10-10 12:18:06 -05:00
Jelmer Vernooij
b84370513f r21385: Regenerate IDL after pidl changes, sync winreg.idl from samba4. 2007-10-10 12:18:00 -05:00
Jelmer Vernooij
1dc2ba09c7 r21203: Regenerate C files after pidl updates. 2007-10-10 12:17:47 -05:00
Volker Lendecke
a2ea54c234 r21074: Preparation for the import of samba4 notify: Add the file notify.idl and the
resulting marshalling/unmarshalling routines in gen_ndr/

Volker
2007-10-10 12:17:33 -05:00
Jelmer Vernooij
0596badb41 r20875: Pass DCE/RPC server call arguments as a struct rather than as separate arguments.
This makes it a bit more similar to the Samba4 code.
2007-10-10 12:17:16 -05:00
Jelmer Vernooij
d948d828d5 r20839: Fix other C++ warnings 2007-10-10 12:17:11 -05:00
Jelmer Vernooij
840485686d r20837: Use real type name, to fix compilation with -WC++-compat 2007-10-10 12:17:11 -05:00
Jelmer Vernooij
580f2a7197 r20832: Remove extra pointers previously added to unique [out] pointers. Instead,
add [ref] pointers where necessary (top-level [ref] pointers,
by spec, don't appear on the wire).

This brings us closer to the DCE/RPC standard again.
2007-10-10 12:17:11 -05:00
Jelmer Vernooij
5f86d006de r20674: Regenerate NDR parsers after pidl changes. This should fix a couple of
coverity warnings.
2007-10-10 12:17:02 -05:00
Volker Lendecke
38a88ed5d7 r19946: in SetKeySec, sd is just a [in,ref] ptr 2007-10-10 12:16:14 -05:00
Volker Lendecke
978a6196bf r19930: Revert the winreg idl changes. At least enumkey does not work anymore today.
With more than 5 different trees I can't swear that I did test this properly
yesterday. Sorry for the noise.

Volker
2007-10-10 12:16:10 -05:00
Volker Lendecke
b714b51884 r19919: Convert winreg_EnumKey to use ref ** instead of a unique *.
Volker
2007-10-10 12:16:10 -05:00
Volker Lendecke
1b460d6cdf r19918: Convert winreg_CreateKey to use a ref ** instead of a unique *. W2k3 can still
create keys on Samba and vice versa.

Jelmer, please check.

Thanks,

Volker
2007-10-10 12:16:09 -05:00
Volker Lendecke
fb5bcb826e r19916: Fix some c++ warnings 2007-10-10 12:16:09 -05:00