summaryrefslogtreecommitdiffstats
path: root/source4/wrepl_server/wrepl_in_connection.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove NT_STATUS_IS_ERR_RETURN macro from the codebase.Garming Sam2014-03-051-1/+3
| | | | | | | | | | Following the current coding guidelines, it is considered bad practice to return from within a macro and change control flow as they look like normal function calls. Change-Id: I39b07b3a799331a5faa968629aa95b836cb78600 Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* lib/param: Remove use of lp{cfg,}_socket_address outside the NBT client and ↵Andrew Bartlett2012-07-271-4/+1
| | | | | | | | | server In these other cases, control of the sockets to bind to can be obtained using "bind interfaces only = yes" and "interfaces = ". Andrew Bartlett
* s4-ipv6: ensure wrepl server does not use ipv6Andrew Tridgell2011-06-061-0/+3
| | | | WINS only does IPv4
* s4-ipv6: update callers to load_interface_list()Andrew Tridgell2011-06-061-1/+1
|
* 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-081-3/+3
| | | | | | | | | 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: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-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>
* 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-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-7/+7
| | | | | | | 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-181-2/+0
|
* s4:wrepl_server: use tsocket_address functions to get the peer ipStefan Metzmacher2010-04-271-4/+15
| | | | metze
* s4:libcli/wrepl: rewrite the low level request handling to use tevent_queue ↵Stefan Metzmacher2010-03-071-14/+4
| | | | | | and tstream_context metze
* s4-winrepl: Migrated the wins replication server to tsocket.Andreas Schneider2010-03-031-108/+281
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* 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:wrepl_server: s/private/private_dataStefan Metzmacher2009-02-021-4/+4
| | | | metze
* s4: allways initialize the process model before it's usedStefan Metzmacher2008-09-221-2/+2
| | | | metze
* smbd: pass down lp_ctx to stream_new_connection_merge()Stefan Metzmacher2008-05-171-1/+1
| | | | | metze (This used to be commit 91e9062265a68e3a1fe5e092503ec44ae5ea034e)
* r26672: Janitorial: Remove uses of global_loadparm.Jelmer Vernooij2008-01-051-2/+5
| | | | (This used to be commit 18cd08623eaad7d2cd63b82ea5275d4dfd21cf00)
* r26669: Janitorial: Remove uses of global_loadparm.Jelmer Vernooij2008-01-051-2/+2
| | | | (This used to be commit 50c46160d997e0448f51ae09e0f3c79e8519fa41)
* r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij2008-01-011-1/+3
| | | | | | library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
* r26638: libndr: Require explicitly specifying iconv_convenience for ↵Jelmer Vernooij2008-01-011-1/+3
| | | | | | ndr_struct_push_blob(). (This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
* r26402: Require a talloc context in libnetif.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50)
* r26401: Don't cache interfaces context in libnetif.Jelmer Vernooij2007-12-211-2/+7
| | | | (This used to be commit 9f975417cc66bfd4589da38bfd23731dbe0e6153)
* r26325: Remove use of global_loadparm in netif.Jelmer Vernooij2007-12-211-2/+2
| | | | (This used to be commit e452cb28594f23add7c00247ed39e8323aea78a6)
* r26313: Fix more uses of static loadparm.Jelmer Vernooij2007-12-211-2/+5
| | | | (This used to be commit 6fd0d9d3b75546d08c24c513e05b1843d5777608)
* r26230: Use task-provided loadparm context in a couple more places, avoid ↵Jelmer Vernooij2007-12-211-3/+3
| | | | | | loadparm context inside ntlm_auth. (This used to be commit 3a946d1ffd7739e40beab673ecb0100c178c2e28)
* r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)Stefan Metzmacher2007-12-211-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij2007-10-101-2/+2
| | | | (This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
* r25026: Move param/param.h out of includes.hJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
* 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)
* r18301: I discovered how to load the warnings from a build farm build intoAndrew Tridgell2007-10-101-1/+2
| | | | | | | | | 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)
* r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on theStefan Metzmacher2007-10-101-1/+1
| | | | | | | | | configure check for the interfaces. should fix the build on some old sun boxes metze (This used to be commit f20e251bfd9f1eb7ce5c00739631b1625a2aa467)
* r15855: more talloc_set_destructor() typesafe fixes. nearly done ...Andrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit 396d82a231b6e3a91178db08b706626d4d4b420c)
* r13926: More header splitups.Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 930daa9f416ecba1d75b8ad46bb42e336545672f)
* r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij2007-10-101-0/+3
| | | | | file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
* r12804: This patch reworks the Samba4 sockets layer to use a socket_addressAndrew Bartlett2007-10-101-3/+3
| | | | | | | | | | | | | | | | | | | | 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)
* r12796: use the correct address as initiatorStefan Metzmacher2007-10-101-7/+0
| | | | | metze (This used to be commit ba97e7c06af6f919a66622c1a6b6e58980ab2b9e)
* r12608: Remove some unused #include lines.Jelmer Vernooij2007-10-101-4/+0
| | | | (This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
* r12200: - move the the winsreplication client and server code to the ↵Stefan Metzmacher2007-10-101-161/+110
| | | | | | | | | | | | 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)
* r11967: Fix more 64-bit warnings.Tim Potter2007-10-101-2/+2
| | | | (This used to be commit 9c4436a124f874ae240feaf590141d48c33a635f)
* r11052: bring samba4 uptodate with the samba4-winsrepl branch,Stefan Metzmacher2007-10-101-1/+43
| | | | | | | before the bad merge metze (This used to be commit 471c0ca4abb17fb5f73c0efed195c67628c1c06e)
* r11039: r10352@SERNOX: metze | 2005-09-20 16:50:04 +0200Stefan Metzmacher2007-10-101-0/+319
move stuff the belong to incoming connections only into a seperate file wrepl_in_connection.c metze (This used to be commit c2b2b582203d9fe2596ebc9cf2600d52e6f61831)