Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s3: allow setting the TCP_QUICKACK socket option | Björn Jacke | 2009-07-14 | 1 | -0/+3 |
| | |||||
* | Make open_udp_socket() IPv6 clean. Trying to fix bug #6437 - Unable to join ↵ | Jeremy Allison | 2009-06-08 | 1 | -10/+25 |
| | | | | | | | IPv6-only ads domain. Avaiting feedback from submitter before backport to 3.4 and earlier. Jeremy. | ||||
* | Allow AF_UNIX for open_socket_out | Volker Lendecke | 2009-06-06 | 1 | -0/+4 |
| | |||||
* | Fix bug 5681: Do not limit the number of network interfaces | Volker Lendecke | 2009-05-18 | 1 | -6/+1 |
| | | | | | | | | | | Jeremy as far as I can see there is no real technical reason to limit the number of interfaces. If you like this patch, can you please merge it to 3.4? If you don't please tell me :-) Thanks, Volker | ||||
* | s3:libsmb: move read_smb_send/recv() static in async_smb.c | Stefan Metzmacher | 2009-05-13 | 1 | -87/+0 |
| | | | | metze | ||||
* | Clean up assignments to iov_base, ensure it's always cast to void *. This ↵ | Jeremy Allison | 2009-05-12 | 1 | -2/+2 |
| | | | | | | should quieten some warnings with picky compilers on the buildfarm. Jeremy. | ||||
* | Add getaddrinfo_send/recv | Volker Lendecke | 2009-05-01 | 1 | -0/+82 |
| | |||||
* | Reactivate get_socket_port | Volker Lendecke | 2009-04-12 | 1 | -4/+1 |
| | |||||
* | s3-util-sock: add ismyaddr() check in is_myname_or_ipaddr(). | Günther Deschner | 2009-04-08 | 1 | -0/+4 |
| | | | | Guenther | ||||
* | Add read_smb_send/recv, dumping keepalives | Volker Lendecke | 2009-04-06 | 1 | -0/+87 |
| | |||||
* | s3:lib/util_sock: use sys_recv() instead of sys_read() on sockets | Stefan Metzmacher | 2009-03-19 | 1 | -2/+2 |
| | | | | | | This ways the pcap support in socket wrapper sees the received data. metze | ||||
* | Convert open_socket_out_defer to tevent_req | Volker Lendecke | 2009-03-16 | 1 | -29/+29 |
| | |||||
* | Use tevent_wakeup_send in open_socket_out_defer | Volker Lendecke | 2009-03-16 | 1 | -22/+15 |
| | |||||
* | Make struct tevent_req opaque | Simo Sorce | 2009-03-02 | 1 | -14/+11 |
| | | | | | | | | | | | | | | | | Move struct tevent_req in tevent_internal, and ad getters and setters for private data and the callback function. This patch also renames 'private_state' into 'data'. What is held in this pointer is in fact data and not a state like enum tevent_req_state. Calling it 'state' is confusing. The functions addedd are: tevent_req_set_callback() - sets req->async.fn and req->async.private_data tevent_req_set_print_fn() - sets req->private_print tevent_req_callback_data() - gets req->async.private_data tevent_req_data() - gets rea->data This way it is much simpler to keep API/ABI compatibility in the future. | ||||
* | Remove a temporary debug message -- sorry | Volker Lendecke | 2009-02-26 | 1 | -1/+0 |
| | |||||
* | Convert open_socket_out to tevent_req | Volker Lendecke | 2009-02-26 | 1 | -41/+41 |
| | |||||
* | Convert async_connect to tevent_req | Volker Lendecke | 2009-02-24 | 1 | -13/+16 |
| | |||||
* | s3 async: Fix the build on systems that have ETIMEDOUT but not ETIME | Tim Prouty | 2009-02-09 | 1 | -4/+7 |
| | | | | Fallback on EAGAIN | ||||
* | async_sock: Use unix errnos instead of NTSTATUS | Kai Blin | 2009-02-09 | 1 | -9/+9 |
| | | | | | This also switches wb_reqtrans to use wbcErr instead of NTSTATUS as it would be pointless to convert to errno first and to wbcErr later. | ||||
* | Next step disentangling async_req from NTSTATUS | Volker Lendecke | 2009-02-02 | 1 | -2/+2 |
| | | | | Now I need to document this :-) | ||||
* | Split up async_req into a generic and a NTSTATUS specific part | Volker Lendecke | 2009-02-01 | 1 | -13/+13 |
| | |||||
* | Add a macro async_req_setup() | Volker Lendecke | 2009-01-18 | 1 | -16/+4 |
| | | | | This streamlines setting up a multi-step async request a bit | ||||
* | "First thing, kill all the language lawyers" :-). Ensure possible insane ↵ | Jeremy Allison | 2009-01-16 | 1 | -1/+1 |
| | | | | | | | compilers can't kill us later. Jeremy. | ||||
* | Fix bug #6040 - Calling Samba print server with an aliased DNS-name fails. | Jeremy Allison | 2009-01-15 | 1 | -4/+5 |
| | | | | Jeremy. | ||||
* | Remove a duplicated comment | Volker Lendecke | 2009-01-04 | 1 | -4/+0 |
| | |||||
* | Add open_socket_out_defer_send/recv | Volker Lendecke | 2009-01-04 | 1 | -0/+111 |
| | |||||
* | Async wrapper for open_socket_out_send/recv | Volker Lendecke | 2009-01-04 | 1 | -56/+168 |
| | |||||
* | open_socket_out is always used with SOCK_STREAM, remove argument "type" | Volker Lendecke | 2009-01-03 | 1 | -9/+3 |
| | |||||
* | Make write_data use write_data_iov | Volker Lendecke | 2008-12-29 | 1 | -24/+24 |
| | |||||
* | Add write_data_iov | Volker Lendecke | 2008-12-29 | 1 | -0/+69 |
| | |||||
* | s3: Use DEBUGADD instead of DEBUG to avoid printing the header | Dan Sledz | 2008-12-15 | 1 | -2/+3 |
| | |||||
* | s3: Change sockaddr util function names for consistency | Tim Prouty | 2008-12-03 | 1 | -5/+5 |
| | | | | Also eliminates name conflicts with OneFS system libraries | ||||
* | Move set_sockaddr_port to libutil. | Jelmer Vernooij | 2008-10-23 | 1 | -12/+0 |
| | |||||
* | Use common net utility code (address and sockaddr manipulation). | Jelmer Vernooij | 2008-10-23 | 1 | -392/+1 |
| | |||||
* | Use sockaddr_storage only where we rely on the size, use sockaddr | Jelmer Vernooij | 2008-10-23 | 1 | -45/+44 |
| | | | | | otherwise (to clarify we can also pass in structs smaller than sockaddr_storage, such as sockaddr_in). | ||||
* | Add data_blob_string_const_null() function that includes the terminating | Jelmer Vernooij | 2008-10-13 | 1 | -6/+6 |
| | | | | | | null byte and use it in Samba 3. This matches the behaviour prior to my data_blob changes. | ||||
* | Cleanup of DC enumeration in get_dcs() | Steven Danneman | 2008-09-04 | 1 | -5/+16 |
| | | | | | | | | | | | | This is a fix for a few small inefficiencies/bugs in the get_dcs() path. * because the third add_one_dc_unique() loop was outside the ADS check all DCs returned from the non-sitename lookup were being tacked onto the dc_name_ip list twice. * add_one_dc_unique() now checks if the given IP address already exists before adding it to the list, making the returned list actually unique * added more thorough doxygen comment headers (This used to be commit cb2d488e1dbd90953c496c5e25d648977884f7e3) | ||||
* | Fix various build warnings | Zach Loafman | 2008-07-22 | 1 | -2/+2 |
| | | | | | | This fixes various build warnings on our platform. I'm sure I haven't caught them all, but it's a start. (This used to be commit 6b73f259cb67d9dda9127907d706f9244a871fa3) | ||||
* | Minor style correction | Zach Loafman | 2008-07-08 | 1 | -2/+2 |
| | | | | | | Set sin[6]_family instead of ss_family in in[6]_addr_to_sockaddr_storage so that assignments look like they're going to the same place. (This used to be commit 3d19112f645fb0f4bb6b644207ed2cee0b6b3ea9) | ||||
* | Security fix for CVE-2008-1105: Boundary failure when parsing SMB responses | Jeremy Allison | 2008-05-28 | 1 | -13/+5 |
| | | | | | | can result in a buffer overrun. Jeremy. (This used to be commit 23b825e9d2c74c5b940cf4d3aa56c18692259972) | ||||
* | increase log level for this failed setsockopt call. EINVAL is a normal error ↵ | Björn Jacke | 2008-04-07 | 1 | -1/+4 |
| | | | | | | on Solaris when we do this on an already resetted connection. (This used to be commit 42bc4ff7fd6bfc92bde015ae8f3a9fb62d443cd5) | ||||
* | Fix a bug in the output from print_canonical_sockaddr() fix from ↵ | Gerald W. Carter | 2008-03-26 | 1 | -2/+8 |
| | | | | | | | 36f8bafbd3dee66a8.... Make sure that IPv4 addresses are not enclised in []'s. (This used to be commit 4ddf58dbdc3d74cb72788ef4a2ec7587d4948c40) | ||||
* | Ignore port when pulling IP addr from struct sockaddr_storage. | Gerald (Jerry) Carter | 2008-03-24 | 1 | -34/+10 |
| | | | | | | | | | Linux man page states that getaddinfo() will leave the port uninitialized when passing in NULL for the service name. So we can't really trust that anymore. I doubt non-default KDC ports are an issues so just drop the port from the generated krb5.conf. AIX exhibits this bug the most. (This used to be commit 36f8bafbd3dee66a869aa26cfc2eb4aa62019325) | ||||
* | Fix Coverity ID 567 | Volker Lendecke | 2008-03-16 | 1 | -1/+1 |
| | | | | | | | | | | Jeremy, please push it if you like it and mark the bug as fixed on the Coverity site. Thanks, Volker (This used to be commit 2fd25423700cb60f20a8b8d6613279cb06fb518d) | ||||
* | Eliminate tons of build warnings on non-IPV6 system. | Michael Adam | 2008-02-29 | 1 | -1/+1 |
| | | | | | Michael (This used to be commit ee4810099c2d26a0ebab3c41a95bc6b57921683d) | ||||
* | Fix some warnings | Volker Lendecke | 2008-02-25 | 1 | -2/+1 |
| | | | | | warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result (This used to be commit ad37b7b0aee265a3e4d8b7552610f4b9a105434d) | ||||
* | Fix possible close of invalid fd if call to socket() returns -1. | Tim Potter | 2008-02-20 | 1 | -1/+2 |
| | | | | (This used to be commit f7d2f692994918037e603ef95dd097b03d2c5456) | ||||
* | Fix a debug message | Volker Lendecke | 2008-02-05 | 1 | -1/+1 |
| | | | | (This used to be commit 24aa3518aef7e36fde03d58f36487cbf29c027c9) | ||||
* | Convert read_data() to NTSTATUS | Volker Lendecke | 2008-02-02 | 1 | -23/+2 |
| | | | | (This used to be commit af40b71023f8c4a2133d996ea698c72b97624043) | ||||
* | Convert receive_smb_raw to NTSTATUS | Volker Lendecke | 2008-02-02 | 1 | -44/+7 |
| | | | | (This used to be commit ba771bd858602452a9e58c3aab1336f2ac8a25ef) |