1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-15 16:23:49 +03:00
Commit Graph

110 Commits

Author SHA1 Message Date
Kai Blin
e59c2eaf68 r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.
Also rename the corresponding wrap_ functions.
2007-12-26 11:57:05 -06:00
Jelmer Vernooij
85eeecf997 r26483: Merge ldb module dependency fixes, fix auth python module. 2007-12-21 05:50:41 +01:00
Jelmer Vernooij
32007c6277 r26441: Remove global_loadparm uses. 2007-12-21 05:50:09 +01:00
Jelmer Vernooij
28b1d36551 r26432: Require ndr_pull users to specify iconv_convenience. 2007-12-21 05:50:02 +01:00
Jelmer Vernooij
7352206f44 r26431: Require ndr_push creators to specify a iconv_convenience context. 2007-12-21 05:50:00 +01:00
Jelmer Vernooij
40ae12c086 r26328: remove more uses of global_loadparm. 2007-12-21 05:48:41 +01:00
Jelmer Vernooij
99113075c4 r26266: Remove more global_loadparm uses. 2007-12-21 05:47:42 +01:00
Jelmer Vernooij
56dfcb4f2f r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies. 2007-12-21 05:45:40 +01:00
Stefan Metzmacher
6223c7fddc r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)
lib/messaging/
lib/registry/
lib/ldb-samba/
librpc/rpc/
auth/auth_winbind.c
auth/gensec/
auth/kerberos/
dsdb/repl/
dsdb/samdb/
dsdb/schema/
torture/
cluster/ctdb/
kdc/
ntvfs/ipc/
torture/rap/
ntvfs/
utils/getntacl.c
ntptr/
smb_server/
libcli/wrepl/
wrepl_server/
libcli/cldap/
libcli/dgram/
libcli/ldap/
libcli/raw/
libcli/nbt/
libnet/
winbind/
rpc_server/

metze
2007-12-21 05:45:02 +01:00
Jelmer Vernooij
d174dcbb76 r25902: Move messaging tests to same directory as code. 2007-12-21 05:44:45 +01:00
Jelmer Vernooij
3468952e77 r25446: Merge some changes I made on the way home from SFO:
2007-09-29 More higher-level passing around of lp_ctx.
2007-09-29 Fix warning.
2007-09-29 Pass loadparm contexts on a higher level.
2007-09-29 Avoid using global loadparm context.
2007-10-10 15:07:34 -05:00
Jelmer Vernooij
69de86d2d2 r25047: Fix more warnings. 2007-10-10 15:05:49 -05:00
Jelmer Vernooij
abe8349f9b r25026: Move param/param.h out of includes.h 2007-10-10 15:05:38 -05:00
Jelmer Vernooij
08bb1ef643 r25000: Fix some more C++ compatibility warnings. 2007-10-10 15:05:27 -05:00
Jelmer Vernooij
fc8771fb6a r24717: Some more easy bool conversions, update TODO for registry 2007-10-10 15:02:55 -05:00
Jelmer Vernooij
1ce32673d9 r24712: No longer expose the 'BOOL' data type in any interfaces. 2007-10-10 15:02:54 -05:00
Stefan Metzmacher
f874eca5da r24560: rename some DCERPC_ prefixes into NDR_
metze
2007-10-10 15:02:15 -05:00
Stefan Metzmacher
84651aee81 r24557: rename 'dcerpc_table_' -> 'ndr_table_'
metze
2007-10-10 15:02:15 -05:00
Stefan Metzmacher
4adbebef5d r24551: rename dcerpc_interface_table -> ndr_interface_table
rename dcerpc_interface_list  -> ndr_interface_list

and move them to libndr.h

metze
2007-10-10 15:02:12 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Andrew Tridgell
80002cd12a r23153: a first cut at a fix for the dgram flood problem that volker
found. Not sure this is the best solution, but it should work.
2007-10-10 14:52:58 -05:00
Andrew Tridgell
ffb8b49316 r23059: reject_free needs to be initialised 2007-10-10 14:52:45 -05:00
Stefan Metzmacher
b54584dfab r22748: fix memleaks by passing an mem_ctx to
irpc_servers_byname()

metze
2007-10-10 14:52:09 -05:00
Stefan Metzmacher
3a30bc0d61 r22629: if irpc gets freed within event_loop_once() we crash...
so deferr the freeing

metze
2007-10-10 14:51:56 -05:00
Andrew Tridgell
3df7527aed r21256: - msg_type is not needed in the cluster messaging API
- merge ctdb_get_num_nodes() from bzr tree
2007-10-10 14:44:55 -05:00
Andrew Tridgell
f05072ad74 r21233: first version of samba4 messaging using ctdb is working. This means we
should now work on a real cluster, and not just a localhost simulator
2007-10-10 14:44:50 -05:00
Andrew Tridgell
4474552e8f r21230: added the hooks needed in the cluster layer and the messaging code for
handling messages to remote nodes. Implemented dummy functions in the
'local' cluster backend for the messaging hooks, and modified the
messaging layer to check if the destination is remote and redirect
messages via the cluster layer
2007-10-10 14:44:49 -05:00
Andrew Tridgell
2365abaa99 r20646: first preparations for cluster enablement. This changes "
uint32_t server_id
to
  struct server_id server_id;

