1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

182 Commits

Author SHA1 Message Date
Simo Sorce
4e83011f72 Remove more event_context_init() uses from function calls within deep down the code.
Make sure we pass around the event_context where we need it instead.
All test but a few python ones fail. Jelmer promised to fix them.
(This used to be commit 3045d39162)
2008-04-21 18:12:33 -04:00
Jelmer Vernooij
e9017ba418 Use _OBJ_FILES variables in a couple more places.
(This used to be commit 92856d5054)
2008-04-14 17:22:58 +02:00
Jelmer Vernooij
148d3b170a Use torture_assert_mem_equal() in a couple more places.
(This used to be commit e2c3fab9d1)
2008-04-13 22:00:36 +02:00
Stefan Metzmacher
7b412ccade lib/socket: use LIBREPLACE_NETWORK instead of EXT_SOCKET and EXT_NSL
The configure checks are also in libreplace now.

metze
(This used to be commit 07e931a77f)
2008-03-18 15:59:22 +01:00
Jelmer Vernooij
39a6495c86 Make more module init functions public, since they are compiled with -fvisibility=hidden. Not doing this causes failures on Mac OS X.
(This used to be commit da1a9438bd)
2008-02-20 19:40:20 +01:00
Jelmer Vernooij
602f4635da Get rid of 'INTEGRATED' build of modules - now replaced by 'MERGED_OBJ'
(This used to be commit 269cbf84d8)
2008-02-18 19:06:17 +01: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 9b4924fbd8)
2007-12-21 05:50:31 +01:00
Jelmer Vernooij
4b0199a549 r26409: Pass smb ports along.
(This used to be commit 2833f320de)
2007-12-21 05:49:42 +01:00
Jelmer Vernooij
fc88ba4a7e r26406: Make a copy to prevent modification of the loadparm configuration.
(This used to be commit c0f2775fd8)
2007-12-21 05:49:37 +01:00
Jelmer Vernooij
c64c571591 r26405: Import support for getifaddrs from Samba3.
(This used to be commit 5827b7460a)
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 035c483100)
2007-12-21 05:49:36 +01:00
Jelmer Vernooij
70f1f33af8 r26402: Require a talloc context in libnetif.
(This used to be commit a35e51871b)
2007-12-21 05:49:33 +01:00
Jelmer Vernooij
6f2252dace r26401: Don't cache interfaces context in libnetif.
(This used to be commit 9f975417cc)
2007-12-21 05:49:32 +01:00
Jelmer Vernooij
1ea47faa97 r26397: Fix circular dependency in samba-socket.
(This used to be commit 801c8c766c)
2007-12-21 05:49:26 +01:00
Jelmer Vernooij
43d18b91b4 r26383: Make interfaces argument explicit.
(This used to be commit 89008ae18d)
2007-12-21 05:49:17 +01:00
Jelmer Vernooij
5f4842cf65 r26376: Add context for libcli_resolve.
(This used to be commit 459e1466a4)
2007-12-21 05:49:12 +01:00
Jelmer Vernooij
01d2acfdb4 r26335: Specify name_resolve_order to socket code.
(This used to be commit b03e5d0011)
2007-12-21 05:48:46 +01:00
Jelmer Vernooij
c5bf20c5fe r26325: Remove use of global_loadparm in netif.
(This used to be commit e452cb2859)
2007-12-21 05:48:37 +01:00
Jelmer Vernooij
2f5ca872a8 r26313: Fix more uses of static loadparm.
(This used to be commit 6fd0d9d3b7)
2007-12-21 05:48:25 +01:00
Jelmer Vernooij
b09047b78e r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes.
(This used to be commit 262c1c23a6)
2007-12-21 05:43:00 +01:00
Stefan Metzmacher
f1e23d5a62 r25600: fix stupid typo...this should fix the build on sunX
metze
(This used to be commit 192c05556f)
2007-10-10 15:08:03 -05:00
Jelmer Vernooij
6bc52259aa r25545: Use inet_ntop for ipv4 code as well - should make it easier to share code between IPv4 and IPv6 later on.
(This used to be commit e3df90927b)
2007-10-10 15:07:51 -05:00
Jelmer Vernooij
719a4ae0d3 r25522: Convert to standard bool types.
(This used to be commit 5e814287ba)
2007-10-10 15:07:47 -05:00
Jelmer Vernooij
60a1046c5c r25430: Add the loadparm context to all parametric options.
(This used to be commit fd697d77c9)
2007-10-10 15:07:31 -05:00
Jelmer Vernooij
cabc0955d9 r25411: Fix IPv6 socket backend.
(This used to be commit 02b4621181)
2007-10-10 15:07:29 -05:00
Jelmer Vernooij
37d53832a4 r25398: Parse loadparm context to all lp_*() functions.
(This used to be commit 3fcc960839)
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
55568328ad r25384: Support DGRAM IPv6 sockets.
(This used to be commit e227c74971)
2007-10-10 15:07:23 -05:00
Stefan Metzmacher
f7ae1fc1ca r25122: fix interface detection code
jelmer: I wonder what broke it...

