summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Add basic infrastructure for general async requests"Volker Lendecke2008-03-031-68/+0
| | | | | This reverts commit ae254cb61f4b9331755848c47ebc34e90dd80390. (cherry picked from commit 030bef7f22f7a73466204b7860f397dbca9f2ab0)
* configure: Remove lib/repdir.c and related stuffStefan Metzmacher2008-02-291-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 Adam2008-02-291-0/+4
| | | | | Michael (cherry picked from commit 0aff54a12e20d5e91fcdec7aaec103fb9a371a23)
* libreplace: ifdef out ip6 code if unsupported.Michael Adam2008-02-291-0/+2
| | | | | Michael (cherry picked from commit 54cc0df4dbf6d63a9b94e1ac6af4ec7f7803bc30)
* libreplace: fix rep_freeifaddrs to not segfault on NULL input.Michael Adam2008-02-291-6/+7
| | | | | Michael (cherry picked from commit 0cbb87453beb52c6b0bc3a48791f49678f4030c5)
* libreplace: fix silly crashbug in getifaddrs_test().Michael Adam2008-02-291-1/+3
| | | | | Michael (cherry picked from commit 523626908d25f974fd1ae6d7306b1d4bc8414162)
* libreplace: add missing newline in output of getifaddrs test.Michael Adam2008-02-291-1/+1
| | | | | Michael (cherry picked from commit f8243cfc47c7414bab7f249d0e5d1c85e8ca7d64)
* libreplace: add missing semicolon to getifaddrs.Michael Adam2008-02-291-1/+1
| | | | | Michael (cherry picked from commit 29818a07de826fd687003ff25865d77939ecaa9a)
* libreplace: try and fix rep_getifaddrs() for Tru64.Michael Adam2008-02-291-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 Adam2008-02-292-33/+16
| | | | | Michael (cherry picked from commit a2a506ff0eae2a64ebe2ddbb81a6c2a5fa7fe3da)
* libreplace: add extended getifaddrs test that prints out the interfaces.Michael Adam2008-02-293-7/+100
| | | | | | | Michael cherry-picked from libreplace-part of 9d2bab09aac22c00fe23f1e1265a2dbd0901e9ce and adapted replacetort creation
* Trying to fix libnetapi examples Makefile.in.Günther Deschner2008-02-291-14/+19
| | | | Guenther
* Fix macro name (no 's' in ifr_addr).Gerald W. Carter2008-02-281-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 Deschner2008-02-281-1/+3
| | | | Guenther
* Add basic infrastructure for general async requestsVolker Lendecke2008-02-281-0/+68
|
* Remove unused display_ds_domain_controller_info() function.Günther Deschner2008-02-281-72/+0
| | | | Guenther
* Let dsgetdcname() return a struct netr_DsRGetDCNameInfo.Günther Deschner2008-02-281-6/+6
| | | | Guenther
* libreplace: standalone build: use -I$srcdir instead of -I.Michael Adam2008-02-271-1/+1
| | | | Michael
* libreplace: fix standalone build - add necessary libs.Michael Adam2008-02-272-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 Adam2008-02-271-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 Adam2008-02-265-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 Adam2008-02-261-5/+5
| | | | Michael
* Fix some warningsVolker Lendecke2008-02-255-35/+36
| | | | warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result
* Check return value of pipe(2)Volker Lendecke2008-02-231-1/+2
|
* Check return value of dup(2)Volker Lendecke2008-02-231-2/+6
|
* Check the return value of fgetsVolker Lendecke2008-02-231-1/+4
|
* libreplace: don't use socketwrapper for getifaddrs() implementations.Michael Adam2008-02-221-0/+2
| | | | Michael
* libreplace: Fix comment originating from old samba source.Michael Adam2008-02-221-1/+1
| | | | | Michael (cherry picked from commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96)
* Not all implementations of struct ifaddrs define ifa_broadaddr.Michael Adam2008-02-221-13/+3
| | | | | | E.g. the definition of libreplace doesn't. :-o Michael
* Remove the implementations of _get_interfaces and autoconf test in interfaces.cMichael Adam2008-02-221-386/+0
| | | | | | getifaddrs() is now provided by libreplace. Michael
* libreplace: fix creation of conftest files for getifaddrs tests.Michael Adam2008-02-221-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 Adam2008-02-221-3/+3
| | | | | | Produce proper list instead of one-node-loop. Michael
* Add missing initalizations of lastif in rep_getifaddr implementations.Michael Adam2008-02-221-3/+6
| | | | Michael
* libreplace: fix compile errors in getifaddrs.cMichael Adam2008-02-211-6/+3
| | | | Michael
* Try and fix getifaddrs check on irix: dont't try to include config.hMichael Adam2008-02-211-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 Potter2008-02-201-1/+2
|
* Support dlopen(NULL, ...) on HPUX.Jelmer Vernooij2008-02-201-0/+2
| | | | (cherry picked from commit 53c70b5f77a3b9abaab783590e66278129173d5f)
* libreplace: change samba_cv_ to libreplace_cv_ in libreplace.m4.Michael Adam2008-02-201-36/+36
| | | | | Michael (cherry picked from commit 83387ecccfe95b80525bf53c5fc9e945ffee10ec)
* libreplace: change samba_cv_ to libreplace_cv_ in system/config.m4.Michael Adam2008-02-201-8/+8
| | | | | Michael (cherry picked from commit 00c173bfba9c659750bf231fbd9278dd38aa8bfc)
* libreplace: change samba_cv_ to libreplace_cv_ in getpass.m4.Michael Adam2008-02-201-6/+6
| | | | | Michael (cherry picked from commit d3b3d3ec9ff64108b4cd5b7c912ab4ea207256cb)
* libreplace: change samba_cv_ to libreplace_cv_ in getifaddrs.m4Michael Adam2008-02-201-15/+15
| | | | | Michael (cherry picked from commit acab9def2a1e3460bef8baae6efc66d9dfad6eac)
* libreplace: Remove double item in case statement.Michael Adam2008-02-191-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 Adam2008-02-191-3/+0
| | | | | Michael (cherry picked from commit d10cbb533c18a6d74160477d34a81bbd4cd6c7c8)
* r26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev.Jelmer Vernooij2008-02-191-1/+1
| | | | (cherry picked from commit 37c7b65546190bdce40cb48435cc4fd51d89a124)
* r26551: Make sure NULL is defined before using it to test for getifaddrs().James Peach2008-02-191-0/+4
| | | | | Patch from Timur I. Bakeyev <timur@com.bat.ru>. (cherry picked from commit 188156228b53c4bbc9c18c6ff1a0d3c6d0ba5fcb)
* r26507: Fix function signature for freeifaddrs.Jelmer Vernooij2008-02-191-1/+1
| | | | (cherry picked from commit cc873bdd2e86e5b380c3056810ccc5ad98372f7c)
* r26497: Fix return type for freeifaddrs().Jelmer Vernooij2008-02-192-7/+7
| | | | (cherry picked from commit 8c65053f51330bb55a81572264eefbcc56029dc1)
* r26495: Add defines for getifaddrs/freeifaddrs.Jelmer Vernooij2008-02-191-0/+10
| | | | (cherry picked from commit c9e5a3078f7baa83743658d5648f0eefdeb05d2f)
* r26492: Some hosts have a define called ifa_dstaddr.Jelmer Vernooij2008-02-191-0/+1
| | | | (cherry picked from commit c4cd935ee783b2f4939e2c481bbdb1bbdb9190cd)
* r26491: Fix syntax.Jelmer Vernooij2008-02-191-1/+1
| | | | (cherry picked from commit 2513230e286179747bb84e4e87121b80bea8f3f0)