Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Add basic infrastructure for general async requests" | Volker Lendecke | 2008-03-03 | 1 | -68/+0 |
| | | | | | This reverts commit ae254cb61f4b9331755848c47ebc34e90dd80390. (cherry picked from commit 030bef7f22f7a73466204b7860f397dbca9f2ab0) | ||||
* | configure: Remove lib/repdir.c and related stuff | Stefan Metzmacher | 2008-02-29 | 1 | -217/+0 |
| | | | | | | | It was only used in configure, but lib/replace already has a much better version of it. metze | ||||
* | libreplace: add snprintf.c to test code for getifaddrs - needed on some systems. | Michael Adam | 2008-02-29 | 1 | -0/+4 |
| | | | | | Michael (cherry picked from commit 0aff54a12e20d5e91fcdec7aaec103fb9a371a23) | ||||
* | libreplace: ifdef out ip6 code if unsupported. | Michael Adam | 2008-02-29 | 1 | -0/+2 |
| | | | | | Michael (cherry picked from commit 54cc0df4dbf6d63a9b94e1ac6af4ec7f7803bc30) | ||||
* | libreplace: fix rep_freeifaddrs to not segfault on NULL input. | Michael Adam | 2008-02-29 | 1 | -6/+7 |
| | | | | | Michael (cherry picked from commit 0cbb87453beb52c6b0bc3a48791f49678f4030c5) | ||||
* | libreplace: fix silly crashbug in getifaddrs_test(). | Michael Adam | 2008-02-29 | 1 | -1/+3 |
| | | | | | Michael (cherry picked from commit 523626908d25f974fd1ae6d7306b1d4bc8414162) | ||||
* | libreplace: add missing newline in output of getifaddrs test. | Michael Adam | 2008-02-29 | 1 | -1/+1 |
| | | | | | Michael (cherry picked from commit f8243cfc47c7414bab7f249d0e5d1c85e8ca7d64) | ||||
* | libreplace: add missing semicolon to getifaddrs. | Michael Adam | 2008-02-29 | 1 | -1/+1 |
| | | | | | Michael (cherry picked from commit 29818a07de826fd687003ff25865d77939ecaa9a) | ||||
* | libreplace: try and fix rep_getifaddrs() for Tru64. | Michael Adam | 2008-02-29 | 1 | -21/+16 |
| | | | | | | | | 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) | ||||
* | libreplace: use the new getifaddrs test also for autoconf. | Michael Adam | 2008-02-29 | 2 | -33/+16 |
| | | | | | Michael (cherry picked from commit a2a506ff0eae2a64ebe2ddbb81a6c2a5fa7fe3da) | ||||
* | libreplace: add extended getifaddrs test that prints out the interfaces. | Michael Adam | 2008-02-29 | 3 | -7/+100 |
| | | | | | | | Michael cherry-picked from libreplace-part of 9d2bab09aac22c00fe23f1e1265a2dbd0901e9ce and adapted replacetort creation | ||||
* | Trying to fix libnetapi examples Makefile.in. | Günther Deschner | 2008-02-29 | 1 | -14/+19 |
| | | | | Guenther | ||||
* | Fix macro name (no 's' in ifr_addr). | Gerald W. Carter | 2008-02-28 | 1 | -1/+1 |
| | | | | | Interface detection on Solaris still failing due to items pointed out here: http://lists.samba.org/archive/samba-technical/2007-November/056701.html | ||||
* | Only set DEBUGLEVEL to 0 in libnetapi when not set already. | Günther Deschner | 2008-02-28 | 1 | -1/+3 |
| | | | | Guenther | ||||
* | Add basic infrastructure for general async requests | Volker Lendecke | 2008-02-28 | 1 | -0/+68 |
| | |||||
* | Remove unused display_ds_domain_controller_info() function. | Günther Deschner | 2008-02-28 | 1 | -72/+0 |
| | | | | Guenther | ||||
* | Let dsgetdcname() return a struct netr_DsRGetDCNameInfo. | Günther Deschner | 2008-02-28 | 1 | -6/+6 |
| | | | | Guenther | ||||
* | libreplace: standalone build: use -I$srcdir instead of -I. | Michael Adam | 2008-02-27 | 1 | -1/+1 |
| | | | | Michael | ||||
* | libreplace: fix standalone build - add necessary libs. | Michael Adam | 2008-02-27 | 2 | -1/+6 |
| | | | | | | | The libs needed for getifaddrs replacements have to be added to LIBS and used for the testsuite target. Michael | ||||
* | libreplace: fix standalone build on some systems. | Michael Adam | 2008-02-27 | 1 | -0/+2 |
| | | | | | | | getifaddr tests include system/network.h, which does not find getaddrinfo.h without "-I.". Michael | ||||
* | libreplace: Add tests for connect and gethostbyname. | Michael Adam | 2008-02-26 | 5 | -0/+96 |
| | | | | | | | | | | | | 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 | ||||
* | Fix build on VOS: socklen_t is needed for rep_inet_ntop: move it up. | Michael Adam | 2008-02-26 | 1 | -5/+5 |
| | | | | Michael | ||||
* | Fix some warnings | Volker Lendecke | 2008-02-25 | 5 | -35/+36 |
| | | | | warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result | ||||
* | Check return value of pipe(2) | Volker Lendecke | 2008-02-23 | 1 | -1/+2 |
| | |||||
* | Check return value of dup(2) | Volker Lendecke | 2008-02-23 | 1 | -2/+6 |
| | |||||
* | Check the return value of fgets | Volker Lendecke | 2008-02-23 | 1 | -1/+4 |
| | |||||
* | libreplace: don't use socketwrapper for getifaddrs() implementations. | Michael Adam | 2008-02-22 | 1 | -0/+2 |
| | | | | Michael | ||||
* | libreplace: Fix comment originating from old samba source. | Michael Adam | 2008-02-22 | 1 | -1/+1 |
| | | | | | Michael (cherry picked from commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96) | ||||
* | Not all implementations of struct ifaddrs define ifa_broadaddr. | Michael Adam | 2008-02-22 | 1 | -13/+3 |
| | | | | | | E.g. the definition of libreplace doesn't. :-o Michael | ||||
* | Remove the implementations of _get_interfaces and autoconf test in interfaces.c | Michael Adam | 2008-02-22 | 1 | -386/+0 |
| | | | | | | getifaddrs() is now provided by libreplace. Michael | ||||
* | libreplace: fix creation of conftest files for getifaddrs tests. | Michael Adam | 2008-02-22 | 1 | -4/+11 |
| | | | | | | Add missing includes of replace.c and defines of SOCKET_WRAPPER_NOT_REPLACE. Michael | ||||
* | Fix linked list of ifaddrs in implementations of rep_getifaddrs. | Michael Adam | 2008-02-22 | 1 | -3/+3 |
| | | | | | | Produce proper list instead of one-node-loop. Michael | ||||
* | Add missing initalizations of lastif in rep_getifaddr implementations. | Michael Adam | 2008-02-22 | 1 | -3/+6 |
| | | | | Michael | ||||
* | libreplace: fix compile errors in getifaddrs.c | Michael Adam | 2008-02-21 | 1 | -6/+3 |
| | | | | Michael | ||||
* | Try and fix getifaddrs check on irix: dont't try to include config.h | Michael Adam | 2008-02-21 | 1 | -0/+3 |
| | | | | | | The missing header file is judged "catastrophic" on irix. Michael | ||||
* | Fix possible close of invalid fd if call to socket() returns -1. | Tim Potter | 2008-02-20 | 1 | -1/+2 |
| | |||||
* | Support dlopen(NULL, ...) on HPUX. | Jelmer Vernooij | 2008-02-20 | 1 | -0/+2 |
| | | | | (cherry picked from commit 53c70b5f77a3b9abaab783590e66278129173d5f) | ||||
* | libreplace: change samba_cv_ to libreplace_cv_ in libreplace.m4. | Michael Adam | 2008-02-20 | 1 | -36/+36 |
| | | | | | Michael (cherry picked from commit 83387ecccfe95b80525bf53c5fc9e945ffee10ec) | ||||
* | libreplace: change samba_cv_ to libreplace_cv_ in system/config.m4. | Michael Adam | 2008-02-20 | 1 | -8/+8 |
| | | | | | Michael (cherry picked from commit 00c173bfba9c659750bf231fbd9278dd38aa8bfc) | ||||
* | libreplace: change samba_cv_ to libreplace_cv_ in getpass.m4. | Michael Adam | 2008-02-20 | 1 | -6/+6 |
| | | | | | Michael (cherry picked from commit d3b3d3ec9ff64108b4cd5b7c912ab4ea207256cb) | ||||
* | libreplace: change samba_cv_ to libreplace_cv_ in getifaddrs.m4 | Michael Adam | 2008-02-20 | 1 | -15/+15 |
| | | | | | Michael (cherry picked from commit acab9def2a1e3460bef8baae6efc66d9dfad6eac) | ||||
* | libreplace: Remove double item in case statement. | Michael Adam | 2008-02-19 | 1 | -4/+0 |
| | | | | | | | | This was by accident introduced in cherry-pick commit 7a7dcd9b1265b8f031c9a5e9c4cfa89216827a28: This tiny portion had already been ported in 64ff1dad8664f14030c7d78c252d946216798a88. MIchael | ||||
* | Remove relict SAMBA_CONFIGURE_CPPFLAGS from lib/replace. | Michael Adam | 2008-02-19 | 1 | -3/+0 |
| | | | | | Michael (cherry picked from commit d10cbb533c18a6d74160477d34a81bbd4cd6c7c8) | ||||
* | r26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev. | Jelmer Vernooij | 2008-02-19 | 1 | -1/+1 |
| | | | | (cherry picked from commit 37c7b65546190bdce40cb48435cc4fd51d89a124) | ||||
* | r26551: Make sure NULL is defined before using it to test for getifaddrs(). | James Peach | 2008-02-19 | 1 | -0/+4 |
| | | | | | Patch from Timur I. Bakeyev <timur@com.bat.ru>. (cherry picked from commit 188156228b53c4bbc9c18c6ff1a0d3c6d0ba5fcb) | ||||
* | r26507: Fix function signature for freeifaddrs. | Jelmer Vernooij | 2008-02-19 | 1 | -1/+1 |
| | | | | (cherry picked from commit cc873bdd2e86e5b380c3056810ccc5ad98372f7c) | ||||
* | r26497: Fix return type for freeifaddrs(). | Jelmer Vernooij | 2008-02-19 | 2 | -7/+7 |
| | | | | (cherry picked from commit 8c65053f51330bb55a81572264eefbcc56029dc1) | ||||
* | r26495: Add defines for getifaddrs/freeifaddrs. | Jelmer Vernooij | 2008-02-19 | 1 | -0/+10 |
| | | | | (cherry picked from commit c9e5a3078f7baa83743658d5648f0eefdeb05d2f) | ||||
* | r26492: Some hosts have a define called ifa_dstaddr. | Jelmer Vernooij | 2008-02-19 | 1 | -0/+1 |
| | | | | (cherry picked from commit c4cd935ee783b2f4939e2c481bbdb1bbdb9190cd) | ||||
* | r26491: Fix syntax. | Jelmer Vernooij | 2008-02-19 | 1 | -1/+1 |
| | | | | (cherry picked from commit 2513230e286179747bb84e4e87121b80bea8f3f0) |