Jelmer Vernooij
b1fc7bab11
Move some python files into the samba package.
...
(This used to be commit ed38c668cdbe10966e46bad97301122eea8001d0)
2008-05-21 21:50:56 +02:00
Jelmer Vernooij
82bcf967b7
Move CFLAGS overrides for SWIG modules to Makefile.
...
(This used to be commit 58665a8a8e4b10435aebbf2c95b6a8e50db232d6)
2008-05-21 21:32:53 +02:00
Jelmer Vernooij
2914b0ca04
Remove support for .py files from smb_build - deal with it only in the makefiles.
...
(This used to be commit b865249efaa58d0fc87fa25491fda3b970af81c3)
2008-05-21 21:24:48 +02:00
Jelmer Vernooij
721332411a
Regenerate with newer version of swig.
...
(This used to be commit 034c68bea934db87bce13a750c17fb1bd2bbe3b6)
2008-05-21 14:29:05 +02:00
Jeremy Allison
6d4424cd45
Convert in_transaction to a bool. Add the same fix Volker
...
used for tdb_traverse() to tdb_traverse_read().
Jeremy.
(This used to be commit e05ec3047c4fe0cc2e09a812830fc835dc35abea)
2008-05-20 14:20:47 -07:00
Volker Lendecke
aa7e4b8e9c
Fix nesting tdb_traverse in a transaction
...
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-20 14:20:42 -07:00
James Peach
9a975a868e
smbtorture: Add RAW-BENCH-TCON benchmark.
...
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-20 11:35:32 -07:00
Jelmer Vernooij
7015b7840c
Update tdb version number.
...
(This used to be commit eae17ae8ecdcb83fdb756189a9d5609a192371a4)
2008-05-20 01:52:11 +02:00
Andrew Bartlett
28b2fa8623
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit 69bac908bec3216d2f17042aa05ab8d4b55b0918)
2008-05-20 08:27:08 +10:00
Andrew Bartlett
343fea32cc
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
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-20 08:03:35 +10:00
Jelmer Vernooij
1b4b8d5e78
Add __repr__ implementation for Tdb.
...
(This used to be commit 205699ed663a3c6d27695dee25bf26978615b475)
2008-05-19 23:36:33 +02:00
Jelmer Vernooij
40b6dc1b31
Fix dependency.
...
(This used to be commit d8fe782dc200907e0364c623e187c51f4d44edb2)
2008-05-19 23:36:11 +02:00
Jelmer Vernooij
43a22c9b4a
Add __repr__ implementation for Ldb.
...
(This used to be commit 5607aea07f66f09fd5b33842d07d2fbbf44d13e7)
2008-05-19 23:12:13 +02:00
Jelmer Vernooij
ae46119096
Add __repr__ implementations for ldb.Message, ldb.MessageElement and ldb.Dn.
...
(This used to be commit b9119c0f0f524d43ff09825dffb24a5e77a240f4)
2008-05-19 23:07:04 +02:00
Volker Lendecke
d817b43534
Fix a memleak in irpc_remove_name
...
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-19 15:59:54 +02:00
Jelmer Vernooij
60ae8f0657
Fix a bunch of dependencies.
...
(This used to be commit a63f458462d207d215a6e4ef8e480b0c8daedf6a)
2008-05-18 23:40:23 +02:00
Jelmer Vernooij
4c70cda986
Fix a couple (well, little more than that..) of typos.
...
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
2008-05-18 23:02:47 +02:00
Jelmer Vernooij
4c8756f147
Create prototype headers from Makefile directory, without smb_build in the middle.
...
(This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
2008-05-18 22:30:08 +02:00
Jelmer Vernooij
dc114f8c5a
Avoid smb_build for prototype headers in some places.
...
(This used to be commit 4876c4efbbafb4e0afa3554cd9f748ab591a2927)
2008-05-18 21:09:04 +02:00
Jelmer Vernooij
333c169529
Use variables for source directory in remaining subsystems.
...
(This used to be commit 6b6b2196a8a8d9e741f5c399185ded7a16938da0)
2008-05-18 20:30:46 +02:00
Jelmer Vernooij
6a31928869
Use variables for source directory in a couple more places.
...
(This used to be commit 28f4a8bc2c9b4158e74e1284ff9df068388c3b3d)
2008-05-18 19:56:17 +02:00
Jelmer Vernooij
4911af47f8
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit 16dbbf75c7fa0f877659654a20bcab73b707e627)
2008-05-18 17:35:16 +02:00
Andrew Bartlett
d975cd9d8c
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit 60579269d1e0bebce5b595ef95d68fd4bf781cfd)
2008-05-17 21:16:22 +10:00
Stefan Metzmacher
097b5ae763
lib/replace: move sys/sockio.h and sys/un.h checks into AC_LIBREPLACE_NETWORK_CHECKS
...
metze
(This used to be commit 7f26a5425e706a97cc07c5139b3fea4fde9e4020)
2008-05-16 22:56:15 +02:00
Stefan Metzmacher
c7c9aa7e7a
lib/socket: remove unused configure checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET and rely on libreplace
...
metze
(This used to be commit 5de605bb2ef88a1f3e61c64e557c7f069d0f6dad)
2008-05-16 22:56:14 +02:00
Stefan Metzmacher
a65e5994ad
lib/replace: add checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET
...
Moved from the samba specific locations
metze
(This used to be commit e674128ee2f11596f358ed46104c9d25eb2f754f)
2008-05-16 22:56:14 +02:00
Stefan Metzmacher
335813c735
lib/socket: remove unused configure check for HAVE_WORKING_AF_LOCAL
...
metze
(This used to be commit 1c7905cfb4c77edeb24ac612a544e777cf49e184)
2008-05-16 22:56:14 +02:00
Volker Lendecke
a620882e15
Fix an uninitialized variable warning
...
(This used to be commit b3d024676426000380ad86a2a4b83e7b21478978)
2008-05-16 15:40:39 +02:00
Andrew Bartlett
d55e57ca99
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit 618400fe7d1f469150b82e0aebc89b2104de116f)
2008-05-15 08:08:43 +10:00
Stefan Metzmacher
d5d9476c35
Revert "lib/events: system/network.h isn't needed"
...
Somehow this breaks 'make test'...
This reverts commit 59faf3bf670140784d5698bbdc8b86afe8e188ec.
metze
(This used to be commit ece9df0875a32f76af5af913b6a6cdd8eacf0280)
2008-05-14 17:28:42 +02:00
Stefan Metzmacher
3b6042e192
lib/events: system/network.h isn't needed
...
metze
(This used to be commit 59faf3bf670140784d5698bbdc8b86afe8e188ec)
2008-05-14 15:20:17 +02:00
Simo Sorce
136f369b23
Make it possible to build libevents standalone.
...
(This used to be commit 10415bb738d51afdebbfeae976923e086805ae84)
2008-05-14 00:03:01 -04:00
Stefan Metzmacher
0e4ae88d38
libreplace: try to fix the build on HP-UX which has if_nametoindex() in -lipv6
...
metze
(This used to be commit da2179ee5d5b6094ab63a9d9d6a8d59893937087)
2008-05-13 09:07:13 +02:00
Stefan Metzmacher
dd01174d09
libreplace: make sure system/network.h is only used when AC_LIBREPLACE_NETWORK_CHECKS was used
...
metze
(This used to be commit 3fddd36e119f73a5021370450f9687ef9d252bab)
2008-05-13 09:07:13 +02:00
Stefan Metzmacher
6353e83dc2
libreplace: export LIBREPLACE_NETWORK_OBJS and LIBREPLACE_NETWORK_LIBS vars
...
metze
(This used to be commit aa7ef1af746319a3d771decd0ec03dabe8b8ad28)
2008-05-13 09:07:13 +02:00
Stefan Metzmacher
c9b617ce3a
libreplace: include inet_ntoa.o when the system one is broken
...
metze
(This used to be commit 67845d3471711d24069636d0d4032f9d53748334)
2008-05-13 09:07:13 +02:00
Stefan Metzmacher
0301064c65
libreplace: merge getifaddrs.m4 into libreplace_network.m4
...
metze
(This used to be commit 0234d397fefee8e1d0dcd3402f748c2251021c90)
2008-05-13 09:07:12 +02:00
Stefan Metzmacher
108443ace5
libreplace: merge getaddrinfo.m4 into libreplace_network.m4
...
metze
(This used to be commit 64591d064dc3da6074f0f7539911a6e433d9cc43)
2008-05-13 09:07:12 +02:00
Stefan Metzmacher
254641d3f2
libreplace: merge socketpair.m4 into libreplace_network.m4
...
metze
(This used to be commit f9f8f93adcc7161ebb18f5a0bf28c73d951a15ad)
2008-05-13 09:07:12 +02:00
Stefan Metzmacher
1155c2f457
libreplace: merge inet_pton.m4 into libreplace_network.m4
...
metze
(This used to be commit 3a70274c908e31453942b442351eab8423c1a53d)
2008-05-13 09:07:11 +02:00
Stefan Metzmacher
8408101e24
libreplace: merge inet_ntop.m4 into libreplace_network.m4
...
metze
(This used to be commit 223ef6c08efb52251d0a772bb0c481b2803cf0ce)
2008-05-13 09:07:11 +02:00
Stefan Metzmacher
b6b96be0c2
libreplace: merge inet_aton.m4 into libreplace_network.m4
...
metze
(This used to be commit fba00736c870f449c0eee32fe0d7b0d539dca51f)
2008-05-13 09:07:11 +02:00
Stefan Metzmacher
41eaffe653
libreplace: merge inet_ntoa.m4 into libreplace_network.m4
...
metze
(This used to be commit 82e826253b6d18832931dbb5c1dda009889bf9e0)
2008-05-13 09:07:10 +02:00
Stefan Metzmacher
88533f35dd
libreplace: merge socket.m4 into libreplace_network.m4
...
metze
(This used to be commit c70eba87dbbac6c2c1e68c343cdd410577c1686f)
2008-05-13 09:07:10 +02:00
Jelmer Vernooij
4accab35c6
Merge branch 'nosmbpython' into v4-0-test
...
(This used to be commit 9683f7434c7ea01631d8adae9d43274c77ff51de)
2008-05-12 03:54:53 +02:00
Andrew Bartlett
b869a525b1
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit 61c31dc7cf649bc6f2d14bc8637e50ead9b9210a)
2008-05-12 09:44:27 +10:00
Jelmer Vernooij
3ed49cd2ae
Avoid unnecessary headers in lib/torture.
...
(This used to be commit 43c18ba5cf0f709c4a7bd686d5e6bf613227b61d)
2008-05-11 05:49:07 +02:00
Jelmer Vernooij
babdcc6135
Use system python rather than smbpython.
...
(This used to be commit d3df51cd01e53383dcc05923d248db03bc6f62e9)
2008-05-11 05:29:20 +02:00
Jelmer Vernooij
451febf89d
Avoid installing non-public header.
...
(This used to be commit bec87e1878841764104b98f05b34a72a98c8dd71)
2008-05-11 05:17:29 +02:00
Jelmer Vernooij
348109e688
Fix dependency on loadparm.
...
(This used to be commit 018ee187ffbfd77aa0d5f5da6c3512ea6b37a746)
2008-05-11 03:31:38 +02:00