Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-06-06 | s4-ipv6: enable IPv6 by default | Andrew Tridgell | 1 | -2/+2 | |
it now passes all tests | |||||
2011-06-06 | s4-ipv6: update callers to load_interface_list() | Andrew Tridgell | 1 | -2/+2 | |
2011-06-06 | s4-ipv6: allow ipv6 to be enabled/disabled in smb.conf | Andrew Tridgell | 1 | -11/+20 | |
this adds the parametric option ipv6:enable=true/false It defaults to false for now, until the remaining issues with testing of ipv6 are resolved | |||||
2011-06-06 | s4-ipv6: fixed ipv6_listen() to use IPV6_V6ONLY | Andrew Tridgell | 1 | -4/+24 | |
this changes ipv6_listen() to use IPV6_V6ONLY, and to setup the right scope id for link local IPv6 addresses | |||||
2011-06-06 | s4-ipv6: added socket_address_from_sockaddr_storage() | Andrew Tridgell | 2 | -0/+48 | |
this converts a struct sockaddr_storage to a struct socket_address | |||||
2011-06-06 | s4-ipv6: added ipv4 functions to interface code | Andrew Tridgell | 1 | -0/+32 | |
this adds iface_list_first_v4() and iface_list_n_is_v4(). The NBT server will use these to allow it to listen only for IPv4 addresses. | |||||
2011-06-06 | s4-ipv6: fixed a warning | Andrew Tridgell | 1 | -1/+1 | |
2011-06-06 | s4-ipv6: allow IPv6 addresses in our interfaces list | Andrew Tridgell | 1 | -5/+0 | |
2011-06-06 | s4-ipv6: added iface_list_wildcard() | Andrew Tridgell | 2 | -1/+29 | |
this returns a list of wildcard address to listen on, when we don't have 'bind interfaces only' set. It is a list, not a single address, we need to listen separately for the IPv6 "::" address from the IPv4 0.0.0.0 address. This also takes account of the loadparm "socket address" option | |||||
2011-06-01 | lib/util/time.c: timeval_current_ofs_usec | Rusty Russell | 1 | -1/+1 | |
Several places want "microseconds from current time", and several were simply handing "usecs" values which could be over a million. Using a helper to do this is safer and more readable. I didn't replace any obviously correct callers (ie. constants). I also renamed wait_nsec in source3/lib/util_sock.c; it's actually microseconds not nanoseconds (introduced with this code in Volker's 19b783cc Async wrapper for open_socket_out_send/recv). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2011-05-08 | s4-interfaces: keep interfaces in the order they were declared | Andrew Tridgell | 1 | -1/+5 | |
the spoolss notify test depends on the interfaces order Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun May 8 13:57:58 CEST 2011 on sn-devel-104 | |||||
2011-05-08 | s4-interfaces Rename interfaces code so not to conflict with source3/ | Andrew Bartlett | 2 | -23/+23 | |
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 | |||||
2011-05-08 | lib/socket move interfaces code to the top level | Andrew Bartlett | 3 | -334/+6 | |
2011-05-08 | s4-lib/socket Samba4 is not IPv6 compatible | Andrew Bartlett | 1 | -0/+5 | |
Don't add IPv6 interfaces until we actually support them. I'll soon have IPv6 service at home, and then I'll make it my buisness to sort this out once and for all. Andrew Bartlett | |||||
2011-05-08 | s4-lib merge get_interfaces() from Samba3 to Samba4 | Andrew Bartlett | 3 | -100/+375 | |
2011-05-03 | s4-socket: rename allow_access() to socket_allow_access() | Andrew Tridgell | 2 | -7/+7 | |
this prevents a symbol collision with s3 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-05-03 | lib/util Move set_socket_options() into common code. | Andrew Bartlett | 1 | -160/+0 | |
2011-05-03 | s4-lib/socket Merge updated set_socket_options from Samba3 -> Samba4 | Andrew Bartlett | 1 | -34/+90 | |
2011-03-19 | source4/lib: Fix prototypes for all functions. | Jelmer Vernooij | 2 | -0/+4 | |
2011-03-09 | s4:lib/socket: use sockaddr_in6 in ipv6_tcp_accept() | Stefan Metzmacher | 1 | -1/+1 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 9 14:36:42 CET 2011 on sn-devel-104 | |||||
2010-12-11 | s4-smbtorture: Make test names lowercase and dot-separated. | Jelmer Vernooij | 1 | -2/+1 | |
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104 | |||||
2010-10-31 | s4: Remove the old perl/m4/make/mk-based build system. | Jelmer Vernooij | 2 | -61/+0 | |
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104 | |||||
2010-10-26 | waf: Remove lib prefix from libraries manually. | Jelmer Vernooij | 1 | -1/+1 | |
2010-10-26 | s4: Drop duplicate 'lib' prefix for private libraries. | Jelmer Vernooij | 1 | -2/+2 | |
2010-10-24 | s4: Rename LIBSAMBA-* to libsamba-* | Jelmer Vernooij | 1 | -2/+2 | |
2010-10-23 | s4: Rename LIBNETIF to libnetif. | Jelmer Vernooij | 1 | -24/+20 | |
2010-10-23 | s4 socket: increase the debuglevel to make add interface debug messages less ↵ | Kai Blin | 1 | -1/+1 | |
verbose | |||||
2010-10-21 | s4-socket: make LIBNETIF a private library | Andrew Tridgell | 1 | -5/+6 | |
2010-07-16 | s4-loadparm: 2nd half of lp_ to lpcfg_ conversion | Andrew Tridgell | 1 | -2/+2 | |
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-04-12 | s4-waf: inline LIBREPLACE_NETWORK into 'replace' | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2010-04-06 | s4-waf: removed the AUTOGENERATED markers | Andrew Tridgell | 1 | -3/+0 | |
we won't be using the mk -> wscript generator again | |||||
2010-04-06 | s4-waf: more dependencies on talloc | Andrew Tridgell | 1 | -1/+1 | |
these are needed so we can support a system talloc without using the bundled talloc.h | |||||
2010-04-06 | s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵ | Andrew Tridgell | 1 | -0/+2 | |
them | |||||
2010-04-06 | build: waf quicktest nearly works | Andrew Tridgell | 1 | -2/+2 | |
Rewrote wafsamba using a new dependency handling system, and started adding the waf test code | |||||
2010-04-06 | build: commit all the waf build files in the tree | Andrew Tridgell | 1 | -0/+33 | |
2010-03-26 | libutil: moved the networking defines to util_net.h | Andrew Tridgell | 3 | -0/+3 | |
These were causing thousands of warnings on solaris8 | |||||
2010-03-11 | s4:lib/socket Don't go via a string when resolving addresses in connect_multi | Andrew Bartlett | 1 | -28/+20 | |
This also removes the special case for IP addresses, and leaves that to the code in the resolver library. Andrew Bartlett | |||||
2010-03-11 | s4:lib/socket Add function to set a port on the socket address | Andrew Bartlett | 2 | -0/+14 | |
2010-02-13 | s4-socket: use TYPESAFE_QSORT() in netif code | Andrew Tridgell | 1 | -1/+2 | |
2009-12-24 | s4:lib/socket: add socket_get_{remote|local}_addr() to get a tsocket_address ↵ | Stefan Metzmacher | 2 | -0/+32 | |
instead of a socket_address metze | |||||
2009-12-24 | s4:lib/socket: add helpers functions to convert between socket_address and ↵ | Stefan Metzmacher | 3 | -1/+48 | |
tsocket_address metze | |||||
2009-10-02 | s4: fix various warnings (not "const" related ones) | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-09-19 | s4-resolve: fixed a crash bug on timeout | Andrew Tridgell | 1 | -1/+1 | |
We were creating the name resolution context as a child of lp_ctx, which meant when we gave up on a connection the timer on name resolution kept running, and when it timed out the callback crashed as the socket was already removed. | |||||
2009-02-13 | s4:lib/socket: add socket_address_copy() | Stefan Metzmacher | 2 | -0/+35 | |
metze | |||||
2009-02-12 | Fix Coverity ID 871 -- do not dereference "sp" before checking for NULL | Volker Lendecke | 1 | -1/+3 | |
2009-02-02 | s4:lib/socket: s/private/private_data | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2009-01-30 | s4:lib/socket: don't use gethostbyname2() | Stefan Metzmacher | 2 | -9/+25 | |
metze | |||||
2009-01-03 | s4:socket: use a socket_wrapper aware function to auto close the fd event ↵ | Stefan Metzmacher | 2 | -0/+15 | |
for sockets metze | |||||
2008-12-29 | s4:lib/tevent: rename structs | Stefan Metzmacher | 4 | -19/+19 | |
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-24 | Rename samba-socket -> samba_socket to fix a couple more compiler | Jelmer Vernooij | 1 | -4/+4 | |
warnings. |