summaryrefslogtreecommitdiff
path: root/source3/lib/interfaces.c
AgeCommit message (Collapse)AuthorFilesLines
2011-03-16s3-interfaces: only include interfaces.h where needed.Günther Deschner1-0/+1
Guenther
2010-02-14s3-lib: use TYPESAFE_QSORT() in s3 interfaces codeAndrew Tridgell1-1/+1
2009-09-10Fix bug 6707 - 3.4.1 segfault in parsing configs.Marc Aurele La France1-4/+4
Fixes an occasional segfault caused by an out-of-bounds reference in config file parsing.
2009-05-18Fix bug 5681: Do not limit the number of network interfacesVolker Lendecke1-10/+29
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-03-09s3:lib: interfaces.c isn't used in the configure tests anymoreStefan Metzmacher1-73/+1
libreplace always provides the getifaddr() function. This fixes the build on sles8. metze
2008-09-16Make Samba 3 and Samba 4 both use the same single copy of libreplace.Jelmer Vernooij1-1/+1
2008-02-22Not all implementations of struct ifaddrs define ifa_broadaddr.Michael Adam1-13/+3
E.g. the definition of libreplace doesn't. :-o Michael (This used to be commit 25341602ec8752e19ab993872dc2f6c4762785ff)
2008-02-22Remove the implementations of _get_interfaces and autoconf test in interfaces.cMichael Adam1-386/+0
getifaddrs() is now provided by libreplace. Michael (This used to be commit 7970901223464745f99cea883b180316189e4b2c)
2007-12-25Interface detection should not go through the socket wrapperVolker Lendecke1-0/+1
Next try to get the build farm more in line again than it is now (This used to be commit 38e178df12d30672f74bf272338954c7917b59e3)
2007-11-03Remove unused var noticed by metze.Jeremy Allison1-1/+0
Jeremy. (This used to be commit ac4f897f0dec0e33e79c316340b47c2803104635)
2007-11-02Fix typos in calc_sa_size, noticed by jim.brown@miami.eduJeremy Allison1-1/+2
Jeremy. (This used to be commit 6b7ccd3efb05291f3b8779845a3842a09bb9aa07)
2007-11-02Fix Solaris by ensuring we use the IPv4 or IPv6 lengthJeremy Allison1-3/+14
in any getnameinfo calls. Jeremy (This used to be commit 4d7badb0c44f287034f58d9a412e662c0fbecdc9)
2007-10-27Two patchesVolker Lendecke1-2/+2
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 (This used to be commit e17d3e10e860c96b6d5208e5fe51e43b8e58c174)
2007-10-25Fix resolve name to resolve IPv6 addresses of link-local%ifaddrJeremy Allison1-5/+112
Jeremy. (This used to be commit e6609cab732d5cd5cc9a5ae50aee15147f2ec6ec)
2007-10-24Fix for AIX interface code from Kyle Stemen <kstemen@centeris.com>Jeremy Allison1-9/+16
Jeremy. (This used to be commit 4d4ab9aeb9d85b4c98cbf8a8363a9cefecd4b365)
2007-10-21Fix compile error caused by unknown variable.Gerald (Jerry) Carter1-1/+1
(This used to be commit dfef16ac4318b460a5bd29475eb395c1905a5cd8)
2007-10-19Add test for "struct in6_addr" to the HAVE_IPV6 configure test.Gerald (Jerry) Carter1-2/+2
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. (This used to be commit 620785df4e57b72471ff0315e22e0d2f28a2b1a5)
2007-10-13Use strlcpy instead of strncpyVolker Lendecke1-12/+8
(This used to be commit 5e95c548864bc8b075b8343e69a69e1a22c92456)
2007-10-13Fix an uninitialized variable warningVolker Lendecke1-2/+2
(This used to be commit d0f25bb89a2268c8f789dd362010f8b785489424)
2007-10-13Also find loopback interfacesVolker Lendecke1-1/+1
Not sure if a loopback interface is actually a broadcast one. (This used to be commit 76d8dedc368ecb1594780ce58ffee2a35a6f4f73)
2007-10-11Try and fix segfault found by Guenther on Fedora. FedoraJeremy Allison1-2/+5
seems to return bogus values for the interface entries on vmnet and tun interfaces. Jeremy. (This used to be commit 12c0b1d82802ccd1b272a8b47ddb7d258e10477c)
2007-10-10Add start of IPv6 implementation. Currently most of this is avoidingJeremy Allison1-77/+181
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. (This used to be commit 3f6bd0e1ec5cc6670f3d08f76fc2cd94c9cd1a08)
2007-10-10r25476: Finally fix up new interface detection code :-).Jeremy Allison1-1/+1
Jeremy. (This used to be commit fffdad52859b5a8bc5dd61912d80b93e8c030c8f)
2007-10-10r25475: Fix braindead mistakes I made pointed out by Simo andJeremy Allison1-2/+6
James (how did this compile ? :-). Jeremy. (This used to be commit ae8efc60aa1ddff795d16b1fb1bfe8cc392f49b3)
2007-10-10r25472: Fix the interfaces code to detect IPv6 interfaces, using theJeremy Allison1-35/+138
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. (This used to be commit 327875182c9219aeba687e10aaea93546d9a70ea)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r20131: get rid of a few no previous prototype warningsHerb Lewis1-0/+1
(This used to be commit e710a7d39a662a1a339f3f71c4b051fde1bb5a16)
2007-10-10r18687: sync the lib/interfaces.c with lib/socket/netif.c from samba4Stefan Metzmacher1-23/+25
to hopefully fix the build on HPUX and Tru64 metze (This used to be commit aa8222c6a709a1538862878b89a17b893600b7e8)
2007-10-10r6586: get rid of a few more compiler warningsHerb Lewis1-0/+2
(This used to be commit 173375f8d88bf8e8db8d60e5d5f0e5dcc28767d9)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-4/+10
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2001-05-07fix interfaces.c for aix 3.2.5Andrew Tridgell1-2/+0
(This used to be commit a69532ffde761453f3d9189be2fbf1036c2ed196)
2000-01-14Added "inherit permissions" patch.Jeremy Allison1-0/+3
Fixed locking bug found by Andrew. Jeremy. (This used to be commit 38dffd360dc2e44bfc9e751f017e24f81ff0f2fa)
1999-12-17interfaces.c from 2.0.6Andrew Tridgell1-0/+401
(This used to be commit 4e1458b8c161f87339eba251c2179946d3b0405a)