summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-03-05Fix rpccli_srvsvc_NetSrvSetInfo call in libnetapi.Günther Deschner1-1/+1
Guenther (This used to be commit 5911529205ca69c438e0782c07ee4fe5aa95de62)
2008-03-01Revert "Add basic infrastructure for general async requests"Volker Lendecke1-68/+0
This reverts commit ae254cb61f4b9331755848c47ebc34e90dd80390. (This used to be commit 030bef7f22f7a73466204b7860f397dbca9f2ab0)
2008-02-29Add gp_get_machine_token().Günther Deschner1-0/+50
Guenther (This used to be commit 2f1bc7ddad97b9137ae4cce696bf4e08f9b7ca20)
2008-02-29Revert "what a wurst."Günther Deschner1-50/+0
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)
2008-02-29what a wurst.Günther Deschner1-0/+50
(This used to be commit ab687104c1371c84c510eca7ef2caad7c21ea8fc)
2008-02-29Eliminate tons of build warnings on non-IPV6 system.Michael Adam1-1/+1
Michael (This used to be commit ee4810099c2d26a0ebab3c41a95bc6b57921683d)
2008-02-29configure: Remove lib/repdir.c and related stuffStefan Metzmacher1-217/+0
It was only used in configure, but lib/replace already has a much better version of it. metze (This used to be commit c9b60b75b4763c37cfa63741b4f055e4ea488e92)
2008-02-29libreplace: add snprintf.c to test code for getifaddrs - needed on some systems.Michael Adam1-0/+4
Michael (cherry picked from commit 0aff54a12e20d5e91fcdec7aaec103fb9a371a23) (This used to be commit 77b7d7c0417e498340d1c9364fbbb8671c175477)
2008-02-29libreplace: ifdef out ip6 code if unsupported.Michael Adam1-0/+2
Michael (cherry picked from commit 54cc0df4dbf6d63a9b94e1ac6af4ec7f7803bc30) (This used to be commit 1ff0b616a9cb029040031f797b52112d4973e1eb)
2008-02-29libreplace: fix rep_freeifaddrs to not segfault on NULL input.Michael Adam1-6/+7
Michael (cherry picked from commit 0cbb87453beb52c6b0bc3a48791f49678f4030c5) (This used to be commit 34d906ef44d1a5c3452097a9cac438d721fe35c1)
2008-02-29libreplace: fix silly crashbug in getifaddrs_test().Michael Adam1-1/+3
Michael (cherry picked from commit 523626908d25f974fd1ae6d7306b1d4bc8414162) (This used to be commit 0906120a6e4fe0eb66f3c3fd99c625b30672cb2b)
2008-02-29libreplace: add missing newline in output of getifaddrs test.Michael Adam1-1/+1
Michael (cherry picked from commit f8243cfc47c7414bab7f249d0e5d1c85e8ca7d64) (This used to be commit 3c1843f931b896dd3bb142346ecb44c0fb9202d6)
2008-02-29libreplace: add missing semicolon to getifaddrs.Michael Adam1-1/+1
Michael (cherry picked from commit 29818a07de826fd687003ff25865d77939ecaa9a) (This used to be commit 1d906d346ed90b87895772a64c7613324ef8b682)
2008-02-29libreplace: try and fix rep_getifaddrs() for Tru64.Michael Adam1-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) (This used to be commit 650cc1da4b4404880389c583dbb07ce86df48576)
2008-02-29libreplace: use the new getifaddrs test also for autoconf.Michael Adam2-33/+16
Michael (cherry picked from commit a2a506ff0eae2a64ebe2ddbb81a6c2a5fa7fe3da) (This used to be commit c5932414fdf0b568cbfe6cdefaec41c8afc8ca6b)
2008-02-29libreplace: add extended getifaddrs test that prints out the interfaces.Michael Adam3-7/+100
Michael cherry-picked from libreplace-part of 9d2bab09aac22c00fe23f1e1265a2dbd0901e9ce and adapted replacetort creation (This used to be commit 52d79ad4872a20cf55f31aba97629c2561bfc16c)
2008-02-29Trying to fix libnetapi examples Makefile.in.Günther Deschner1-14/+19
Guenther (This used to be commit 405ef74d7e9ef614ea39b7cfd1d57307d9490545)
2008-02-28Fix macro name (no 's' in ifr_addr).Gerald W. Carter1-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 (This used to be commit 37c87acc9d48c1fb5d4806374ca8e992300db1ff)
2008-02-28Only set DEBUGLEVEL to 0 in libnetapi when not set already.Günther Deschner1-1/+3
Guenther (This used to be commit 3ace1601ac5b5d87d6bfd8aa0afe0c75858b6990)
2008-02-28Add basic infrastructure for general async requestsVolker Lendecke1-0/+68
(This used to be commit ae254cb61f4b9331755848c47ebc34e90dd80390)
2008-02-28Remove unused display_ds_domain_controller_info() function.Günther Deschner1-72/+0
Guenther (This used to be commit 24a5098b1c3452b2d7088cab6ecdd1d75810e403)
2008-02-28Let dsgetdcname() return a struct netr_DsRGetDCNameInfo.Günther Deschner1-6/+6
Guenther (This used to be commit b1a4b21f8c35dc23e5c986ebe44d3806055eb39b)
2008-02-27libreplace: standalone build: use -I$srcdir instead of -I.Michael Adam1-1/+1
Michael (This used to be commit 5c08730f1938b8c56b70554378051d88d174c061)
2008-02-27libreplace: fix standalone build - add necessary libs.Michael Adam2-1/+6
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)
2008-02-27libreplace: fix standalone build on some systems.Michael Adam1-0/+2
getifaddr tests include system/network.h, which does not find getaddrinfo.h without "-I.". Michael (This used to be commit 66d4c38967e0d420929d4e1fdab0590161d526bc)
2008-02-26libreplace: Add tests for connect and gethostbyname.Michael Adam5-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 (This used to be commit c19f7a0e1004213f95e0bf8db5cd1f6697c7a47b)
2008-02-26Fix build on VOS: socklen_t is needed for rep_inet_ntop: move it up.Michael Adam1-5/+5
Michael (This used to be commit 7b98620ef16c6969fd21dd9c157aedd4adb117a3)
2008-02-25Fix some warningsVolker Lendecke5-35/+36
warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result (This used to be commit ad37b7b0aee265a3e4d8b7552610f4b9a105434d)
2008-02-23Check return value of pipe(2)Volker Lendecke1-1/+2
(This used to be commit 49da21c03a1a5801fba4b12837cccf2887e0d8f0)
2008-02-23Check return value of dup(2)Volker Lendecke1-2/+6
(This used to be commit d34701d49cf5b30f5b9963dab5643b4b62704413)
2008-02-23Check the return value of fgetsVolker Lendecke1-1/+4
(This used to be commit b8aaa9a69fd6217ce0387ef8e84f316706186d70)
2008-02-22libreplace: don't use socketwrapper for getifaddrs() implementations.Michael Adam1-0/+2
Michael (This used to be commit 85eec1d1d6b674294c50eb912fbe7d5a1dd42909)
2008-02-22libreplace: Fix comment originating from old samba source.Michael Adam1-1/+1
Michael (cherry picked from commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96) (This used to be commit ddf7ac4f266e59871191c6e0a14e99b01a1dc8b1)
2008-02-22Not all implementations of struct ifaddrs define ifa_broadaddr.Michael Adam1-13/+3
E.g. the definition of libreplace doesn't. :-o Michael (This used to be commit 25341602ec8752e19ab993872dc2f6c4762785ff)
2008-02-22Remove the implementations of _get_interfaces and autoconf test in interfaces.cMichael Adam1-386/+0
getifaddrs() is now provided by libreplace. Michael (This used to be commit 7970901223464745f99cea883b180316189e4b2c)
2008-02-22libreplace: fix creation of conftest files for getifaddrs tests.Michael Adam1-4/+11
Add missing includes of replace.c and defines of SOCKET_WRAPPER_NOT_REPLACE. Michael (This used to be commit 26e6ebc7090b5742deb67805d85d809cafb4543d)
2008-02-22Fix linked list of ifaddrs in implementations of rep_getifaddrs.Michael Adam1-3/+3
Produce proper list instead of one-node-loop. Michael (This used to be commit ec9f4f5066ba7a8bf3af931fd4969590140c0b2b)
2008-02-22Add missing initalizations of lastif in rep_getifaddr implementations.Michael Adam1-3/+6
Michael (This used to be commit 65710e752f72070cb911867ff9f31f91904ca5c0)
2008-02-21libreplace: fix compile errors in getifaddrs.cMichael Adam1-6/+3
Michael (This used to be commit 22cdd4cb507022d9c670b7d5cbc8d357b0b91637)
2008-02-21Try and fix getifaddrs check on irix: dont't try to include config.hMichael Adam1-0/+3
The missing header file is judged "catastrophic" on irix. Michael (This used to be commit 5778c90819a5a5cee38be690f442c571f3a6a051)
2008-02-20Fix possible close of invalid fd if call to socket() returns -1.Tim Potter1-1/+2
(This used to be commit f7d2f692994918037e603ef95dd097b03d2c5456)
2008-02-20Support dlopen(NULL, ...) on HPUX.Jelmer Vernooij1-0/+2
(cherry picked from commit 53c70b5f77a3b9abaab783590e66278129173d5f) (This used to be commit 8883ee2418152d58e2ce609e02105e009f8ca4e8)
2008-02-20libreplace: change samba_cv_ to libreplace_cv_ in libreplace.m4.Michael Adam1-36/+36
Michael (cherry picked from commit 83387ecccfe95b80525bf53c5fc9e945ffee10ec) (This used to be commit 12ec7dfb109bedd7b086702394a7094a4853cf1f)
2008-02-20libreplace: change samba_cv_ to libreplace_cv_ in system/config.m4.Michael Adam1-8/+8
Michael (cherry picked from commit 00c173bfba9c659750bf231fbd9278dd38aa8bfc) (This used to be commit 450034582ba78b296e9cacc9ea06b632196b8644)
2008-02-20libreplace: change samba_cv_ to libreplace_cv_ in getpass.m4.Michael Adam1-6/+6
Michael (cherry picked from commit d3b3d3ec9ff64108b4cd5b7c912ab4ea207256cb) (This used to be commit d6719f1c2f349c34d7a14e8e0e264db8dbe48598)
2008-02-20libreplace: change samba_cv_ to libreplace_cv_ in getifaddrs.m4Michael Adam1-15/+15
Michael (cherry picked from commit acab9def2a1e3460bef8baae6efc66d9dfad6eac) (This used to be commit f790cb4aedee58abe6324c47912b58a808bfca51)
2008-02-19libreplace: Remove double item in case statement.Michael Adam1-4/+0
This was by accident introduced in cherry-pick commit 7a7dcd9b1265b8f031c9a5e9c4cfa89216827a28: This tiny portion had already been ported in 64ff1dad8664f14030c7d78c252d946216798a88. MIchael (This used to be commit 69b2ebc797fa986bf395f4d045ea663240e9ec2c)
2008-02-19Remove relict SAMBA_CONFIGURE_CPPFLAGS from lib/replace.Michael Adam1-3/+0
Michael (cherry picked from commit d10cbb533c18a6d74160477d34a81bbd4cd6c7c8) (This used to be commit 12e5b9b406d111834c013cbbfe63b759a969ec8e)
2008-02-19r26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev.Jelmer Vernooij1-1/+1
(cherry picked from commit 37c7b65546190bdce40cb48435cc4fd51d89a124) (This used to be commit bc523382aef16b1260799000650bbebe132799eb)
2008-02-19r26551: Make sure NULL is defined before using it to test for getifaddrs().James Peach1-0/+4
Patch from Timur I. Bakeyev <timur@com.bat.ru>. (cherry picked from commit 188156228b53c4bbc9c18c6ff1a0d3c6d0ba5fcb) (This used to be commit b4a2ec01fc3c8174cba2a7bda876270fcce90491)