summaryrefslogtreecommitdiffstats
path: root/source4/wrepl_server/wrepl_out_helpers.c
Commit message (Collapse)AuthorAgeFilesLines
* s4:wrepl_out_helpers.c: avoid talloc_reference() in most casesStefan Metzmacher2013-08-121-3/+18
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s4:wrepl_server: return NT_STATUS_CONNECTION_DISCONNECTEDStefan Metzmacher2011-09-141-1/+1
| | | | | | We should return the same in all places. metze
* s4:wrepl_server - remove unreachable statementMatthias Dieter Wallnöfer2010-11-291-2/+0
|
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-181-1/+1
|
* s4:libcli/wrepl: rewrite the low level request handling to use tevent_queue ↵Stefan Metzmacher2010-03-071-23/+7
| | | | | | 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: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-031-20/+6
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:wrepl_request: s/private/private_dataStefan Metzmacher2009-02-021-10/+10
| | | | metze
* wrepl_server: make 'use inform' the default and autofallback against old serversStefan Metzmacher2009-01-191-2/+23
| | | | | metze (from samba4wins tree f44c8c8e1986e2105e899bb1f8a3896575eef582)
* s4:libcli/wrepl: we don't need to resolve namesStefan Metzmacher2008-12-181-1/+0
| | | | metze
* Remove another global_loadparm instance.Jelmer Vernooij2008-02-211-1/+1
| | | | (This used to be commit ccb29c0b463f5ccb53553f0a1c411ad77a84482a)
* Remove yet more uses of global_loadparm.Jelmer Vernooij2008-02-211-1/+2
| | | | (This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
* r26382: Remove more uses of global_loadparm.Jelmer Vernooij2007-12-211-4/+4
| | | | (This used to be commit 6d4c59853481855c232e7cf97264a391f40af2b5)
* r25549: Convert to standard bool type.Jelmer Vernooij2007-10-101-12/+12
| | | | (This used to be commit 318bf1f7441678860adfff5cdb0d3d2448e58f4b)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-3/+2
| | | | | | 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 fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
* r18331: fixed a warningAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit 997ed10bf540cc99da1bab5e53634beb3b239253)
* r15148: make wreplsrv_pull_names staticStefan Metzmacher2007-10-101-4/+19
| | | | | metze (This used to be commit ce3d4ec0f67ecf7a403fb7d46ed5f6dc0b2bc275)
* r15147: make some more stuff staticStefan Metzmacher2007-10-101-3/+15
| | | | | metze (This used to be commit c49ac7f40d366aad3701623dd36568efb88eccb5)
* r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij2007-10-101-1/+1
| | | | | try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
* r12796: use the correct address as initiatorStefan Metzmacher2007-10-101-10/+3
| | | | | metze (This used to be commit ba97e7c06af6f919a66622c1a6b6e58980ab2b9e)
* r12696: Reduce the size of include/structs.hJelmer Vernooij2007-10-101-1/+0
| | | | (This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
* r12677: get rid of the special cases for the local wins owner table entry,Stefan Metzmacher2007-10-101-10/+6
| | | | | | | | | | | | the call to winsdb_get_maxVersion() is moved into place. This allows us to fetch records with the owner address that matches our local_owner address, this is important if the restart with an empty wins.ldb. w2k3 does this in the same way when you remove the database files from disk and restart the WINS-Service. metze (This used to be commit e43de87d06614206a858e1102cd82e7f02163bba)
* r12608: Remove some unused #include lines.Jelmer Vernooij2007-10-101-4/+0
| | | | (This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
* r12241: fix the inform push notifiesStefan Metzmacher2007-10-101-6/+12
| | | | | metze (This used to be commit 626d0e6fe508603f5f28b88fd18ff5d71a4660ca)
* r12200: - move the the winsreplication client and server code to the ↵Stefan Metzmacher2007-10-101-31/+74
| | | | | | | | | | | | packet_context system - this needs to be in one big patch, because of the merging code, that changes client in server connections and the other way around - use socket_connect_send/_recv() in the client code metze (This used to be commit f0105b7fcdc3032d22444a1973927fff2dd9a06f)
* r12116: got rid of composite_trigger_done() and composite_trigger_error(), andAndrew Tridgell2007-10-101-3/+3
| | | | | | | | | instead make the normal composite_done() and composite_error() functions automatically trigger a delayed callback if the caller has had no opportunity to setup a async callback this removes one of the common mistakes in writing a composite function (This used to be commit f9413ce792ded682e05134b66d433eeec293e6f1)
* r11878: don't get only newer records than the last one we gotStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 52b1cdae9e21f7cbf4d1411adc2ce44ca3d85bba)
* r11048: r10539@SERNOX: metze | 2005-09-27 14:59:47 +0200Stefan Metzmacher2007-10-101-0/+1043
fix the build for changes from SAMBA_4_0 branch metze r10541@SERNOX: metze | 2005-09-27 15:05:33 +0200 use a transaction when we allocate a new version metze r10549@SERNOX: metze | 2005-09-27 18:58:37 +0200 - add first start of wins pull replication - we not yet apply records to our database but we fetch them correct form our partners (we need conflict handling for this) - we also need to filter out our own records! metze r10568@SERNOX: metze | 2005-09-28 11:33:04 +0200 move composite helpers to a seperate file, create a a seperate file for the conflict resolving logic metze r10571@SERNOX: metze | 2005-09-28 12:00:17 +0200 add forward declarations...to fix the build metze r10612@SERNOX: metze | 2005-09-29 16:11:06 +0200 we have a nbt_name now, and don't need to parse it metze r10614@SERNOX: metze | 2005-09-29 16:38:35 +0200 filter out our own records metze r10620@SERNOX: metze | 2005-09-29 18:07:08 +0200 - handle mutliple addresses in WREPL_REPL_SEND_REPLY - make strings always valid talloc pointers metze r10621@SERNOX: metze | 2005-09-29 18:09:41 +0200 use debug level 2 metze r10622@SERNOX: metze | 2005-09-29 18:48:05 +0200 - add one more debug message when we reply no record - fix min max logic metze r10623@SERNOX: metze | 2005-09-29 20:49:06 +0200 build fixes... metze r10629@SERNOX: metze | 2005-09-30 00:11:41 +0200 - use seperate attributes for type, state, nodetype, is_static ... the winserver.c code needs some more updates to correctly, create special group and multihomed registrations... metze r10640@SERNOX: metze | 2005-09-30 04:07:34 +0200 - add some short path for the composite helper functions they will be used in the next commit metze r10642@SERNOX: metze | 2005-09-30 06:29:06 +0200 fix the build metze r10655@SERNOX: metze | 2005-09-30 17:36:49 +0200 - implement the WREPL_REPL_UPDATE* and WREPL_REPL_INFORM* this includes the connection fliping into a client connection for WREPL_REPL_UPDATE* NOTE: I not yet found out how to get the w2k server to use INFORM against samba4 it uses inform against w2k and w2k3 but UPDATE against nt4 and samba4 what's left now is to be able to initiate INFORM and UPDATE requests to notify our pull partners metze r10727@SERNOX: metze | 2005-10-05 14:11:05 +0200 fix the build metze r10770@SERNOX: metze | 2005-10-06 16:56:01 +0200 - move the table filling to a seperate function, will be reused later - fix the build, wrepl_nbt_name fixes - remove state -> update_state metze r10771@SERNOX: metze | 2005-10-06 17:04:48 +0200 add a function to create a wreplsrv_in_connection from a client connection metze r10772@SERNOX: metze | 2005-10-06 17:13:51 +0200 - make the connection code more generic to handle the pull cached connection, push cached connection or given connections - when we don't use a cached connection, disconnection when a pull_cycle is done - fix the build and use the configured source ip metze r10773@SERNOX: metze | 2005-10-06 17:18:49 +0200 - add composite functions for push notification metze r10774@SERNOX: metze | 2005-10-06 17:23:46 +0200 - use periodic push notifycation, this is just for now as it needs to be configurable and and be triggered when the local database has changes since the last notify - I also need to work out how to decide if the partner supports persistent connections and WREPL_REPL_INFORM* messages metze r10923@SERNOX: metze | 2005-10-12 16:52:34 +0200 fix the build becuse of conflicts with main SAMBA_4_0 tree metze (This used to be commit 6d97dd6e50423758d081459ec551f4e04dfd818d)