summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-03-18libreplace: replace inet_ntoa() when it is missingMichael Adam6-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)
2008-03-18libreplace: put inet_aton.c under LGPL instead of GPL.Michael Adam1-9/+13
Michael (This used to be commit cca5d6626fe395f08fd4c8b2344e4e43646cb987)
2008-03-18libreplace: remove unused SOCKET_LIBS and NSL_LIBSStefan Metzmacher1-3/+0
metze (This used to be commit 62bb177a6e4a3e1f949b78c7cd7583f2e1271739)
2008-03-18lib/socket: use LIBREPLACE_NETWORK instead of EXT_SOCKET and EXT_NSLStefan Metzmacher2-47/+3
The configure checks are also in libreplace now. metze (This used to be commit 07e931a77f21e025281b6285f4ce7aebf1106b86)
2008-03-18libreplace: for samba4 create LIBREPLACE_NETWORK as EXT_LIBStefan Metzmacher1-0/+3
metze (This used to be commit 79037c31334e271a718fcac234148038814b591e)
2008-03-18libreplace: use LIBREPLACE_NETWORK_LIBS within some configure checksStefan Metzmacher2-3/+3
...instead of using SOCKET_LIBS and NSL_LIBS. metze (This used to be commit cef2e8d748756f61c248ad6660e85dd1ac36308a)
2008-03-18libreplace: combine SOCKET_LIBS and NSL_LIBS to LIBREPLACE_NETWORK_LIBSStefan Metzmacher1-7/+9
But keep the old ones untill the callers are fixed. metze (This used to be commit e7115dcc8a0a4f420de7a901e3a21d4f35a6fcf9)
2008-03-18ldb: remove configure with 'make realdistclean'Stefan Metzmacher1-1/+1
configure.in doesn't exist at all... metze (This used to be commit ca414d4e9e96b90100c46b006825bc8e935ba0b4)
2008-03-18ldb: nothing uses "system/network.h" so don't include itStefan Metzmacher1-1/+0
metze (This used to be commit 087667e0cd66ea615b5aa43538192fe1d7de87ae)
2008-03-18ldb: fix the standalone buildStefan Metzmacher6-13/+13
metze (This used to be commit 91b49365abed6f67e2b3c18b0090b4e6ff1df935)
2008-03-18Allocate one 0-byte in asprintf replacement when len==0Volker Lendecke1-1/+1
Some S3 code depends on this. (cherry picked from commit dc3d5e16452bf30055638ba3cfe99097fb557156) (This used to be commit 842d144b4fb0981250157f72956e732709663107)
2008-03-17socket_wrapper: make pcap code more portableStefan Metzmacher1-39/+40
Now the pcap support works on x86_64. metze (This used to be commit 61a87bed61ef661d98131239976be95c6a8b4d96)
2008-03-15messaging: fix a valgrind warning on 64bit hosts zero out paddingStefan Metzmacher1-0/+2
metze (This used to be commit f555b8e4c35f69fdc1fb34427d882580eecad284)
2008-03-14swig: regenerate _wrap.c filesStefan Metzmacher1-13/+13
metze (This used to be commit 08b41e10699c7bb8058ab0ab61f17a1bbfcc1ce4)
2008-03-14libreplace: fix samba4 build (by not setting global LIBS).Michael Adam2-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)
2008-03-14libreplace: add -I$libreplacedir to CPPFLAGS for getifaddrs tests.Michael Adam1-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)
2008-03-14libreplace: add an inet_aton() function that calls inet_pton().Michael Adam6-0/+42
inet_aton() is even needed inside libreplace, in the implementation of rep_getaddrinfo(). Michael (This used to be commit bcb2f3a880f8da8f9bedb7a8e61d7d7b533f1919)
2008-03-11events_signal: pass down the correct siginfo_t struct to the event handlerStefan Metzmacher1-1/+1
metze (This used to be commit 4b071236867ca5c2c0451ad3acc8a9debb0549e4)
2008-03-11Make error handling in ldb more consistant.Andrew Bartlett1-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)
2008-03-07Rerun SWIG.Jelmer Vernooij1-15/+16
(This used to be commit e384aac5c8156c7f056c70b1caab0778f8fc52b6)
2008-03-07accountExpires: Windows default is 9223372036854775807, not -1.Andrew Kroeger1-1/+1
(This used to be commit be47cc7fdfa3cae0508e564f38b793aa27b6eb92)
2008-03-06ldb_wrap: Debug at derived samba_level, not the level of the ldb debug enum.Andrew Kroeger1-1/+1
(This used to be commit eb9a7c3b3a7f113ff58e2ebea9886f997da4e085)
2008-03-04Try to return sane ldb error stringsAndrew Bartlett1-1/+10
We don't just want to return just strerror(ret) when things go wrong. Andrew Bartlett (This used to be commit 7f0341dd589150ab01563957460cdcf42515cadc)
2008-03-03Merge branch 'v4-0-test' into id10ts-registryJelmer Vernooij37-322/+399
(This used to be commit f98b59021a5ea39c7970ebc5520d17775e500b8c)
2008-03-02Some cleanups for the ldb doxygen docs.Brad Hards1-10/+12
(This used to be commit 5972308add8b1078e190beab204c1ba4b3a25747)
2008-03-01Remove unused variable, fix (80, 'Other error') exceptions from ldb python ↵Jelmer Vernooij2-4/+4
bindings (This used to be commit 2303063cbd2e65580618124ef8ecf42867d2b952)
2008-03-01Fix error handling in ldb.add().Jelmer Vernooij2-161/+81
(This used to be commit a7f89b5bb28601597a4a0f75ec2b97bac02370d9)
2008-02-29Change remaining prototype headers to be private.Jelmer Vernooij1-3/+3
(This used to be commit 2f7ff409e89c9682e681ddcf54439db9e3b6ccb4)
2008-02-29Move public header accumulation out of the perl code.Jelmer Vernooij12-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)
2008-02-29Fix manpage paths.Jelmer Vernooij1-6/+6
(This used to be commit 36da52abf5be79e37bd495ec4265e01b27aa9da5)
2008-02-29Move manpage management out of the perl build system.Jelmer Vernooij4-14/+28
(This used to be commit 1dd6bea507f1f5e26cccf89148280721260a4673)
2008-02-29libreplace: add snprintf.c to test code for getifaddrs - needed on some systems.Michael Adam1-0/+4
Michael (This used to be commit 0aff54a12e20d5e91fcdec7aaec103fb9a371a23)
2008-02-29libreplace: ifdef out ip6 code if unsupported.Michael Adam1-0/+2
Michael (This used to be commit 54cc0df4dbf6d63a9b94e1ac6af4ec7f7803bc30)
2008-02-29libreplace: fix rep_freeifaddrs to not segfault on NULL input.Michael Adam1-6/+7
Michael (This used to be commit 0cbb87453beb52c6b0bc3a48791f49678f4030c5)
2008-02-29libreplace: fix silly crashbug in getifaddrs_test().Michael Adam1-1/+3
Michael (This used to be commit 523626908d25f974fd1ae6d7306b1d4bc8414162)
2008-02-29libreplace: add missing newline in output of getifaddrs test.Michael Adam1-1/+1
Michael (This used to be commit f8243cfc47c7414bab7f249d0e5d1c85e8ca7d64)
2008-02-29libreplace: add missing semicolon to getifaddrs.Michael Adam1-1/+1
Michael (This used to be commit 29818a07de826fd687003ff25865d77939ecaa9a)
2008-02-29Fix ldapi support.Jelmer Vernooij1-2/+2
(This used to be commit 9499f8eea534cf93f96af17941e9195aadc0a756)
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 (This used to be commit ee170c85e0e76411bd752de5fe51db6940dab929)
2008-02-28libreplace: use the new getifaddrs test also for autoconf.Michael Adam2-33/+16
Michael (This used to be commit a2a506ff0eae2a64ebe2ddbb81a6c2a5fa7fe3da)
2008-02-28libreplace: add extended getifaddrs test that prints out the interfaces.Michael Adam3-7/+100
Michael (This used to be commit 9d2bab09aac22c00fe23f1e1265a2dbd0901e9ce)
2008-02-28Merge branch 'v4-0-trivial' into v4-0-testJelmer Vernooij12-25/+50
(This used to be commit 6cbb241c05539cc62526a366094c9c472e6422a5)
2008-02-28Cache iconv_convenience.Jelmer Vernooij1-12/+22
(This used to be commit fe1d3e69990a71d7639ac8718f6ca51de4d7e6d2)
2008-02-28Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-localAndrew Bartlett8-6/+109
(This used to be commit ba864cfd7ce4b69179431131cac9661cbf48bf32)
2008-02-28Fix rdn_name errors.Andrew Bartlett1-1/+2
Return the correct error when the DN is mismatched with it's RDN attribute (now matches AD). Andrew Bartlett (This used to be commit bf7166e785e5c5d52dbb0c12e5e4206d74e72f4e)
2008-02-27Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivialJelmer Vernooij12-52/+157
(This used to be commit d96fcc52a70fd1236b767b1d88a39d78c4e8c48c)
2008-02-27libreplace: standalone build: use -I$srcdir instead of -I.Michael Adam1-1/+1
Michael (This used to be commit ff311e613226e660998824b887cb9595ffbe0275)
2008-02-26registry: Add an explicit test for recursive deletion.Andrew Kroeger1-0/+37
(This used to be commit 5e905804993df4c2ac28090d056e6db6bb63ac44)
2008-02-26registry: Implement recursive deletes for regf-backed registry.Andrew Kroeger1-4/+49
When deleting a registry key that contains subkeys or values, Windows performs a recursive deletion that removes any subkeys or values. This update makes deletes for an regf-backed registry consistent with Windows. The regf-backed registry does not have transactional integrity when performing multiple operations. Therefore, if an error occurs during the recursive deletion, the regf-backed registry may be left in an inconsistent state. (This used to be commit b0321bad290d1a9399b4aba140a622e3af6d7575)
2008-02-26registry: Implement recursive deletes for dir-backed registry.Andrew Kroeger1-6/+54
When deleting a registry key that contains subkeys or values, Windows performs a recursive deletion that removes any subkeys or values. This update makes deletes for an dir-backed registry consistent with Windows. The dir-backed registry relies on the underlying filesystem, which does not generally have transactional integrity when performing multiple operations. Therefore, if an error occurs during the recursive deletion, the dir-backed registry may be left in an inconsistent state. (This used to be commit 6b5fbf7e4e38342bcd80e63f46cd295f89ab1ee9)