Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-05-08 | s3-lib Use common lib/socket code for get_interfaces() et al | Andrew Bartlett | 1 | -1/+1 | |
2011-05-08 | Improve debug messages when creating socket directories | Andrew Bartlett | 1 | -5/+12 | |
This makes clear what the permissions error and directory name actually is Andrew Bartlett | |||||
2011-05-05 | More const fixes for compiler warnings from the waf build. | Jeremy Allison | 1 | -2/+2 | |
2011-05-03 | lib/util Move set_socket_options() into common code. | Andrew Bartlett | 1 | -160/+0 | |
2011-05-03 | lib/util Move more network utility functions from source3 into lib/util | Andrew Bartlett | 1 | -156/+0 | |
This will help with the merge of the interfaces layer. Andrew Bartlett | |||||
2011-04-29 | s3-tevent: only include ../lib/util/tevent wrappers where needed. | Günther Deschner | 1 | -0/+2 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104 | |||||
2011-04-25 | s3:lib/util_sock: listen on IPv6 addresses with IPV6_ONLY (bug #7383) | Stefan Metzmacher | 1 | -0/+26 | |
This avoids getting IPv4 addresses as mapped IPv6 addresses (e.g. ::ffff:192.168.0.1). Before the bahavior was inconsistent between operating system and distributions. Some system have IPV6_ONLY as default. Now we consistently get AF_INET for IPv4 addresses and AF_INET6 for IPv6 addresses. It also makes it possible to listen only on IPv6 now as "::" doesn't imply "0.0.0.0" anymore. Which also avoids confusing log messages that we were not able to bind to "0.0.0.0". metze | |||||
2011-04-13 | s3-util_sock: very brief documentation for open_socket_out(). | Günther Deschner | 1 | -0/+10 | |
The most important bit is to document that timeout is in MILLIseconds, not seconds. Guenther | |||||
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 | |