Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-03-30 | s3-includes: only include system/filesys.h when needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-24 | Fix is_myname_or_ipaddr() to be robust against strange DNS setups. | Jeremy Allison | 1 | -30/+56 | |
If IPv6 DNS names are turned on, but Samba isn't configured to listen on an IPv6 interface, then is_myname_or_ipaddr() can return false on a valid DNS name that it should detect is our own. If the IPv6 addr is returned by preference, then looking at the first addr only causes is_myname_or_ipaddr() to fail. We need to look at all the addresses returned by the DNS lookup and check all of them against our interface list. This is an order N^2 lookup, but there shouldn't be enough addresses to make this a practical problem. Jeremy. | |||||
2011-03-23 | s3-lib Remove the clobber_region() code. | Andrew Bartlett | 1 | -4/+0 | |
This code wrote to the full buffer in fstrcpy(), pstrcpy() and other fixed-length string manipulation functions. The hope of this code was to find out at run time if we were mixing up pstring and fstring etc, and to record where this came from. It has a runtime performance impact (particularly if compiled with --enable-developer). It is being removed because of the complexity it adds, and the distinct lack of bugs that this complexity has been credited in finding. The macro-based compile-time checking of string sizes remains. Andrew Bartlett | |||||
2011-03-16 | s3-interfaces: only include interfaces.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-02-28 | s3: Eliminate sys_select_intr from read_fd_with_timeout | Volker Lendecke | 1 | -12/+7 | |
2011-02-28 | s3: Add poll_intr_one_fd | Volker Lendecke | 1 | -0/+17 | |
2011-02-28 | s3: Add poll_one_fd() | Volker Lendecke | 1 | -0/+27 | |
2011-02-27 | s3: Make is_zero_addr take a sockaddr_storage | Volker Lendecke | 1 | -1/+1 | |
All callers had to cast this anyway Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104 | |||||
2011-02-09 | s3: Fix some nonempty blank lines and some typos | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 9 00:01:45 CET 2011 on sn-devel-104 | |||||
2010-12-22 | s3: Remove unused open_any_socket_out | Volker Lendecke | 1 | -165/+0 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Dec 22 17:27:29 CET 2010 on sn-devel-104 | |||||
2010-12-19 | s3: Fix some typos | Volker Lendecke | 1 | -1/+1 | |
2010-10-07 | s3: Adding TCP_KEEPALIVE_THRESHOLD and TCP_KEEPALIVE_ABORT_THRESHOLD to ↵ | Ira Cooper | 1 | -0/+6 | |
the list of accepted socket settings. These are both exclusive to Solaris/OpenSolaris. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Oct 7 00:26:39 UTC 2010 on sn-devel-104 | |||||
2010-10-01 | samba: share select wrappers. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-09-20 | s3-build: only include async headers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-26 | s3-build: only include memcache.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-18 | s3: Fix an uninitialized variable | Volker Lendecke | 1 | -3/+2 | |
2010-08-17 | s3: Move read_smb_length() to smbd/reply.c | Volker Lendecke | 1 | -42/+0 | |
2010-08-17 | s3: Remove smbd_server_fd from receive_smb_raw | Volker Lendecke | 1 | -25/+4 | |
This is only called from client code | |||||
2010-08-17 | s3: Lift smbd_server_fd() from read_smb_length_return_keepalive | Volker Lendecke | 1 | -13/+24 | |
2010-08-17 | s3: Lift smbd_server_fd() from read_data() | Volker Lendecke | 1 | -19/+1 | |
All callers have appropriate debug messages themselves | |||||
2010-08-17 | s3: Lift smbd_server_fd() from read_fd_with_timeout() | Volker Lendecke | 1 | -43/+44 | |
2010-08-17 | s3-util: remove unused variable. | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2010-08-17 | s3: Remove smbd_server_fd() from write_data() | Volker Lendecke | 1 | -20/+1 | |
This completely removes the DEBUG(0, ..) error message from write_data(). I've gone through all callers of write_data() and made sure that they have their own equivalent error message printing. | |||||
2010-08-16 | s3: Remove get_client_fd() | Volker Lendecke | 1 | -4/+4 | |
2010-03-26 | s3-util_sock: Rise debug level for getpeername failed messages. | Karolin Seeger | 1 | -4/+6 | |
Don't show all getpeername failed messages in debug level 0 and 1. Karolin Signed-off-by: Volker Lendecke <vl@samba.org> | |||||
2009-09-15 | libcli:nbt make the lmhosts parsing code and dependicies common | Andrew Bartlett | 1 | -115/+0 | |
This starts the process to have Samba4 use lmhosts. Andrew Bartlett | |||||
2009-09-06 | Fix bug 6673 - smbpasswd does not work with "unix password sync = yes". | Jeremy Allison | 1 | -17/+25 | |
Revert change from 3.3 -> 3.4 with read_socket_with_timeout changed from sys_read() to sys_recv(). read_socket_with_timeout() is called with non-fd's (with a pty in chgpasswd.c and with a disk file in lib/dbwrap_file.c via read_data()). recv works for the disk file, but not the pty. Change the name of read_socket_with_timeout() to read_fd_with_timeout() to make this clear (and add comments). Jeremy. | |||||
2009-09-05 | Save and report the correct errno value. | Simo Sorce | 1 | -8/+12 | |
2009-07-28 | (Hopefully) fix the problem Kai reported with | Jeremy Allison | 1 | -5/+53 | |
net ads leave and IPv6. Ensure all DC lookups prefer IPv4. Jeremy. | |||||
2009-07-14 | s3: allow setting the TCP_QUICKACK socket option | Björn Jacke | 1 | -0/+3 | |
2009-06-08 | Make open_udp_socket() IPv6 clean. Trying to fix bug #6437 - Unable to join ↵ | Jeremy Allison | 1 | -10/+25 | |
IPv6-only ads domain. Avaiting feedback from submitter before backport to 3.4 and earlier. Jeremy. | |||||
2009-06-06 | Allow AF_UNIX for open_socket_out | Volker Lendecke | 1 | -0/+4 | |
2009-05-18 | Fix bug 5681: Do not limit the number of network interfaces | Volker Lendecke | 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 | |||||
2009-05-13 | s3:libsmb: move read_smb_send/recv() static in async_smb.c | Stefan Metzmacher | 1 | -87/+0 | |
metze | |||||
2009-05-12 | Clean up assignments to iov_base, ensure it's always cast to void *. This ↵ | Jeremy Allison | 1 | -2/+2 | |
should quieten some warnings with picky compilers on the buildfarm. Jeremy. | |||||
2009-05-01 | Add getaddrinfo_send/recv | Volker Lendecke | 1 | -0/+82 | |
2009-04-12 | Reactivate get_socket_port | Volker Lendecke | 1 | -4/+1 | |
2009-04-08 | s3-util-sock: add ismyaddr() check in is_myname_or_ipaddr(). | Günther Deschner | 1 | -0/+4 | |
Guenther | |||||
2009-04-06 | Add read_smb_send/recv, dumping keepalives | Volker Lendecke | 1 | -0/+87 | |
2009-03-19 | s3:lib/util_sock: use sys_recv() instead of sys_read() on sockets | Stefan Metzmacher | 1 | -2/+2 | |
This ways the pcap support in socket wrapper sees the received data. metze | |||||
2009-03-16 | Convert open_socket_out_defer to tevent_req | Volker Lendecke | 1 | -29/+29 | |
2009-03-16 | Use tevent_wakeup_send in open_socket_out_defer | Volker Lendecke | 1 | -22/+15 | |
2009-03-02 | Make struct tevent_req opaque | Simo Sorce | 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. | |||||
2009-02-26 | Remove a temporary debug message -- sorry | Volker Lendecke | 1 | -1/+0 | |
2009-02-26 | Convert open_socket_out to tevent_req | Volker Lendecke | 1 | -41/+41 | |
2009-02-24 | Convert async_connect to tevent_req | Volker Lendecke | 1 | -13/+16 | |
2009-02-09 | s3 async: Fix the build on systems that have ETIMEDOUT but not ETIME | Tim Prouty | 1 | -4/+7 | |
Fallback on EAGAIN | |||||
2009-02-09 | async_sock: Use unix errnos instead of NTSTATUS | Kai Blin | 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. | |||||
2009-02-02 | Next step disentangling async_req from NTSTATUS | Volker Lendecke | 1 | -2/+2 | |
Now I need to document this :-) | |||||
2009-02-01 | Split up async_req into a generic and a NTSTATUS specific part | Volker Lendecke | 1 | -13/+13 | |