summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-05-20Convert in_transaction to a bool. Add the same fix VolkerJeremy Allison1-4/+9
used for tdb_traverse() to tdb_traverse_read(). Jeremy. (This used to be commit e05ec3047c4fe0cc2e09a812830fc835dc35abea)
2008-05-20Fix nesting tdb_traverse in a transactionVolker Lendecke1-3/+8
Calling tdb_traverse inside a transaction led to the transaction lock being held indefinitely. This was caused by the tdb_transaction_lock/unlock inside tdb_traverse: The transaction code holds the global lock at offset TRANSACTION_LOCK. The call to tdb_transaction_lock does nothing because the transaction_lock is already being held. tdb_transaction_unlock inside tdb_wrap resets tdb->have_transaction_lock but does not release the kernel-level fcntl lock. transaction_commit later on does not release that fcntl lock either, because tdb->have_transaction_lock was already reset by tdb_transaction(). This patch does fix that problem for me. An alternative would be to make tdb->have_transaction_lock a counter that can cope with proper nesting, maybe in other places as well. Volker (This used to be commit 89543005fe2e4934b3c560c937d49304a32a7fc2)
2008-05-20smbtorture: Add RAW-BENCH-TCON benchmark.James Peach2-2/+2
Add a simple test to benchmark the rate at which a server can accept new tree connections. You can tune the length of time to run the benchmark for and the number of parallel connections to make. (This used to be commit ea3f4b93057e85c4ea516cc77dd0f293016d520c)
2008-05-20Update tdb version number.Jelmer Vernooij1-1/+1
(This used to be commit eae17ae8ecdcb83fdb756189a9d5609a192371a4)
2008-05-20Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett9-46/+256
(This used to be commit 69bac908bec3216d2f17042aa05ab8d4b55b0918)
2008-05-20Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett21-104/+102
Fix config.mk due to changing syntax. Conflicts: source/libcli/config.mk source/nbt_server/config.mk (This used to be commit 6a1c76f29f78183f44dfac6f468c5e728d2cb2cf)
2008-05-19Add __repr__ implementation for Tdb.Jelmer Vernooij4-27/+57
(This used to be commit 205699ed663a3c6d27695dee25bf26978615b475)
2008-05-19Fix dependency.Jelmer Vernooij1-1/+1
(This used to be commit d8fe782dc200907e0364c623e187c51f4d44edb2)
2008-05-19Add __repr__ implementation for Ldb.Jelmer Vernooij4-1/+43
(This used to be commit 5607aea07f66f09fd5b33842d07d2fbbf44d13e7)
2008-05-19Add __repr__ implementations for ldb.Message, ldb.MessageElement and ldb.Dn.Jelmer Vernooij4-17/+155
(This used to be commit b9119c0f0f524d43ff09825dffb24a5e77a240f4)
2008-05-19Fix a memleak in irpc_remove_nameVolker Lendecke1-0/+6
First, even when length==0 tdb_fetch might return something. Second, for some weird reason there might be less data than necessary for a single server id. (This used to be commit 49b04ca7aadf264e500d83bc8d3cb5173a86184e)
2008-05-18Fix a bunch of dependencies.Jelmer Vernooij4-4/+4
(This used to be commit a63f458462d207d215a6e4ef8e480b0c8daedf6a)
2008-05-18Fix a couple (well, little more than that..) of typos.Jelmer Vernooij9-13/+13
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
2008-05-18Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij9-14/+24
middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
2008-05-18Avoid smb_build for prototype headers in some places.Jelmer Vernooij1-1/+2
(This used to be commit 4876c4efbbafb4e0afa3554cd9f748ab591a2927)
2008-05-18Use variables for source directory in remaining subsystems.Jelmer Vernooij18-70/+69
(This used to be commit 6b6b2196a8a8d9e741f5c399185ded7a16938da0)
2008-05-18Use variables for source directory in a couple more places.Jelmer Vernooij1-20/+0
(This used to be commit 28f4a8bc2c9b4158e74e1284ff9df068388c3b3d)
2008-05-18Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testJelmer Vernooij30-293/+820
(This used to be commit 16dbbf75c7fa0f877659654a20bcab73b707e627)
2008-05-17Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett4-37/+45
(This used to be commit 60579269d1e0bebce5b595ef95d68fd4bf781cfd)
2008-05-16lib/replace: move sys/sockio.h and sys/un.h checks into ↵Stefan Metzmacher2-1/+1
AC_LIBREPLACE_NETWORK_CHECKS metze (This used to be commit 7f26a5425e706a97cc07c5139b3fea4fde9e4020)
2008-05-16lib/socket: remove unused configure checks for HAVE_SOCK_SIN_LEN and ↵Stefan Metzmacher1-25/+3
HAVE_UNIXSOCKET and rely on libreplace metze (This used to be commit 5de605bb2ef88a1f3e61c64e557c7f069d0f6dad)
2008-05-16lib/replace: add checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKETStefan Metzmacher1-0/+40
Moved from the samba specific locations metze (This used to be commit e674128ee2f11596f358ed46104c9d25eb2f754f)
2008-05-16lib/socket: remove unused configure check for HAVE_WORKING_AF_LOCALStefan Metzmacher1-10/+0
metze (This used to be commit 1c7905cfb4c77edeb24ac612a544e777cf49e184)
2008-05-16Fix an uninitialized variable warningVolker Lendecke1-1/+1
(This used to be commit b3d024676426000380ad86a2a4b83e7b21478978)
2008-05-15Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett27-256/+775
(This used to be commit 618400fe7d1f469150b82e0aebc89b2104de116f)
2008-05-14Revert "lib/events: system/network.h isn't needed"Stefan Metzmacher4-0/+4
Somehow this breaks 'make test'... This reverts commit 59faf3bf670140784d5698bbdc8b86afe8e188ec. metze (This used to be commit ece9df0875a32f76af5af913b6a6cdd8eacf0280)
2008-05-14lib/events: system/network.h isn't neededStefan Metzmacher4-4/+0
metze (This used to be commit 59faf3bf670140784d5698bbdc8b86afe8e188ec)
2008-05-14Make it possible to build libevents standalone.Simo Sorce17-26/+527
(This used to be commit 10415bb738d51afdebbfeae976923e086805ae84)
2008-05-13libreplace: try to fix the build on HP-UX which has if_nametoindex() in -lipv6Stefan Metzmacher1-0/+13
metze (This used to be commit da2179ee5d5b6094ab63a9d9d6a8d59893937087)
2008-05-13libreplace: make sure system/network.h is only used when ↵Stefan Metzmacher2-0/+5
AC_LIBREPLACE_NETWORK_CHECKS was used metze (This used to be commit 3fddd36e119f73a5021370450f9687ef9d252bab)
2008-05-13libreplace: export LIBREPLACE_NETWORK_OBJS and LIBREPLACE_NETWORK_LIBS varsStefan Metzmacher1-17/+18
metze (This used to be commit aa7ef1af746319a3d771decd0ec03dabe8b8ad28)
2008-05-13libreplace: include inet_ntoa.o when the system one is brokenStefan Metzmacher1-2/+3
metze (This used to be commit 67845d3471711d24069636d0d4032f9d53748334)
2008-05-13libreplace: merge getifaddrs.m4 into libreplace_network.m4Stefan Metzmacher2-129/+127
metze (This used to be commit 0234d397fefee8e1d0dcd3402f748c2251021c90)
2008-05-13libreplace: merge getaddrinfo.m4 into libreplace_network.m4Stefan Metzmacher2-33/+33
metze (This used to be commit 64591d064dc3da6074f0f7539911a6e433d9cc43)
2008-05-13libreplace: merge socketpair.m4 into libreplace_network.m4Stefan Metzmacher2-2/+2
metze (This used to be commit f9f8f93adcc7161ebb18f5a0bf28c73d951a15ad)
2008-05-13libreplace: merge inet_pton.m4 into libreplace_network.m4Stefan Metzmacher2-2/+2
metze (This used to be commit 3a70274c908e31453942b442351eab8423c1a53d)
2008-05-13libreplace: merge inet_ntop.m4 into libreplace_network.m4Stefan Metzmacher2-2/+2
metze (This used to be commit 223ef6c08efb52251d0a772bb0c481b2803cf0ce)
2008-05-13libreplace: merge inet_aton.m4 into libreplace_network.m4Stefan Metzmacher2-2/+2
metze (This used to be commit fba00736c870f449c0eee32fe0d7b0d539dca51f)
2008-05-13libreplace: merge inet_ntoa.m4 into libreplace_network.m4Stefan Metzmacher2-20/+20
metze (This used to be commit 82e826253b6d18832931dbb5c1dda009889bf9e0)
2008-05-13libreplace: merge socket.m4 into libreplace_network.m4Stefan Metzmacher2-40/+40
metze (This used to be commit c70eba87dbbac6c2c1e68c343cdd410577c1686f)
2008-05-12Merge branch 'nosmbpython' into v4-0-testJelmer Vernooij1-0/+2
(This used to be commit 9683f7434c7ea01631d8adae9d43274c77ff51de)
2008-05-12Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett10-26/+27
(This used to be commit 61c31dc7cf649bc6f2d14bc8637e50ead9b9210a)
2008-05-11Avoid unnecessary headers in lib/torture.Jelmer Vernooij1-2/+0
(This used to be commit 43c18ba5cf0f709c4a7bd686d5e6bf613227b61d)
2008-05-11Use system python rather than smbpython.Jelmer Vernooij1-0/+2
(This used to be commit d3df51cd01e53383dcc05923d248db03bc6f62e9)
2008-05-11Avoid installing non-public header.Jelmer Vernooij1-1/+0
(This used to be commit bec87e1878841764104b98f05b34a72a98c8dd71)
2008-05-11Fix dependency on loadparm.Jelmer Vernooij1-1/+1
(This used to be commit 018ee187ffbfd77aa0d5f5da6c3512ea6b37a746)
2008-05-11Merge ldb_map into LIBLDB.Jelmer Vernooij1-9/+3
(This used to be commit 4d7925f953bc9d1fcffb4a4dd268b763c18ceae6)
2008-05-10Fix torture module initializion.Jelmer Vernooij1-1/+1
(This used to be commit d5bf4e9065303b54421a6f35b213a22f062d27d4)
2008-05-10Fix soversion for libtorture and libsamba-hostconfig.Jelmer Vernooij1-1/+1
(This used to be commit 1f698b96c7962a453f037815c9160cd8d7dde3f6)
2008-05-10Merge branch 'v4-0-test' into v4-0-gmake3Jelmer Vernooij20-67/+1283
Conflicts: source/auth/config.mk source/auth/gensec/config.mk source/torture/smbtorture.c (This used to be commit edfd02e59bba86b977bd60848f57a614691fff7a)