metze
(This used to be commit 4c8063b9c4)
2007-10-10 15:06:43 -05:00
Jelmer Vernooij
203bb616b9 r25043: Avoid allocation on with NULL parent.
(This used to be commit 3f30cd5688)
2007-10-10 15:05:47 -05:00
Jelmer Vernooij
98b57d5eb6 r25035: Fix some more warnings, use service pointer rather than service number in more places.
(This used to be commit df9cebcb97)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
dccf3f99e4 r25027: Fix more warnings.
(This used to be commit 5085c53fcf)
2007-10-10 15:05:41 -05:00
Jelmer Vernooij
ffeee68e4b r25026: Move param/param.h out of includes.h
(This used to be commit abe8349f9b)
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
959915a8cb r25001: Fix more C++ and other warnings, fix some of the indentation with ts=4 lines that I accidently added earlier.
(This used to be commit 0bcb21ed74)
2007-10-10 15:05:28 -05:00
Jelmer Vernooij
bd5a802a26 r24992: Remove some uses of lp_*().
(This used to be commit a5a1a55405)
2007-10-10 15:05:25 -05:00
Jelmer Vernooij
bfb6d6a35e r24939: Integrate IPv4 and IPv6 modules (a lot of code can be shared).
(This used to be commit 15f47aaf53)
2007-10-10 15:03:39 -05:00
Jelmer Vernooij
8e2d624a58 r24937: Merge tests spoolss RPC callbacks.
(This used to be commit 9b256a0ca2)
2007-10-10 15:03:39 -05:00
Jelmer Vernooij
61ffa08f4c r24712: No longer expose the 'BOOL' data type in any interfaces.
(This used to be commit 1ce32673d9)
2007-10-10 15:02:54 -05: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 fcf38a38ac)
2007-10-10 14:59:12 -05:00
Andrew Tridgell
3381a5c3a4 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
(This used to be commit 4e31eda055)
2007-10-10 14:59:05 -05:00
Andrew Tridgell
59d1a2b30e r22960: added a SOCKET_FLAG_NOCLOSE to allow us to tell the socket layer that
we will handle the close of the socket
(This used to be commit d57aaf5ba6)
2007-10-10 14:52:31 -05:00
Jelmer Vernooij
b481b29a1a r22602: s/HAVE_SOCKET_IPV6/HAVE_IPV6/ to match the define used by Heimdal.
(This used to be commit 5ff665b653)
2007-10-10 14:51:50 -05:00
Jelmer Vernooij
1db793be75 r22503: Add support for dgram to socket_ipv6. No tests yet...
(This used to be commit 2f64b75846)
2007-10-10 14:51:34 -05:00
Jelmer Vernooij
c58042c90e r22488: Hopefully fix ipv6.
(This used to be commit 7a0da66e39)
2007-10-10 14:51:33 -05:00
Stefan Metzmacher
44760c3e6f r22404: more dependencies which should be private
metze
(This used to be commit e0e35965d1)
2007-10-10 14:51:14 -05:00
Andrew Tridgell
432dfdbcd1 r22089: check the return value of interpret_addr2()
(This used to be commit af6661e442)
2007-10-10 14:49:50 -05:00
Jelmer Vernooij
1afda7bdde r21656: Move tests a bit closer to the things they test, should make syncing with samba3 easier.
(This used to be commit 4d755fb5d7)
2007-10-10 14:49:05 -05:00
Stefan Metzmacher
fd511d47e9 r18708: much nicer fix
metze
(This used to be commit 8999a9eb2e)
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 018b142d93)
2007-10-10 14:19:03 -05:00
Stefan Metzmacher
1be714b287 r18685: we don't need this here
metze
(This used to be commit cc729e646c)
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 ac71f40f8f)
2007-10-10 14:18:53 -05:00