1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

29 Commits

Author SHA1 Message Date
Andrew Bartlett
cdd802af83 s4-messaging Rename messaging -> imessaging
This avoid symbol and structure conflicts between Samba3 and Samba4,
and chooses a less generic name.

Andrew Bartlett
2011-05-03 07:37:07 +02:00
Andrew Tridgell
8dc92c8f71 ldb: use #include <ldb.h> for ldb
thi ensures we are using the header corresponding to the version of
ldb we're linking against. Otherwise we could use the system ldb for
link and the in-tree one for include

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-10 06:51:07 +01:00
Stefan Metzmacher
993d37baf5 s4:wrepl_server: use irpc_binding_handle_by_name() in wreplsrv_scavenging_replica_active_records()
metze
2010-09-03 17:02:10 +02:00
Andrew Tridgell
6b266b85cf s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
this converts all callers that use the Samba4 loadparm lp_ calling
convention to use the lpcfg_ prefix.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16 18:24:27 +10:00
Matthias Dieter Wallnöfer
6a91bf60e2 s4:wrepl_server - change also here the counter variables to "unsigned"
I changed also some "uint32_t" to "unsigned" since the LDB interface doesn't
specify the bitlength of the unsigned type.
2010-03-05 17:51:30 +01:00
Stefan Metzmacher
5f13710ced s4:irpc: avoid c++ reserved word 'private'
metze
2009-02-01 00:17:20 +01:00
Stefan Metzmacher
e1c968afd8 winsserver: add "wreplsrv:propagate name releases" option
Add an option to propagate name releases directly.
This make the results for #1C name queries more consistent
among all servers.

It's off by default to match windows.

metze
(from samba4wins tree 166e9fdffb9f4e26513c3b4ec1f6f168ecbe18f8)
2009-01-19 07:05:52 +01:00
Stefan Metzmacher
81a2a43a5a wrepl_scavenging: add a comment to make the is_static case more clear
metze
(from samba4wins tree 67fa7dc4fe36b143d36df1309840328a14683e31)
2009-01-19 07:05:51 +01:00
Stefan Metzmacher
65f096c8cd wreplsrv: don't log scavenging events at level 0
metze
(from samba4wins tree 7a1d4fac9d77440c2c463bfdb2a5671e4817cfdf)
2009-01-19 07:05:25 +01:00
Simo Sorce
508527890a Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.
The previous ldb_search() interface made it way too easy to leak results,
and being able to use a printf-like expression turns to be really useful.
2008-09-23 18:17:46 -04:00
Jelmer Vernooij
af0a85bc30 r25549: Convert to standard bool type.
(This used to be commit 318bf1f744)
2007-10-10 15:07:53 -05:00
Andrew Tridgell
0479a2f1cb 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.
(This used to be commit fcf38a38ac)
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
19d56c775a r22752: bail out on talloc failure
metze
(This used to be commit da92bf88e5)
2007-10-10 14:52:10 -05:00
Stefan Metzmacher
68b531e817 r22748: fix memleaks by passing an mem_ctx to
irpc_servers_byname()

metze
(This used to be commit b54584dfab)
2007-10-10 14:52:09 -05:00
Andrew Tridgell
1cd4339b9a 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.
(This used to be commit 2365abaa99)
2007-10-10 14:37:23 -05:00
Andrew Tridgell
30ee8beb93 r18301: I discovered how to load the warnings from a build farm build into
emacs compile mode (hint, paste to a file, and compile as "cat
filename").

This allowed me to fix nearly all the warnings for a IA_64 SuSE build
very quickly.
(This used to be commit eba6c84eff)
2007-10-10 14:18:04 -05:00
Jelmer Vernooij
8528016978 r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
try to include just the BASENAME.h files (containing only structs)
(This used to be commit 3dd477ca51)
2007-10-10 13:57:27 -05:00
Stefan Metzmacher
a9109089c3 r13088: - handle non-active static entries
- improve verifiying a replica with a remote wins server
  we now take the ownership of replica records that doesn't match
  the answer from the wins owner and make the record tombstone.
  this hopefully causes the original wins owner to propagate its
  new record, so that it will be replicated back to us

metze
(This used to be commit 49199477f2)
2007-10-10 13:51:24 -05:00
Stefan Metzmacher
52e90b4ad9 r13080: fix crash bug
metze
(This used to be commit 0372438000)
2007-10-10 13:51:23 -05:00
Stefan Metzmacher
f25ad21617 r13060: - return only active addresses in name query responses
- replicate only active addresses

metze
(This used to be commit 6325abd95c)
2007-10-10 13:51:20 -05:00
Stefan Metzmacher
15ffd2c8b3 r12784: implement a simplified version of verifying old active replicas, with the owner
server, we you nbt name queries for this....

I assume w2k3 uses DCERPC calls or some WINSREPL calls for this,
but our version should work till I find out more details...

metze
(This used to be commit ff81f9e780)
2007-10-10 13:49:55 -05:00
Stefan Metzmacher
a55287a285 r12775: free elements early...
metze
(This used to be commit 49f78e21fe)
2007-10-10 13:49:53 -05:00
Stefan Metzmacher
0817627746 r12701: the first scavenging run should happen after half of the renew_interval,
and not on startup

metze
(This used to be commit fd234ebbac)
2007-10-10 13:49:41 -05:00
Stefan Metzmacher
6fbbd47164 r12679: create a sperate function to create the 'winsOwner' part of the search filter,
this is to handle the special '0.0.0.0' of old or manual added owned records

metze
(This used to be commit 4c7306608c)
2007-10-10 13:49:37 -05:00
Stefan Metzmacher
905c3ff8e1 r12618: use our primary interface address or the "winsdb:local_owner" -address
as winsOwner: attrbute for owned records

metze
(This used to be commit 37dece8304)
2007-10-10 13:49:05 -05:00
Stefan Metzmacher
0391b1cb3a r12617: create a winsdb_handle and pass that arround,
so we later can hang the local owner address, on this handle too

metze
(This used to be commit 49ba4cc111)
2007-10-10 13:49:05 -05:00
Jelmer Vernooij
d4de4c2d21 r12608: Remove some unused #include lines.
(This used to be commit 70e7449318)
2007-10-10 13:49:03 -05:00
Jelmer Vernooij
2cd5ca7d25 r12542: Move some more prototypes out to seperate headers
(This used to be commit 0aca5fd513)
2007-10-10 13:47:55 -05:00
Stefan Metzmacher
c05019a04b r12434: implement database scavenging, the only missing part is the verifying of active replicas
with the owning wins server, after the verify interval passes.

metze
(This used to be commit 7d1f7ae9c6)
2007-10-10 13:47:38 -05:00