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

11 Commits

Author SHA1 Message Date
Andrew Tridgell
828b5cd451 s4-socket: use TYPESAFE_QSORT() in netif code 2010-02-13 22:36:12 +11:00
Jelmer Vernooij
be4decb2b7 r26467: Use getifaddrs() for interface enumeration and provide replacements for platforms that don't have it in lib/replace.
(This used to be commit 9b4924fbd8619033c55b4c6e2589da247332e7db)
2007-12-21 05:50:31 +01:00
Jelmer Vernooij
c64c571591 r26405: Import support for getifaddrs from Samba3.
(This used to be commit 5827b7460a058e8565a406f1c3533e5f589674b5)
2007-12-21 05:49:37 +01:00
Jelmer Vernooij
0b8ec6de02 r26404: Disable socket wrapper for the interface detection code to work around the fact that the ioctls for enumerating interfaces are not very reliable when used on unix domain sockets.
Ideally, we should be implementing the SIOCGIFCONF and SIOCGIFADDR ioctls in socket wrapper.
(This used to be commit 035c4831003d5b5310f0874e712ef66ba3e78e34)
2007-12-21 05:49:36 +01:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
fd511d47e9 r18708: much nicer fix
metze
(This used to be commit 8999a9eb2e7f3e8e4ff8f5311b9375bde590f2a5)
2007-10-10 14:19:03 -05:00
Stefan Metzmacher
e1b77f87ef r18704: readd BOOL define to fix the build
but I think this is the wrong fix...

metze
(This used to be commit 018b142d93ba2d36cd68db407e4a591461137b9b)
2007-10-10 14:19:03 -05:00
Stefan Metzmacher
1be714b287 r18685: we don't need this here
metze
(This used to be commit cc729e646c5e3cb7919d033f90bda1dce545ff6b)
2007-10-10 14:19:02 -05:00
Andrew Tridgell
3c76ac114d r18589: make inclusion of net/if.h conditional. It breaks HPUX with gcc.
(This used to be commit ac71f40f8ff13c422e528dd5013842aa5a5004e7)
2007-10-10 14:18:53 -05:00
Stefan Metzmacher
f8079a6386 r18548: don't use #elif as we don't notice when 2 HAVE_IFACE_ versions are defined
try to find the problem on Tru64...where configure says the AIX method finds 1 interface
but later can't compile netif.c. (revision 18486 was the last that detects ifconf with 2 interfaces)

metze
(This used to be commit 8fa9852160680054ddb5316c4ee03a03f8553a37)
2007-10-10 14:18:45 -05:00
Stefan Metzmacher
a2eca9174c r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on the
configure check for the interfaces.

should fix the build on some old sun boxes

metze
(This used to be commit f20e251bfd9f1eb7ce5c00739631b1625a2aa467)
2007-10-10 14:15:39 -05:00