Age | Commit message (Collapse) | Author | Files | Lines |
|
This corrects the earlier fix of the standalone build, by setting
LIBS to the desired value only in configure.ac but not in getifaddrs.m4.
Not that this changes the standalone build in that it adds these libs
undconditionally and not only if they are needed by the getifaddrs
replacement functions.
Michael
(cherry picked from commit ff3af1703ddc9e5383f32156bc5be8351f795e76)
(This used to be commit 2546da817f666914c1c220ec1fedc19aa41b25ad)
|
|
This is needed, otherwise $libreplacedir/system/network.h does not
find $libreplacedir/getaddrinfo.h on some systems (solaris, e.g.).
Michael
(cherry picked from commit 297c3bece094ddb5f268b02e61e33f512ccfe6f5)
(This used to be commit ddd564e8bf2b115aa5dbcbebd4be30b749ad8752)
|
|
inet_aton() is even needed inside libreplace, in the implementation
of rep_getaddrinfo().
Michael
(cherry picked from commit bcb2f3a880f8da8f9bedb7a8e61d7d7b533f1919)
(This used to be commit 83baff78ce752a9129554a456cc24d043d419cd1)
|
|
This is for instance important to allow includes with %I to setup
individual logging (e.g.) for certain clients.
Michael
(This used to be commit 8dad80b4719691d66827ed46bebb963c0f8ba568)
|
|
On some systems (linux e.g.), when listening on ipv6 and ipv4,
addresses of ipv4 clients are printed as mapped ipv4 addresses
by getnameinfo (e.g. ::ffff:127.0.0.1). This re-establishes
the original behaviour of %I to expand to the plain ipv4 address
for an ipv4 client.
Michael
(This used to be commit 0abc8863f87fe5d2473492797c010784cb086008)
|
|
Another preparation to convert secrets.c to dbwrap: The dbwrap API does not
provide a sane tdb_lock_with_timeout abstraction. In the clustered case the DC
mutex is needed per-node anyway, so it is perfectly fine to use a local mutex
only.
(This used to be commit f94a63cd8f94490780ad9331da229c0bcb2ca5d6)
|
|
(This used to be commit e66e502bee65fe44944d325ebeeaa3bf56169eb8)
|
|
Only filled in for tdb so far, for rbt it's pointless, and ctdb itself needs to
be extended
(This used to be commit 0a55e018dd68af06d84332d54148bbfb0b510b22)
|
|
(This used to be commit 4ee21a98bc3d1c41a6d8868e98118c58372b2d1a)
|
|
The gen_ndr needs proper fixing still.
Guenther
(This used to be commit 966d7244d7765d285a7026b97e6093fd1f8d83ce)
|
|
the list item is not. Try and match the IPv4 part of
address only. This will happen a lot on IPv6 enabled
systems with IPv4 allow/deny lists in smb.conf.
Bug #5311.
Jeremy.
(This used to be commit 7c3550f82c51ce173b13e568762f728ecb881e85)
|
|
(This used to be commit 9f8b2a87ee8bba930b776dcfda608a5639f6d55a)
|
|
Guenther
(This used to be commit be673bfc61559f661040c6fb1ba7d2e4552967f2)
|
|
Guenther
(This used to be commit 1bbbebb7767b8a25532e8be3dbd274c211e34bbd)
|
|
Guenther
(This used to be commit 29fca3c0353f2be4577613d7e38fbc51d2a370fa)
|
|
Guenther
(This used to be commit 5911529205ca69c438e0782c07ee4fe5aa95de62)
|
|
This reverts commit ae254cb61f4b9331755848c47ebc34e90dd80390.
(This used to be commit 030bef7f22f7a73466204b7860f397dbca9f2ab0)
|
|
Guenther
(This used to be commit 2f1bc7ddad97b9137ae4cce696bf4e08f9b7ca20)
|
|
That commit message was just too silly, this happens to me during interactive
rebase all the time...
This reverts commit ab687104c1371c84c510eca7ef2caad7c21ea8fc.
(This used to be commit a3a1edab0d5ac07d42e64a5a82dd71fe0c3fdfeb)
|
|
(This used to be commit ab687104c1371c84c510eca7ef2caad7c21ea8fc)
|
|
Michael
(This used to be commit ee4810099c2d26a0ebab3c41a95bc6b57921683d)
|
|
It was only used in configure, but lib/replace already
has a much better version of it.
metze
(This used to be commit c9b60b75b4763c37cfa63741b4f055e4ea488e92)
|
|
Michael
(cherry picked from commit 0aff54a12e20d5e91fcdec7aaec103fb9a371a23)
(This used to be commit 77b7d7c0417e498340d1c9364fbbb8671c175477)
|
|
Michael
(cherry picked from commit 54cc0df4dbf6d63a9b94e1ac6af4ec7f7803bc30)
(This used to be commit 1ff0b616a9cb029040031f797b52112d4973e1eb)
|
|
Michael
(cherry picked from commit 0cbb87453beb52c6b0bc3a48791f49678f4030c5)
(This used to be commit 34d906ef44d1a5c3452097a9cac438d721fe35c1)
|
|
Michael
(cherry picked from commit 523626908d25f974fd1ae6d7306b1d4bc8414162)
(This used to be commit 0906120a6e4fe0eb66f3c3fd99c625b30672cb2b)
|
|
Michael
(cherry picked from commit f8243cfc47c7414bab7f249d0e5d1c85e8ca7d64)
(This used to be commit 3c1843f931b896dd3bb142346ecb44c0fb9202d6)
|
|
Michael
(cherry picked from commit 29818a07de826fd687003ff25865d77939ecaa9a)
(This used to be commit 1d906d346ed90b87895772a64c7613324ef8b682)
|
|
Don't fail when there is no address assigned to the interface.
Put NULL into the ifaddrs structure instead.
Michael
(cherry picked from commit ee170c85e0e76411bd752de5fe51db6940dab929)
(This used to be commit 650cc1da4b4404880389c583dbb07ce86df48576)
|
|
Michael
(cherry picked from commit a2a506ff0eae2a64ebe2ddbb81a6c2a5fa7fe3da)
(This used to be commit c5932414fdf0b568cbfe6cdefaec41c8afc8ca6b)
|
|
Michael
cherry-picked from libreplace-part of 9d2bab09aac22c00fe23f1e1265a2dbd0901e9ce
and adapted replacetort creation
(This used to be commit 52d79ad4872a20cf55f31aba97629c2561bfc16c)
|
|
Guenther
(This used to be commit 405ef74d7e9ef614ea39b7cfd1d57307d9490545)
|
|
Interface detection on Solaris still failing due to items pointed out here:
http://lists.samba.org/archive/samba-technical/2007-November/056701.html
(This used to be commit 37c87acc9d48c1fb5d4806374ca8e992300db1ff)
|
|
Guenther
(This used to be commit 3ace1601ac5b5d87d6bfd8aa0afe0c75858b6990)
|
|
(This used to be commit ae254cb61f4b9331755848c47ebc34e90dd80390)
|
|
Guenther
(This used to be commit 24a5098b1c3452b2d7088cab6ecdd1d75810e403)
|
|
Guenther
(This used to be commit b1a4b21f8c35dc23e5c986ebe44d3806055eb39b)
|
|
Michael
(This used to be commit 5c08730f1938b8c56b70554378051d88d174c061)
|
|
The libs needed for getifaddrs replacements have to be added
to LIBS and used for the testsuite target.
Michael
(This used to be commit f162de7b8012d29408060610a969ca76c61a4c80)
|
|
getifaddr tests include system/network.h, which does not
find getaddrinfo.h without "-I.".
Michael
(This used to be commit 66d4c38967e0d420929d4e1fdab0590161d526bc)
|
|
Provide dummy replacements when a function isnt found.
The functions are also searched for in certain libraries,
and variables SOCKET_LIBS and NSL_LIBS are set accordingly.
One purpose of this is to fix the getifaddrs tests on
systems where e.g. the socket calls require special libs
for linking.
Michael
(This used to be commit c19f7a0e1004213f95e0bf8db5cd1f6697c7a47b)
|
|
Michael
(This used to be commit 7b98620ef16c6969fd21dd9c157aedd4adb117a3)
|
|
warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result
(This used to be commit ad37b7b0aee265a3e4d8b7552610f4b9a105434d)
|
|
(This used to be commit 49da21c03a1a5801fba4b12837cccf2887e0d8f0)
|
|
(This used to be commit d34701d49cf5b30f5b9963dab5643b4b62704413)
|
|
(This used to be commit b8aaa9a69fd6217ce0387ef8e84f316706186d70)
|
|
Michael
(This used to be commit 85eec1d1d6b674294c50eb912fbe7d5a1dd42909)
|
|
Michael
(cherry picked from commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96)
(This used to be commit ddf7ac4f266e59871191c6e0a14e99b01a1dc8b1)
|
|
E.g. the definition of libreplace doesn't. :-o
Michael
(This used to be commit 25341602ec8752e19ab993872dc2f6c4762785ff)
|
|
getifaddrs() is now provided by libreplace.
Michael
(This used to be commit 7970901223464745f99cea883b180316189e4b2c)
|