summaryrefslogtreecommitdiff
path: root/source4/libcli/wrepl
AgeCommit message (Collapse)AuthorFilesLines
2010-03-05s4:libcli/wrepl: convert wrepl_associate_stop_send to tevent_reqStefan Metzmacher1-28/+83
metze
2010-03-05s4:libcli/wrepl: convert wrepl_connect_send to tevent_reqStefan Metzmacher1-65/+95
metze
2010-03-05s4:libcli/wrepl: convert wrepl_associate_send to tevent_reqStefan Metzmacher1-36/+98
metze
2010-03-05s4:libcli/wrepl: convert wrepl_pull_table_send to tevent_reqStefan Metzmacher1-39/+98
metze
2010-03-05s4:libcli/wrepl: convert wrepl_pull_names_send to tevent_reqStefan Metzmacher1-63/+142
metze
2010-03-05s4:libcli/wrepl: use UTIL_TEVENTStefan Metzmacher1-0/+1
metze
2010-03-05s4:libcli/wrepl: avoid neested named structuresStefan Metzmacher1-15/+19
metze
2009-08-07fixed several places that unnecessarily take a reference to the event contextAndrew Tridgell1-2/+2
These references were triggering the ambiguous talloc_free errors from the recent talloc changes when the server is run using the 'standard' process model instead of the 'single' process model. I am aiming to move the build farm to use the 'standard' process model soon, as part of an effort to make our test environment better match the real deployment of Samba4. The references are not needed as the way that the event context is used is as the 'top parent', so when the event context is freed then all of the structures that were taking a reference to the event context were actually freed as well, thus making the references redundent.
2009-02-02s4:wrepl_request: s/private/private_dataStefan Metzmacher1-1/+1
metze
2009-02-02s4:libcli/wrepl: s/private/private_dataStefan Metzmacher1-6/+6
metze
2009-01-19libcli/wrepl: return the major version of the server in wrepl_associate()Stefan Metzmacher2-0/+2
metze (from samba4wins tree 1ea02d50d1607b94e15ff07568fa5056cb6e4f09)
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher2-9/+9
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-18s4:lib/socket: socket_connect_send() and socket_connect_ev() should only ↵Stefan Metzmacher1-2/+1
wrok with addresses metze
2008-12-18s4:libcli/wrepl: we don't need to resolve namesStefan Metzmacher1-5/+3
metze
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce1-5/+1
the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
2008-02-21Remove another global_loadparm instance.Jelmer Vernooij1-6/+8
(This used to be commit ccb29c0b463f5ccb53553f0a1c411ad77a84482a)
2008-02-21Remove yet more uses of global_loadparm.Jelmer Vernooij2-3/+8
(This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
2008-01-01r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij1-2/+1
library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
2008-01-01r26638: libndr: Require explicitly specifying iconv_convenience for ↵Jelmer Vernooij1-1/+1
ndr_struct_push_blob(). (This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
2007-12-21r26402: Require a talloc context in libnetif.Jelmer Vernooij1-1/+1
(This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50)
2007-12-21r26401: Don't cache interfaces context in libnetif.Jelmer Vernooij1-1/+3
(This used to be commit 9f975417cc66bfd4589da38bfd23731dbe0e6153)
2007-12-21r26382: Remove more uses of global_loadparm.Jelmer Vernooij2-3/+7
(This used to be commit 6d4c59853481855c232e7cf97264a391f40af2b5)
2007-12-21r26376: Add context for libcli_resolve.Jelmer Vernooij1-1/+2
(This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
2007-12-21r26335: Specify name_resolve_order to socket code.Jelmer Vernooij1-1/+2
(This used to be commit b03e5d00110be3f1fe5809dad4eb6ca5cea7463d)
2007-12-21r26325: Remove use of global_loadparm in netif.Jelmer Vernooij1-1/+2
(This used to be commit e452cb28594f23add7c00247ed39e8323aea78a6)
2007-12-21r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)Stefan Metzmacher1-8/+11
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 (This used to be commit 6223c7fddc972687eb577e04fc1c8e0604c35435)
2007-12-21r25791: wrepl_request_finished() sets req->status, so make this explicitStefan Metzmacher1-13/+15
and avoid req->status = req->status... metze (This used to be commit c9ee0f3e967b89033510d30136363a3b78fedb9e)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij2-10/+10
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij1-6/+6
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell2-6/+4
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)
2007-10-10r18301: I discovered how to load the warnings from a build farm build intoAndrew Tridgell1-3/+6
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 eba6c84efff735bb0ca941ac4b755ce2b0591667)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij1-1/+1
* 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) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on theStefan Metzmacher1-1/+1
configure check for the interfaces. should fix the build on some old sun boxes metze (This used to be commit f20e251bfd9f1eb7ce5c00739631b1625a2aa467)
2007-10-10r15854: more talloc_set_destructor() typesafe fixesAndrew Tridgell1-6/+3
(This used to be commit 61c6100617589ac6df4f527877241464cacbf8b3)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij2-2/+3
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij1-0/+2
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10r13345: let us replicate with NT4sp6aStefan Metzmacher1-0/+15
I don't yet know what the extra data in the start_association call mean... This also let w2k use WREPL_REPL_INFORM messages to us, but w2k3 doesn't it do it yet... metze (This used to be commit 02d6dfa1da754857c28125392a561cfde0087c48)
2007-10-10r12804: This patch reworks the Samba4 sockets layer to use a socket_addressAndrew Bartlett1-2/+10
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 (This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
2007-10-10r12602: fix compiler warningStefan Metzmacher1-4/+4
metze (This used to be commit 82d5bdb1e73dd203cfaf83fdb46c485d212d5c65)
2007-10-10r12542: Move some more prototypes out to seperate headersJelmer Vernooij1-0/+2
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10r12370: - if we got a reply without a pending request, mark the socket as deadStefan Metzmacher1-0/+5
instead of segfaulting metze (This used to be commit 043f5c1054cd2dc95571d601b0872c4cb0d99588)
2007-10-10r12247: - reject freeing the wrepl_socket inside of wrepl_socket_dead()Stefan Metzmacher2-1/+12
- free it at the end of wrepl_socket_dead() if needed metze (This used to be commit 58285115c83a3b7bbc9bf52a105cebd11831e9d8)
2007-10-10r12240: if the caller isn't interessted in the reply packet, just free itStefan Metzmacher1-1/+1
(mostly use for send_only requests, where we don't have a reply at all) metze (This used to be commit a01d5a769c63777232aad89f8c4b5460824ca2b1)
2007-10-10r12238: don't crash when an error happens while connecting and the ↵Stefan Metzmacher1-2/+5
packet_context isn't inplace yet metze (This used to be commit 064d9409c3dda25a803fd5ca9ad15c48271e8905)
2007-10-10r12200: - move the the winsreplication client and server code to the ↵Stefan Metzmacher2-336/+237
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)
2007-10-10r11487: thanks to make test I noticed a dead lock bug, in the last change,Stefan Metzmacher1-19/+39
this only happens with socket_wrapper as socket_connect() returns NT_STATUS_OK instead of NT_STATUS_MORE_PROCESSING_REQUIRED, and we missed to replace the fde event handler... metze (This used to be commit f04001f28007ad6bbecdcdf0d1d5887e378d2467)
2007-10-10r11485: prevent us from calling the request handler recursiv whenStefan Metzmacher1-0/+3
the handler calls talloc_free(wrepl_socket) metze (This used to be commit bf0b96f057c7f4ac39409c8710ec0cfb55d9fb04)
2007-10-10r11090: we need this to run correct under socket_wrapperStefan Metzmacher1-1/+1
metze (This used to be commit 3f7b09a3086a8b6d255bc3fc5cd8882e12f05d10)
2007-10-10r10836: giving NT_STATUS_NO_MEMORY, when the connection fails wasn't a good ↵Stefan Metzmacher1-1/+8
idea... metze (This used to be commit e7ee73a747a025a66ac6563172e51f160bc28e0a)