summaryrefslogtreecommitdiffstats
path: root/source4/wrepl_server
Commit message (Collapse)AuthorAgeFilesLines
* param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server()Andrew Bartlett2011-07-021-1/+1
| | | | | | | | | Jermey started this in 1997 with 0aa493cc0303aa4177f289b9e4c797c8fa180672 (avoiding the duplicate function makes it easier to generate the struct loadparm_globals). Andrew Bartlett
* s4-ipv6: ensure wrepl server does not use ipv6Andrew Tridgell2011-06-062-1/+4
| | | | WINS only does IPv4
* s4-ipv6: update callers to load_interface_list()Andrew Tridgell2011-06-062-2/+2
|
* s4-ipv6: the wins replication server can only handle IPv4Andrew Tridgell2011-06-061-0/+3
|
* s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett2011-05-082-5/+5
| | | | | | | | | The iface_count, iface_n_bcast, and load_interfaces functions conflicted with functions of the same name in source3, so the source4 functions were renamed. Hopefully we can actually wrap one around the other in future. Andrew Bartlett
* s4-messaging Rename messaging -> imessagingAndrew Bartlett2011-05-031-1/+1
| | | | | | | This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
* s4-param Rename private_path() -> lpcfg_private_path()Andrew Bartlett2011-04-291-1/+1
| | | | | | This is consistent with lock_path() Andrew Bartlett
* ldb: use #include <ldb.h> for ldbAndrew Tridgell2011-02-103-6/+6
| | | | | | | | 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>
* s4:wrepl_server - add a cast on "iov_base"Matthias Dieter Wallnöfer2010-11-291-1/+1
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Nov 29 15:34:32 CET 2010 on sn-devel-104
* s4:wrepl_server - remove unreachable statementMatthias Dieter Wallnöfer2010-11-291-2/+0
|
* s4-server: make server sockets a child of the task contextAndrew Tridgell2010-11-151-2/+2
| | | | | | | | | | | | We previously allocated sockets as direct children of the event context. That led to crashes if a service called task_server_terminate(), as it left the socket open and handling events for a dead protocol. Making them a child of the task allows the task to terminate and take all its sockets with it. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Build wrepl server as service by default.Jelmer Vernooij2010-11-141-1/+2
|
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-311-24/+0
| | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
* s4-smbd: don't initialise process models more than onceAndrew Tridgell2010-10-301-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>
* s4:wrepl_server: use SOCKET_FLAG_NOCLOSE instead of a dup()Stefan Metzmacher2010-09-281-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
* s4:wrepl_server: use irpc_binding_handle_by_name() in ↵Stefan Metzmacher2010-09-031-18/+23
| | | | | | wreplsrv_scavenging_replica_active_records() metze
* s4:wrepl_server: use irpc_binding_handle_by_name() in r_do_release_demand()Stefan Metzmacher2010-09-031-16/+20
| | | | metze
* s4:wrepl_server: use irpc_binding_handle_by_name() in r_do_challenge()Stefan Metzmacher2010-09-032-42/+45
| | | | metze
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-164-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>
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-183-5/+3
|
* s4:wrepl_server: use tsocket_address functions to get the peer ipStefan Metzmacher2010-04-271-5/+16
| | | | metze
* s4:wrepl_server: use tsocket_address functions to get the peer ipStefan Metzmacher2010-04-271-4/+15
| | | | metze
* s4-waf: removed the AUTOGENERATED markersAndrew Tridgell2010-04-061-4/+0
| | | | we won't be using the mk -> wscript generator again
* s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell2010-04-061-0/+2
| | | | them
* build: commit all the waf build files in the treeAndrew Tridgell2010-04-061-0/+12
|
* s4:libcli/wrepl: rewrite the low level request handling to use tevent_queue ↵Stefan Metzmacher2010-03-073-61/+24
| | | | | | and tstream_context metze
* s4:wrepl_out_helpers: add a WREPLSRV_PUSH_NOTIFY_STAGE_WAIT_UPDATE stageStefan Metzmacher2010-03-071-44/+64
| | | | | | This makes the logic more consistent. metze
* s4:libcli/wrepl: add wrepl_socket_is_connected()Stefan Metzmacher2010-03-071-1/+1
| | | | metze
* s4:libcli/wrepl: implement wrepl_request_send as a tevent_req based wrapperStefan Metzmacher2010-03-071-11/+17
| | | | metze
* s4:wrepl_server - change also here the counter variables to "unsigned"Matthias Dieter Wallnöfer2010-03-053-6/+6
| | | | | I changed also some "uint32_t" to "unsigned" since the LDB interface doesn't specify the bitlength of the unsigned type.
* s4:libcli/wrepl: convert wrepl_associate_stop_send to tevent_reqStefan Metzmacher2010-03-051-9/+14
| | | | metze
* s4:libcli/wrepl: convert wrepl_connect_send to tevent_reqStefan Metzmacher2010-03-051-15/+9
| | | | metze
* s4:libcli/wrepl: convert wrepl_associate_send to tevent_reqStefan Metzmacher2010-03-051-9/+13
| | | | metze
* s4:libcli/wrepl: convert wrepl_pull_table_send to tevent_reqStefan Metzmacher2010-03-051-9/+13
| | | | metze
* s4:libcli/wrepl: convert wrepl_pull_names_send to tevent_reqStefan Metzmacher2010-03-051-9/+14
| | | | metze
* s4-winrepl: Migrated the wins replication server to tsocket.Andreas Schneider2010-03-034-141/+314
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Various source4 spelling fixes.Brad Hards2010-02-221-1/+1
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
* s4-wrepl: use TYPESAFE_QSORT() in wins repl codeAndrew Tridgell2010-02-131-1/+2
|
* s4:wrepl_server: truncate the scope of a netbios name to 237 bytes as ↵Stefan Metzmacher2010-02-011-0/+14
| | | | | | Windows 2008 does metze
* s4-dsdb: create a static system_session contextAndrew Tridgell2009-10-231-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
* s4-server: kill main daemon if a task fails to initialiseAndrew Tridgell2009-09-182-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.
* s4/wrepl_server: Fix typo in comment.Karolin Seeger2009-02-091-2/+2
| | | | Karolin
* s4:service_stream: s/private/private_dataStefan Metzmacher2009-02-021-4/+4
| | | | metze
* s4:service_task: s/private/private_dataStefan Metzmacher2009-02-021-1/+1
| | | | metze
* s4:wrepl_request: s/private/private_dataStefan Metzmacher2009-02-021-10/+10
| | | | metze
* s4:wrepl_server: s/private/private_dataStefan Metzmacher2009-02-021-4/+4
| | | | metze
* s4:irpc: avoid c++ reserved word 'private'Stefan Metzmacher2009-02-012-8/+8
| | | | metze
* wrepl_server: make 'use inform' the default and autofallback against old serversStefan Metzmacher2009-01-193-3/+25
| | | | | metze (from samba4wins tree f44c8c8e1986e2105e899bb1f8a3896575eef582)
* wreplserver: add "wreplsrv:propagate name releases = yes" for replicated ↵Stefan Metzmacher2009-01-191-0/+29
| | | | | | | sgroup merges metze (from samba4wins tree 80cbe665e561182d28acc6ad474243b83f3e4d28)
* winsserver: add "wreplsrv:propagate name releases" optionStefan Metzmacher2009-01-191-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)