1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-17 15:17:09 +03:00

29 Commits

Author SHA1 Message Date
Michael Adam
25341602ec Not all implementations of struct ifaddrs define ifa_broadaddr.
E.g. the definition of libreplace doesn't. :-o

Michael
2008-02-22 10:43:42 +01:00
Michael Adam
7970901223 Remove the implementations of _get_interfaces and autoconf test in interfaces.c
getifaddrs() is now provided by libreplace.

Michael
2008-02-22 01:59:45 +01:00
Volker Lendecke
38e178df12 Interface detection should not go through the socket wrapper
Next try to get the build farm more in line again than it is now
2007-12-25 12:35:44 +01:00
Jeremy Allison
ac4f897f0d Remove unused var noticed by metze.
Jeremy.
2007-11-03 10:25:51 -07:00
Jeremy Allison
6b7ccd3efb Fix typos in calc_sa_size, noticed by jim.brown@miami.edu
Jeremy.
2007-11-02 12:56:21 -07:00
Jeremy Allison
4d7badb0c4 Fix Solaris by ensuring we use the IPv4 or IPv6 length
in any getnameinfo calls.
Jeremy
2007-11-02 10:25:34 -07:00
Volker Lendecke
e17d3e10e8 Two patches
Hi!

Can you check and push them?

Thanks,

Volker

From b488af5905e2dee12a1a72a3b40801ae5c26f24f Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl@sernet.de>
Date: Sat, 27 Oct 2007 14:20:09 +0200
Subject: [PATCH] Fix some warnings and errors
2007-10-27 12:50:36 -07:00
Jeremy Allison
e6609cab73 Fix resolve name to resolve IPv6 addresses of link-local%ifaddr
Jeremy.
2007-10-25 18:28:36 -07:00
Jeremy Allison
4d4ab9aeb9 Fix for AIX interface code from Kyle Stemen <kstemen@centeris.com>
Jeremy.
2007-10-24 12:44:38 -07:00
Gerald (Jerry) Carter
dfef16ac43 Fix compile error caused by unknown variable. 2007-10-21 13:44:29 -05:00
Gerald (Jerry) Carter
620785df4e Add test for "struct in6_addr" to the HAVE_IPV6 configure test.
Also make use of "if defined(HAVE_IPV6)" rather than testing for
AF_INET6 since this is not sufficient on HP-UX 11.11 to ensure
a working IPv6 implementation.
2007-10-19 13:09:26 -07:00
Volker Lendecke
5e95c54886 Use strlcpy instead of strncpy 2007-10-13 21:44:58 +02:00
Volker Lendecke
d0f25bb89a Fix an uninitialized variable warning 2007-10-13 21:44:58 +02:00
Volker Lendecke
76d8dedc36 Also find loopback interfaces
Not sure if a loopback interface is actually a broadcast one.
2007-10-13 21:44:58 +02:00
Jeremy Allison
12c0b1d828 Try and fix segfault found by Guenther on Fedora. Fedora
seems to return bogus values for the interface entries on
vmnet and tun interfaces.
Jeremy.
2007-10-11 18:03:12 -07:00
Jeremy Allison
3f6bd0e1ec Add start of IPv6 implementation. Currently most of this is avoiding
IPv6 in winbindd, but moves most of the socket functions that were
wrongly in lib/util.c into lib/util_sock.c and provides generic
IPv4/6 independent versions of most things. Still lots of work
to do, but now I can see how I'll fix the access check code.
Nasty part that remains is the name resolution code which is
used to returning arrays of in_addr structs.
Jeremy.
2007-10-10 18:25:16 -07:00
Jeremy Allison
fffdad5285 r25476: Finally fix up new interface detection code :-).
Jeremy.
2007-10-10 12:31:07 -05:00
Jeremy Allison
ae8efc60aa r25475: Fix braindead mistakes I made pointed out by Simo and
James (how did this compile ? :-).
Jeremy.
2007-10-10 12:31:07 -05:00
Jeremy Allison
327875182c r25472: Fix the interfaces code to detect IPv6 interfaces, using the
new standard getifaddrs() and freeifaddrs() interfaces. Currently
we only return IPv4 af_families. Needs fixing for binds to IPv6
but this has to be careful work.
Jeremy.
2007-10-10 12:31:06 -05:00
Andrew Tridgell
b0132e94fc r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text 2007-10-10 12:28:22 -05:00
Jeremy Allison
407e6e695b r23779: Change from v2 or later to v3 or later.
Jeremy.
2007-10-10 12:28:20 -05:00
Herb Lewis
e710a7d39a r20131: get rid of a few no previous prototype warnings 2007-10-10 12:16:26 -05:00
Stefan Metzmacher
aa8222c6a7 r18687: sync the lib/interfaces.c with lib/socket/netif.c from samba4
to hopefully fix the build on HPUX and Tru64

metze
2007-10-10 12:00:47 -05:00
Herb Lewis
173375f8d8 r6586: get rid of a few more compiler warnings 2007-10-10 10:56:46 -05:00
Andrew Tridgell
03ac082dcb updated the 3.0 branch from the head branch - ready for alpha18 -
Tim Potter
6a58c9bd06 Removed version number from file header.
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
-
Andrew Tridgell
a69532ffde fix interfaces.c for aix 3.2.5 -
Jeremy Allison
38dffd360d Added "inherit permissions" patch.
Fixed locking bug found by Andrew.
Jeremy.
-
Andrew Tridgell
4e1458b8c1 interfaces.c from 2.0.6 -