Stefan Metzmacher
07e931a77f
lib/socket: use LIBREPLACE_NETWORK instead of EXT_SOCKET and EXT_NSL
...
The configure checks are also in libreplace now.
metze
2008-03-18 15:59:22 +01:00
Jelmer Vernooij
da1a9438bd
Make more module init functions public, since they are compiled with -fvisibility=hidden. Not doing this causes failures on Mac OS X.
2008-02-20 19:40:20 +01:00
Jelmer Vernooij
269cbf84d8
Get rid of 'INTEGRATED' build of modules - now replaced by 'MERGED_OBJ'
2008-02-18 19:06:17 +01:00
Jelmer Vernooij
9b4924fbd8
r26467: Use getifaddrs() for interface enumeration and provide replacements for platforms that don't have it in lib/replace.
2007-12-21 05:50:31 +01:00
Jelmer Vernooij
2833f320de
r26409: Pass smb ports along.
2007-12-21 05:49:42 +01:00
Jelmer Vernooij
c0f2775fd8
r26406: Make a copy to prevent modification of the loadparm configuration.
2007-12-21 05:49:37 +01:00
Jelmer Vernooij
5827b7460a
r26405: Import support for getifaddrs from Samba3.
2007-12-21 05:49:37 +01:00
Jelmer Vernooij
035c483100
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.
2007-12-21 05:49:36 +01:00
Jelmer Vernooij
a35e51871b
r26402: Require a talloc context in libnetif.
2007-12-21 05:49:33 +01:00
Jelmer Vernooij
9f975417cc
r26401: Don't cache interfaces context in libnetif.
2007-12-21 05:49:32 +01:00
Jelmer Vernooij
801c8c766c
r26397: Fix circular dependency in samba-socket.
2007-12-21 05:49:26 +01:00
Jelmer Vernooij
89008ae18d
r26383: Make interfaces argument explicit.
2007-12-21 05:49:17 +01:00
Jelmer Vernooij
459e1466a4
r26376: Add context for libcli_resolve.
2007-12-21 05:49:12 +01:00
Jelmer Vernooij
b03e5d0011
r26335: Specify name_resolve_order to socket code.
2007-12-21 05:48:46 +01:00
Jelmer Vernooij
e452cb2859
r26325: Remove use of global_loadparm in netif.
2007-12-21 05:48:37 +01:00
Jelmer Vernooij
6fd0d9d3b7
r26313: Fix more uses of static loadparm.
2007-12-21 05:48:25 +01:00
Jelmer Vernooij
262c1c23a6
r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes.
2007-12-21 05:43:00 +01:00
Stefan Metzmacher
192c05556f
r25600: fix stupid typo...this should fix the build on sunX
...
metze
2007-10-10 15:08:03 -05:00
Jelmer Vernooij
e3df90927b
r25545: Use inet_ntop for ipv4 code as well - should make it easier to share code between IPv4 and IPv6 later on.
2007-10-10 15:07:51 -05:00
Jelmer Vernooij
5e814287ba
r25522: Convert to standard bool types.
2007-10-10 15:07:47 -05:00
Jelmer Vernooij
fd697d77c9
r25430: Add the loadparm context to all parametric options.
2007-10-10 15:07:31 -05:00
Jelmer Vernooij
02b4621181
r25411: Fix IPv6 socket backend.
2007-10-10 15:07:29 -05:00
Jelmer Vernooij
3fcc960839
r25398: Parse loadparm context to all lp_*() functions.
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
e227c74971
r25384: Support DGRAM IPv6 sockets.
2007-10-10 15:07:23 -05:00
Stefan Metzmacher
4c8063b9c4
r25122: fix interface detection code
...
jelmer: I wonder what broke it...
metze
2007-10-10 15:06:43 -05:00
Jelmer Vernooij
3f30cd5688
r25043: Avoid allocation on with NULL parent.
2007-10-10 15:05:47 -05:00
Jelmer Vernooij
df9cebcb97
r25035: Fix some more warnings, use service pointer rather than service number in more places.
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
5085c53fcf
r25027: Fix more warnings.
2007-10-10 15:05:41 -05:00
Jelmer Vernooij
abe8349f9b
r25026: Move param/param.h out of includes.h
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
0bcb21ed74
r25001: Fix more C++ and other warnings, fix some of the indentation with ts=4 lines that I accidently added earlier.
2007-10-10 15:05:28 -05:00
Jelmer Vernooij
a5a1a55405
r24992: Remove some uses of lp_*().
2007-10-10 15:05:25 -05:00
Jelmer Vernooij
15f47aaf53
r24939: Integrate IPv4 and IPv6 modules (a lot of code can be shared).
2007-10-10 15:03:39 -05:00
Jelmer Vernooij
9b256a0ca2
r24937: Merge tests spoolss RPC callbacks.
2007-10-10 15:03:39 -05:00
Jelmer Vernooij
1ce32673d9
r24712: No longer expose the 'BOOL' data type in any interfaces.
2007-10-10 15:02:54 -05:00
Andrew Tridgell
fcf38a38ac
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.
2007-10-10 14:59:12 -05:00
Andrew Tridgell
4e31eda055
r23701: when we create a new socket with socket_accept(), clear any flags that
...
were set in the old one. Otherwise SOCKET_FLAG_NOCLOSE causes a major
fd leak
2007-10-10 14:59:05 -05:00
Andrew Tridgell
d57aaf5ba6
r22960: added a SOCKET_FLAG_NOCLOSE to allow us to tell the socket layer that
...
we will handle the close of the socket
2007-10-10 14:52:31 -05:00
Jelmer Vernooij
5ff665b653
r22602: s/HAVE_SOCKET_IPV6/HAVE_IPV6/ to match the define used by Heimdal.
2007-10-10 14:51:50 -05:00
Jelmer Vernooij
2f64b75846
r22503: Add support for dgram to socket_ipv6. No tests yet...
2007-10-10 14:51:34 -05:00
Jelmer Vernooij
7a0da66e39
r22488: Hopefully fix ipv6.
2007-10-10 14:51:33 -05:00
Stefan Metzmacher
e0e35965d1
r22404: more dependencies which should be private
...
metze
2007-10-10 14:51:14 -05:00
Andrew Tridgell
af6661e442
r22089: check the return value of interpret_addr2()
2007-10-10 14:49:50 -05:00
Jelmer Vernooij
4d755fb5d7
r21656: Move tests a bit closer to the things they test, should make syncing with samba3 easier.
2007-10-10 14:49:05 -05:00
Stefan Metzmacher
8999a9eb2e
r18708: much nicer fix
...
metze
2007-10-10 14:19:03 -05:00
Stefan Metzmacher
018b142d93
r18704: readd BOOL define to fix the build
...
but I think this is the wrong fix...
metze
2007-10-10 14:19:03 -05:00
Stefan Metzmacher
cc729e646c
r18685: we don't need this here
...
metze
2007-10-10 14:19:02 -05:00
Andrew Tridgell
ac71f40f8f
r18589: make inclusion of net/if.h conditional. It breaks HPUX with gcc.
2007-10-10 14:18:53 -05:00
Andrew Tridgell
bde18f3d5c
r18563: - move more of the header checks into lib/replace/
...
- change the test for net/if.h to do a full compile, not just an
existance test. net/if.h is completely broken on hpux, and can never
compile (it uses stuff before it defines it), so by using a
AC_TRY_COMPILE() test we avoid using net/if.h on hpux, which should
fix the build
2007-10-10 14:18:46 -05:00
Stefan Metzmacher
04a0a5144a
r18553: - confdefs.h is always included in configure checks no need to include them explicit
...
- undefine _XOPEN_SOURCE_EXTENDED for the AIX interface detection test
#define _XOPEN_SOURCE_EXTENDED 1 brings in sa_len to sockaddr on Tru64
which means the AIX code compiles...
metze
2007-10-10 14:18:45 -05:00
Stefan Metzmacher
8fa9852160
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
2007-10-10 14:18:45 -05:00