summaryrefslogtreecommitdiff
path: root/source4/libcli/wrepl/winsrepl.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-14s4:libcli/wrepl: return NT_STATUS_CONNECTION_DISCONNECTEDStefan Metzmacher1-3/+3
We should return the same in all places. metze
2011-06-20Use tevent_req_oomVolker Lendecke1-2/+2
This fixes a few Coverity errors
2011-06-20libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett1-5/+5
The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
2011-06-06s4-ipv6: update callers to load_interface_list()Andrew Tridgell1-1/+1
2011-05-08s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett1-2/+2
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
2010-10-23tsocket: let tstream_inet_tcp_connect_recv() optionally return the used ↵Stefan Metzmacher1-1/+1
local address tstream_inet_tcp_connect_send() usually only gets no local port number and it may use the wildcard address '0.0.0.0' or '::'. tstream_inet_tcp_connect_recv() provides the used local address and port which are used on the wire. metze
2010-09-10s4:libcli/wrepl/winsrepl.c - add more "char *" casts in order to suppress ↵Matthias Dieter Wallnöfer1-1/+1
Solaris warnings
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-1/+1
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 Vernooij1-8/+1
2010-03-25s4:libcli/wrepl: correctly remove the tstream_context when the connection is ↵Stefan Metzmacher1-1/+15
dead metze
2010-03-07s4:libcli/wrepl: rewrite the low level request handling to use tevent_queue ↵Stefan Metzmacher1-432/+301
and tstream_context metze
2010-03-07s4:libcli/wrepl: add wrepl_socket_is_connected()Stefan Metzmacher1-0/+17
metze
2010-03-07s4:libcli/wrepl: make struct wrepl_request private to winsrepl.cStefan Metzmacher1-0/+28
metze
2010-03-07s4:libcli/wrepl: implement wrepl_request_send as a tevent_req based wrapperStefan Metzmacher1-39/+118
metze
2010-03-07s4:libcli/wrepl: move wrepl_request_send/recv => ↵Stefan Metzmacher1-6/+20
wrepl_request_internal_send/recv metze
2010-03-07s4:libcli/wrepl: add my copyrightStefan Metzmacher1-0/+1
metze
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
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: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 Metzmacher1-0/+1
metze (from samba4wins tree 1ea02d50d1607b94e15ff07568fa5056cb6e4f09)
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-6/+6
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 Vernooij1-3/+6
(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 Vernooij1-3/+5
(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 Vernooij1-9/+9
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-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)
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 Vernooij1-0/+1
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)