summaryrefslogtreecommitdiff
path: root/source4/wrepl_server
AgeCommit message (Collapse)AuthorFilesLines
2010-10-30s4-smbd: don't initialise process models more than onceAndrew Tridgell1-2/+2
this also removes the event_context parameter from process model initialisation. It isn't needed, and is confusing when a process model init can be called from more than one place, possibly with different event contexts. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-28s4:wrepl_server: use SOCKET_FLAG_NOCLOSE instead of a dup()Stefan Metzmacher1-18/+3
The key thing is that we might have to turn the incomming connection into a outgoing connection. This change makes sense anyway, because we donate the fd to tstream. metze
2010-09-03s4:wrepl_server: use irpc_binding_handle_by_name() in ↵Stefan Metzmacher1-18/+23
wreplsrv_scavenging_replica_active_records() metze
2010-09-03s4:wrepl_server: use irpc_binding_handle_by_name() in r_do_release_demand()Stefan Metzmacher1-16/+20
metze
2010-09-03s4:wrepl_server: use irpc_binding_handle_by_name() in r_do_challenge()Stefan Metzmacher2-42/+45
metze
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell4-21/+21
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-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij3-5/+3
2010-04-27s4:wrepl_server: use tsocket_address functions to get the peer ipStefan Metzmacher1-5/+16
metze
2010-04-27s4:wrepl_server: use tsocket_address functions to get the peer ipStefan Metzmacher1-4/+15
metze
2010-04-06s4-waf: removed the AUTOGENERATED markersAndrew Tridgell1-4/+0
we won't be using the mk -> wscript generator again
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell1-0/+2
them
2010-04-06build: commit all the waf build files in the treeAndrew Tridgell1-0/+12
2010-03-07s4:libcli/wrepl: rewrite the low level request handling to use tevent_queue ↵Stefan Metzmacher3-61/+24
and tstream_context metze
2010-03-07s4:wrepl_out_helpers: add a WREPLSRV_PUSH_NOTIFY_STAGE_WAIT_UPDATE stageStefan Metzmacher1-44/+64
This makes the logic more consistent. metze
2010-03-07s4:libcli/wrepl: add wrepl_socket_is_connected()Stefan Metzmacher1-1/+1
metze
2010-03-07s4:libcli/wrepl: implement wrepl_request_send as a tevent_req based wrapperStefan Metzmacher1-11/+17
metze
2010-03-05s4:wrepl_server - change also here the counter variables to "unsigned"Matthias Dieter Wallnöfer3-6/+6
I changed also some "uint32_t" to "unsigned" since the LDB interface doesn't specify the bitlength of the unsigned type.
2010-03-05s4:libcli/wrepl: convert wrepl_associate_stop_send to tevent_reqStefan Metzmacher1-9/+14
metze
2010-03-05s4:libcli/wrepl: convert wrepl_connect_send to tevent_reqStefan Metzmacher1-15/+9
metze
2010-03-05s4:libcli/wrepl: convert wrepl_associate_send to tevent_reqStefan Metzmacher1-9/+13
metze
2010-03-05s4:libcli/wrepl: convert wrepl_pull_table_send to tevent_reqStefan Metzmacher1-9/+13
metze
2010-03-05s4:libcli/wrepl: convert wrepl_pull_names_send to tevent_reqStefan Metzmacher1-9/+14
metze
2010-03-03s4-winrepl: Migrated the wins replication server to tsocket.Andreas Schneider4-141/+314
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-22Various source4 spelling fixes.Brad Hards1-1/+1
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-02-13s4-wrepl: use TYPESAFE_QSORT() in wins repl codeAndrew Tridgell1-1/+2
2010-02-01s4:wrepl_server: truncate the scope of a netbios name to 237 bytes as ↵Stefan Metzmacher1-0/+14
Windows 2008 does metze
2009-10-23s4-dsdb: create a static system_session contextAndrew Tridgell1-1/+1
This patch adds a system_session cache, preventing us from having to recreate it on every ldb open, and allowing us to detect when the same session is being used in ldb_wrap
2009-09-18s4-server: kill main daemon if a task fails to initialiseAndrew Tridgell2-6/+6
When one of our core tasks fails to initialise it can now ask for the server as a whole to die, rather than limping along in a degraded state.
2009-02-09s4/wrepl_server: Fix typo in comment.Karolin Seeger1-2/+2
Karolin
2009-02-02s4:service_stream: s/private/private_dataStefan Metzmacher1-4/+4
metze
2009-02-02s4:service_task: s/private/private_dataStefan Metzmacher1-1/+1
metze
2009-02-02s4:wrepl_request: s/private/private_dataStefan Metzmacher1-10/+10
metze
2009-02-02s4:wrepl_server: s/private/private_dataStefan Metzmacher1-4/+4
metze
2009-02-01s4:irpc: avoid c++ reserved word 'private'Stefan Metzmacher2-8/+8
metze
2009-01-19wrepl_server: make 'use inform' the default and autofallback against old serversStefan Metzmacher3-3/+25
metze (from samba4wins tree f44c8c8e1986e2105e899bb1f8a3896575eef582)
2009-01-19wreplserver: add "wreplsrv:propagate name releases = yes" for replicated ↵Stefan Metzmacher1-0/+29
sgroup merges metze (from samba4wins tree 80cbe665e561182d28acc6ad474243b83f3e4d28)
2009-01-19winsserver: add "wreplsrv:propagate name releases" optionStefan Metzmacher1-6/+40
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-19wrepl_scavenging: add a comment to make the is_static case more clearStefan Metzmacher1-5/+13
metze (from samba4wins tree 67fa7dc4fe36b143d36df1309840328a14683e31)
2009-01-19wrepl_server: fix the record expire time of sgroup mergesStefan Metzmacher1-0/+18
if we're the owner, the expire time becomes the highest expire time of owned addresses metze (from samba4wins tree 024f439db45046c7c0bb4759c75877462405baec)
2009-01-19wrepl_server: use a local 'local_owner' variable to make the code more readableStefan Metzmacher1-1/+2
metze (from samba4wins tree eba9a8ce0641a2984112f4e1473801fa449ed96d)
2009-01-19wreplsrv: don't log scavenging events at level 0Stefan Metzmacher1-7/+7
metze (from samba4wins tree 7a1d4fac9d77440c2c463bfdb2a5671e4817cfdf)
2009-01-19wreplsrv: log a successful replication cycle at level 1Stefan Metzmacher1-1/+1
metze (from samba4wins tree b411e60e1536668e11bc5d8eaa389071b25077bf)
2009-01-19wreplsrv: log replication failures at log level 0Stefan Metzmacher2-8/+8
metze (from samba4wins tree 405cbb74b7191e744178894a5e0ac4abcac2a4fe)
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher3-5/+5
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-12-22s4: Fix subsystem for various services in samba daemon.Jelmer Vernooij1-1/+1
2008-12-18s4:libcli/wrepl: we don't need to resolve namesStefan Metzmacher1-1/+0
metze
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-09-24Rename smbd -> samba.Jelmer Vernooij1-1/+1
This reverts commit 05ea5e23cf4e70de0bd658b1c5c0ead133967091. Conflicts: source4/smbd/server.c
2008-09-23Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce3-17/+10
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-22s4: allways initialize the process model before it's usedStefan Metzmacher1-2/+2
metze