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 3045d391626fba169aa26be52174883e18d323e9)
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 92856d5054106894b65cd1a1b5119c0facfc4cff)
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 e2c3fab9d1bf0482c15a115e7d373562ffe50b29)
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 07e931a77f21e025281b6285f4ce7aebf1106b86)
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 da1a9438bd89569077ef1eaa9dc977b5f9d62836)
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 269cbf84d8b7dbf3bc88adc04ae283dc908af5ac)
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 9b4924fbd8619033c55b4c6e2589da247332e7db)
2007-12-21 05:50:31 +01:00
Jelmer Vernooij
4b0199a549
r26409: Pass smb ports along.
...
(This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)
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 c0f2775fd8bd88aad3497d59a7857d7a8a0978c5)
2007-12-21 05:49:37 +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
Jelmer Vernooij
70f1f33af8
r26402: Require a talloc context in libnetif.
...
(This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50)
2007-12-21 05:49:33 +01:00
Jelmer Vernooij
6f2252dace
r26401: Don't cache interfaces context in libnetif.
...
(This used to be commit 9f975417cc66bfd4589da38bfd23731dbe0e6153)
2007-12-21 05:49:32 +01:00
Jelmer Vernooij
1ea47faa97
r26397: Fix circular dependency in samba-socket.
...
(This used to be commit 801c8c766cb6a104751be8829593e0e123508134)
2007-12-21 05:49:26 +01:00
Jelmer Vernooij
43d18b91b4
r26383: Make interfaces argument explicit.
...
(This used to be commit 89008ae18d37e8bc5bb7c70ac3e2128134264f9f)
2007-12-21 05:49:17 +01:00
Jelmer Vernooij
5f4842cf65
r26376: Add context for libcli_resolve.
...
(This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
2007-12-21 05:49:12 +01:00
Jelmer Vernooij
01d2acfdb4
r26335: Specify name_resolve_order to socket code.
...
(This used to be commit b03e5d00110be3f1fe5809dad4eb6ca5cea7463d)
2007-12-21 05:48:46 +01:00
Jelmer Vernooij
c5bf20c5fe
r26325: Remove use of global_loadparm in netif.
...
(This used to be commit e452cb28594f23add7c00247ed39e8323aea78a6)
2007-12-21 05:48:37 +01:00
Jelmer Vernooij
2f5ca872a8
r26313: Fix more uses of static loadparm.
...
(This used to be commit 6fd0d9d3b75546d08c24c513e05b1843d5777608)
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 262c1c23a61f1f4fae13e0a61179fe98b682cecf)
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 192c05556f786b4523fb325cee6d87b251aee059)
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 e3df90927b2878917f0f555772a875f05bf609e8)
2007-10-10 15:07:51 -05:00
Jelmer Vernooij
719a4ae0d3
r25522: Convert to standard bool types.
...
(This used to be commit 5e814287ba475e12f8cc934fdd09b199dcdfdb86)
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 fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10 15:07:31 -05:00
Jelmer Vernooij
cabc0955d9
r25411: Fix IPv6 socket backend.
...
(This used to be commit 02b4621181c35ebf3e7c2531302b44863b94f8bf)
2007-10-10 15:07:29 -05:00
Jelmer Vernooij
37d53832a4
r25398: Parse loadparm context to all lp_*() functions.
...
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
55568328ad
r25384: Support DGRAM IPv6 sockets.
...
(This used to be commit e227c749711aef2f2ce2eb66f7f3485962f36399)
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 4c8063b9c4ca2c0359859338a8335e177e9c31bd)
2007-10-10 15:06:43 -05:00
Jelmer Vernooij
203bb616b9
r25043: Avoid allocation on with NULL parent.
...
(This used to be commit 3f30cd5688a532a2d6c4d970c2bc759efa2a1b04)
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 df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
dccf3f99e4
r25027: Fix more warnings.
...
(This used to be commit 5085c53fcfade614e83d21fc2c1a5bc43bb2a729)
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 abe8349f9b4387961ff3665d8c589d61cd2edf31)
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 0bcb21ed740fcec0f48ad36bbc2deee2948e8fc7)
2007-10-10 15:05:28 -05:00
Jelmer Vernooij
bd5a802a26
r24992: Remove some uses of lp_*().
...
(This used to be commit a5a1a5540510cdb1bfbb3e89b84f4ba5b2812c55)
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 15f47aaf533bec4d7d82d75d27c233b3b0b261cd)
2007-10-10 15:03:39 -05:00
Jelmer Vernooij
8e2d624a58
r24937: Merge tests spoolss RPC callbacks.
...
(This used to be commit 9b256a0ca232ea6e89771bf73a1adf877273a752)
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 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
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 fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
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 4e31eda055781a710d285c509d0c51b42e351431)
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 d57aaf5ba60464e5e782353a0879a84f8c70dd32)
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 5ff665b6531fdb4c7e56c49b7f923546d93b384c)
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 2f64b758460a3bde6c7b4a240998fb76bd6e0827)
2007-10-10 14:51:34 -05:00
Jelmer Vernooij
c58042c90e
r22488: Hopefully fix ipv6.
...
(This used to be commit 7a0da66e39fde8c06ab8af94a14113141076c969)
2007-10-10 14:51:33 -05:00
Stefan Metzmacher
44760c3e6f
r22404: more dependencies which should be private
...
metze
(This used to be commit e0e35965d1eaab182941d17da744b70c4234ca52)
2007-10-10 14:51:14 -05:00
Andrew Tridgell
432dfdbcd1
r22089: check the return value of interpret_addr2()
...
(This used to be commit af6661e442ff37070cf49b6d9ab85a1c045ef293)
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 4d755fb5d7adedd1dd8bad917b921324411bfd59)
2007-10-10 14:49:05 -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