summaryrefslogtreecommitdiffstats
path: root/source4/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix macro name (no 's' in ifr_addr).Gerald W. Carter2008-03-181-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 (cherry picked from commit 37c87acc9d48c1fb5d4806374ca8e992300db1ff) (This used to be commit 5757d8dfe9e6cf7b662acdf5c3d825f0021822c0)
* Fix Coverity ID 554Volker Lendecke2008-03-181-0/+3
| | | | | (cherry picked from commit 471b1b0c58bc2def5d2fe9d98401def34724d447) (This used to be commit effda48a2670325fed56e158539417c6f95381b8)
* Check the return value of fgetsVolker Lendecke2008-03-181-1/+4
| | | | | (cherry picked from commit b8aaa9a69fd6217ce0387ef8e84f316706186d70) (This used to be commit 8f58d39c0c621e9da85308d721a146352cc4939e)
* libreplace: remove duplicate entry of inet_ntoa from README.Michael Adam2008-03-181-1/+0
| | | | | Michael (This used to be commit 98ee8c84300757d778733a458c6ca3e6022b40ea)
* libreplace: remove trailing white spaces.Michael Adam2008-03-182-2/+2
| | | | | Michael (This used to be commit 1f9ca7eed965904f67cf78fbac007432b8a057fd)
* libreplace: replace inet_ntoa() when it is missingMichael Adam2008-03-186-34/+61
| | | | | | | | | | | | | | | | | | | | ...not only replace it when it is broken. This moves the defintion of rep_inet_ntoa from replace.c to inet_ntoa.c and adds configure checks for existence of inet_ntoa(). Checks are moved to an include file of its own. NOTE: The original rep_inet_ntoa in replace.c was wrapped into a "#ifndef WITH_PTHREADS" but the prototype in replace.h and the define in system/network.h were not. I removed that ifndef since the inet_ntoa() function is usually not thread safe anyways, since it returns a pointer to a static buffer. So whoever calls inet_ntoa() should be aware that it is not thread safe anyways. Michael (This used to be commit 974c0c45ad42644348e0b55454715b12158f1028)
* libreplace: put inet_aton.c under LGPL instead of GPL.Michael Adam2008-03-181-9/+13
| | | | | Michael (This used to be commit cca5d6626fe395f08fd4c8b2344e4e43646cb987)
* libreplace: remove unused SOCKET_LIBS and NSL_LIBSStefan Metzmacher2008-03-181-3/+0
| | | | | metze (This used to be commit 62bb177a6e4a3e1f949b78c7cd7583f2e1271739)
* lib/socket: use LIBREPLACE_NETWORK instead of EXT_SOCKET and EXT_NSLStefan Metzmacher2008-03-182-47/+3
| | | | | | | The configure checks are also in libreplace now. metze (This used to be commit 07e931a77f21e025281b6285f4ce7aebf1106b86)
* libreplace: for samba4 create LIBREPLACE_NETWORK as EXT_LIBStefan Metzmacher2008-03-181-0/+3
| | | | | metze (This used to be commit 79037c31334e271a718fcac234148038814b591e)
* libreplace: use LIBREPLACE_NETWORK_LIBS within some configure checksStefan Metzmacher2008-03-182-3/+3
| | | | | | | ...instead of using SOCKET_LIBS and NSL_LIBS. metze (This used to be commit cef2e8d748756f61c248ad6660e85dd1ac36308a)
* libreplace: combine SOCKET_LIBS and NSL_LIBS to LIBREPLACE_NETWORK_LIBSStefan Metzmacher2008-03-181-7/+9
| | | | | | | But keep the old ones untill the callers are fixed. metze (This used to be commit e7115dcc8a0a4f420de7a901e3a21d4f35a6fcf9)
* ldb: remove configure with 'make realdistclean'Stefan Metzmacher2008-03-181-1/+1
| | | | | | | configure.in doesn't exist at all... metze (This used to be commit ca414d4e9e96b90100c46b006825bc8e935ba0b4)
* ldb: nothing uses "system/network.h" so don't include itStefan Metzmacher2008-03-181-1/+0
| | | | | metze (This used to be commit 087667e0cd66ea615b5aa43538192fe1d7de87ae)
* ldb: fix the standalone buildStefan Metzmacher2008-03-186-13/+13
| | | | | metze (This used to be commit 91b49365abed6f67e2b3c18b0090b4e6ff1df935)
* Allocate one 0-byte in asprintf replacement when len==0Volker Lendecke2008-03-181-1/+1
| | | | | | Some S3 code depends on this. (cherry picked from commit dc3d5e16452bf30055638ba3cfe99097fb557156) (This used to be commit 842d144b4fb0981250157f72956e732709663107)
* socket_wrapper: make pcap code more portableStefan Metzmacher2008-03-171-39/+40
| | | | | | | Now the pcap support works on x86_64. metze (This used to be commit 61a87bed61ef661d98131239976be95c6a8b4d96)
* messaging: fix a valgrind warning on 64bit hosts zero out paddingStefan Metzmacher2008-03-151-0/+2
| | | | | metze (This used to be commit f555b8e4c35f69fdc1fb34427d882580eecad284)
* swig: regenerate _wrap.c filesStefan Metzmacher2008-03-141-13/+13
| | | | | metze (This used to be commit 08b41e10699c7bb8058ab0ab61f17a1bbfcc1ce4)
* libreplace: fix samba4 build (by not setting global LIBS).Michael Adam2008-03-142-3/+3
| | | | | | | | | | | | 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 (This used to be commit ff3af1703ddc9e5383f32156bc5be8351f795e76)
* libreplace: add -I$libreplacedir to CPPFLAGS for getifaddrs tests.Michael Adam2008-03-141-0/+4
| | | | | | | | This is needed, otherwise $libreplacedir/system/network.h does not find $libreplacedir/getaddrinfo.h on some systems (solaris, e.g.). Michael (This used to be commit 297c3bece094ddb5f268b02e61e33f512ccfe6f5)
* libreplace: add an inet_aton() function that calls inet_pton().Michael Adam2008-03-146-0/+42
| | | | | | | | inet_aton() is even needed inside libreplace, in the implementation of rep_getaddrinfo(). Michael (This used to be commit bcb2f3a880f8da8f9bedb7a8e61d7d7b533f1919)
* events_signal: pass down the correct siginfo_t struct to the event handlerStefan Metzmacher2008-03-111-1/+1
| | | | | metze (This used to be commit 4b071236867ca5c2c0451ad3acc8a9debb0549e4)
* Make error handling in ldb more consistant.Andrew Bartlett2008-03-111-1/+4
| | | | | | | | | This change ensures we give an immidiate error if the DN won't parse. Also clean up strcmp use to be more standard. Andrew Bartlett (This used to be commit 1b15f374a89b99f3c43d9c2ce06dde9c67383e66)
* Rerun SWIG.Jelmer Vernooij2008-03-071-15/+16
| | | | (This used to be commit e384aac5c8156c7f056c70b1caab0778f8fc52b6)
* accountExpires: Windows default is 9223372036854775807, not -1.Andrew Kroeger2008-03-071-1/+1
| | | | (This used to be commit be47cc7fdfa3cae0508e564f38b793aa27b6eb92)
* ldb_wrap: Debug at derived samba_level, not the level of the ldb debug enum.Andrew Kroeger2008-03-061-1/+1
| | | | (This used to be commit eb9a7c3b3a7f113ff58e2ebea9886f997da4e085)
* Try to return sane ldb error stringsAndrew Bartlett2008-03-041-1/+10
| | | | | | | We don't just want to return just strerror(ret) when things go wrong. Andrew Bartlett (This used to be commit 7f0341dd589150ab01563957460cdcf42515cadc)
* Merge branch 'v4-0-test' into id10ts-registryJelmer Vernooij2008-03-0337-322/+399
|\ | | | | | | (This used to be commit f98b59021a5ea39c7970ebc5520d17775e500b8c)
| * Some cleanups for the ldb doxygen docs.Brad Hards2008-03-021-10/+12
| | | | | | | | (This used to be commit 5972308add8b1078e190beab204c1ba4b3a25747)
| * Remove unused variable, fix (80, 'Other error') exceptions from ldb python ↵Jelmer Vernooij2008-03-012-4/+4
| | | | | | | | | | | | bindings (This used to be commit 2303063cbd2e65580618124ef8ecf42867d2b952)
| * Fix error handling in ldb.add().Jelmer Vernooij2008-03-012-161/+81
| | | | | | | | (This used to be commit a7f89b5bb28601597a4a0f75ec2b97bac02370d9)
| * Change remaining prototype headers to be private.Jelmer Vernooij2008-02-291-3/+3
| | | | | | | | (This used to be commit 2f7ff409e89c9682e681ddcf54439db9e3b6ccb4)
| * Move public header accumulation out of the perl code.Jelmer Vernooij2008-02-2912-26/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Never install generated prototype files. It's easier to break the API when using them and they're not easily readable for 3rd party users. Conflicts: source/auth/config.mk source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/config_mk.pm source/build/smb_build/main.pl source/build/smb_build/makefile.pm source/dsdb/config.mk source/lib/charset/config.mk source/lib/tdr/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/torture/config.mk (This used to be commit 6c659689ed4081f1d7a6253c538c7f01784197ba)
| * Fix manpage paths.Jelmer Vernooij2008-02-291-6/+6
| | | | | | | | (This used to be commit 36da52abf5be79e37bd495ec4265e01b27aa9da5)
| * Move manpage management out of the perl build system.Jelmer Vernooij2008-02-294-14/+28
| | | | | | | | (This used to be commit 1dd6bea507f1f5e26cccf89148280721260a4673)
| * libreplace: add snprintf.c to test code for getifaddrs - needed on some systems.Michael Adam2008-02-291-0/+4
| | | | | | | | | | Michael (This used to be commit 0aff54a12e20d5e91fcdec7aaec103fb9a371a23)
| * libreplace: ifdef out ip6 code if unsupported.Michael Adam2008-02-291-0/+2
| | | | | | | | | | Michael (This used to be commit 54cc0df4dbf6d63a9b94e1ac6af4ec7f7803bc30)
| * libreplace: fix rep_freeifaddrs to not segfault on NULL input.Michael Adam2008-02-291-6/+7
| | | | | | | | | | Michael (This used to be commit 0cbb87453beb52c6b0bc3a48791f49678f4030c5)
| * libreplace: fix silly crashbug in getifaddrs_test().Michael Adam2008-02-291-1/+3
| | | | | | | | | | Michael (This used to be commit 523626908d25f974fd1ae6d7306b1d4bc8414162)
| * libreplace: add missing newline in output of getifaddrs test.Michael Adam2008-02-291-1/+1
| | | | | | | | | | Michael (This used to be commit f8243cfc47c7414bab7f249d0e5d1c85e8ca7d64)
| * libreplace: add missing semicolon to getifaddrs.Michael Adam2008-02-291-1/+1
| | | | | | | | | | Michael (This used to be commit 29818a07de826fd687003ff25865d77939ecaa9a)
| * Fix ldapi support.Jelmer Vernooij2008-02-291-2/+2
| | | | | | | | (This used to be commit 9499f8eea534cf93f96af17941e9195aadc0a756)
| * 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 (This used to be commit ee170c85e0e76411bd752de5fe51db6940dab929)
| * libreplace: use the new getifaddrs test also for autoconf.Michael Adam2008-02-282-33/+16
| | | | | | | | | | Michael (This used to be commit a2a506ff0eae2a64ebe2ddbb81a6c2a5fa7fe3da)
| * libreplace: add extended getifaddrs test that prints out the interfaces.Michael Adam2008-02-283-7/+100
| | | | | | | | | | Michael (This used to be commit 9d2bab09aac22c00fe23f1e1265a2dbd0901e9ce)
| * Merge branch 'v4-0-trivial' into v4-0-testJelmer Vernooij2008-02-2812-25/+50
| |\ | | | | | | | | | (This used to be commit 6cbb241c05539cc62526a366094c9c472e6422a5)
| | * Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivialJelmer Vernooij2008-02-2712-52/+157
| | |\ | | | | | | | | | | | | (This used to be commit d96fcc52a70fd1236b767b1d88a39d78c4e8c48c)
| | * | Remove uses of global_loadparm.Jelmer Vernooij2008-02-255-11/+15
| | | | | | | | | | | | | | | | (This used to be commit a16c9a2129ce92e7e1a613b2badd168e42ead436)
| | * | Introduce mprLpCtx() similar to mprMemCtx() for loadparm_context used byJelmer Vernooij2008-02-212-0/+9
| | | | | | | | | | | | | | | | | | | | all EJS code. (This used to be commit 184988866fe8e740f58e3683eefcaa70f8b51d11)