summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-02-26registry: Implement recursive deletes for ldb-backed registry.Andrew Kroeger1-27/+116
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 ldb-backed registry consistent with Windows. Under ldb, the deletion is done using an explicit transaction. If an error occurs during the deletion the entire transaction is cancelled, leaving the registry as it was before the deletions started. (This used to be commit ca796c8fb10598674a5eef31d15863e79bcf3db8)
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 e7c1d6513b945b205abe84b18a251d06e737e659)
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 cd95c702ed90128f659e27709c61d4c6abc969ef)
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 900d17acb95f1becfc46656a12c107336c027ef7)
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 8a26a6e8f11aca5119b15e304213548ad608dc5b)
2008-02-25Update homepages for talloc, tdb and ldb subprojectsSimo Sorce3-34/+24
(This used to be commit 8cb07814bc6627fc8eba228eafd13336e3ca3758)
2008-02-25Remove uses of global_loadparm.Jelmer Vernooij5-11/+15
(This used to be commit a16c9a2129ce92e7e1a613b2badd168e42ead436)
2008-02-22libreplace: don't use socketwrapper for getifaddrs() implementations.Michael Adam1-0/+2
Michael (cherry picked from commit 85eec1d1d6b674294c50eb912fbe7d5a1dd42909) (This used to be commit a83db886e50b6ceeb71d93bf86fb5e0964b8d45f)
2008-02-22libreplace: Fix comment originating from old samba source.Michael Adam1-1/+1
Michael (This used to be commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96)
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 (cherry picked from commit 26e6ebc7090b5742deb67805d85d809cafb4543d) (This used to be commit e00c6513e05afe91d4c419287283b34e931a161c)
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 (cherry picked from commit ec9f4f5066ba7a8bf3af931fd4969590140c0b2b) (This used to be commit 744d5ba7adab65a9774a18eb42b7090f49e423f2)
2008-02-22Add missing initalizations of lastif in rep_getifaddr implementations.Michael Adam1-3/+6
Michael (cherry picked from commit 65710e752f72070cb911867ff9f31f91904ca5c0) (This used to be commit 5bd613a2cda5d287706f2ce72f4ee08a7fa45b72)
2008-02-21libreplace: fix compile errors in getifaddrs.cMichael Adam1-6/+3
Michael (cherry picked from commit 22cdd4cb507022d9c670b7d5cbc8d357b0b91637) (This used to be commit 4da2d999a28c8fd3e93480194a153cf6a10de986)
2008-02-21Introduce mprLpCtx() similar to mprMemCtx() for loadparm_context used byJelmer Vernooij2-0/+9
all EJS code. (This used to be commit 184988866fe8e740f58e3683eefcaa70f8b51d11)
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 (cherry picked from commit 5778c90819a5a5cee38be690f442c571f3a6a051) (This used to be commit 0d4522a06d4465f6eadbdf14381c9e08cf7e1dc9)
2008-02-21Remove yet more global_loadparm instances.Jelmer Vernooij1-2/+4
(This used to be commit 5de88728ac5c567d3711d1ac6862bbdaced84b75)