which allows a server ID to have an node number. The node number will
be zero in non-clustered case. This is the most basic hook needed for
clustering, and ctdb.
2007-10-10 14:37:23 -05:00
Jelmer Vernooij
8768bec81f r19676: Fix some more dependencies. 2007-10-10 14:25:29 -05:00
Andrew Tridgell
979dd24f5e r19428: moved tdbutil.c from lib/tdb/common/ to lib/util/util_tdb.c
tdbutil.c is Samba specific, so should not be part of the generic tdb
library
2007-10-10 14:21:30 -05:00
Jelmer Vernooij
f7afa1cb77 r17930: Merge noinclude branch:
* Move dlinklist.h, smb.h to subsystem-specific directories
 * Clean up ads.h and move what is left of it to dsdb/
   (only place where it's used)
2007-10-10 14:16:54 -05:00
Andrew Tridgell
61c6100617 r15854: more talloc_set_destructor() typesafe fixes 2007-10-10 14:08:32 -05:00
Andrew Bartlett
a312812b92 r15356: Remove unused 'flags' argument from socket_send() and friends.
This is in preperation for making TLS a socket library.

Andrew Bartlett
2007-10-10 14:05:25 -05:00
Jelmer Vernooij
03224e1124 r15295: Fix some dependencies
Move unistr-specific code to lib/charset/. Remove _m from some places where it's not needed.
2007-10-10 14:05:03 -05:00
Jelmer Vernooij
adc8a019b6 r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
2007-10-10 14:04:18 -05:00
Stefan Metzmacher
7e709fd04d r15055: this was my version for the crash bug in the messaging code...
it also makes the function a bit shorter and clearer,
as the tmp msg_types only have one handler and not a list

metze
2007-10-10 14:04:04 -05:00
Andrew Tridgell
ee7869bb3c r15050: fixed a double free in the new messaging code. 2007-10-10 14:04:03 -05:00
Andrew Tridgell
4b976851d8 r15049: for really efficient oplock handling with thousands of open files we
will need a separate messaging endpoint per open file. To make this
efficient extend the messaging layer to have a new registration
function for temporary message types that maps via an idtree.

I have updated the LOCAL-MESSAGING test to use the new function.
2007-10-10 14:04:03 -05:00
Andrew Tridgell
ba0b8a218d r15048: started on the server side implementation of oplocks. The code is not
functional yet, I'm committing so it doesn't diverge too much from
other peoples work. It is disabled by default.
2007-10-10 14:04:03 -05:00
Jelmer Vernooij
a316b33057 r14735: Use dcerpc_syntax_id rather then seperate GUID + if_version everywhere 2007-10-10 13:59:17 -05:00
Andrew Tridgell
1624ea88e6 r14616: added notify change support to the posix backend
It doesn't fully work yet, and doesn't yet have all the efficiency
that is planned, but it doesn't break anything and I wanted to get the
code in the tree to minimise the chance of collisions with the work
metze is doing.
2007-10-10 13:59:02 -05:00
Jelmer Vernooij
eb435386f0 r14554: Write out header dependencies. This means all C files affected will be
rebuilt when a header file is changed. It also means parallel builds work now.

It will take a minute or so to generate all the dependency information,
but there should be no need to rebuild that information later on, unless
a file changes.

This behaviour is only enabled when building in developer mode
(--enable-developer) and requires a GNU make (or compatible). In all other
cases, the file 'static_deps.mk' is included, which contains some basic
hardcoded dependency information.
2007-10-10 13:58:45 -05:00
Jelmer Vernooij
51b4270513 r14542: Remove librpc, libndr and libnbt from includes.h 2007-10-10 13:58:42 -05:00
Jelmer Vernooij
9c37f847d3 r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone. 2007-10-10 13:57:30 -05:00
Jelmer Vernooij
f87debeb12 r13944: Yet another round of splitups. 2007-10-10 13:52:31 -05:00
Andrew Bartlett
fd974fb647 r13317: Create a new function messaging_client_init() which can be used when
we don't have a server messaging context.  We should replace the
datagram messages with stream sockets in this case, so we don't have
to create a unique socket.

Andrew Bartlett
2007-10-10 13:51:43 -05:00
Andrew Bartlett
88198c4881 r12804: This patch reworks the Samba4 sockets layer to use a socket_address
structure that is more generic than just 'IP/port'.

It now passes make test, and has been reviewed and updated by
metze. (Thankyou *very* much).

This passes 'make test' as well as kerberos use (not currently in the
testsuite).

The original purpose of this patch was to have Samba able to pass a
socket address stucture from the BSD layer into the kerberos routines
and back again.   It also removes nbt_peer_addr, which was being used
for a similar purpose.

It is a large change, but worthwhile I feel.

Andrew Bartlett
2007-10-10 13:49:57 -05:00
Andrew Tridgell
e1cd3f4b89 r12783: add a comment about matching more than 1 handler per message (andrew
thought this might be a bug)
2007-10-10 13:49:54 -05:00
Jelmer Vernooij
c722f665c9 r12694: Move some headers to the directory of the subsystem they belong to. 2007-10-10 13:49:39 -05:00
Jelmer Vernooij
70e7449318 r12608: Remove some unused #include lines. 2007-10-10 13:49:03 -05:00