1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

3902 Commits

Author SHA1 Message Date
Jelmer Vernooij
b058e556f8 Support messaging_client_init in the python bindings.
(This used to be commit f2e8f9851044506ef80811a6b6c5d31632a1f112)
2008-05-26 01:10:24 +02:00
Jelmer Vernooij
68cec4923a Add bindings for irpc_{add,remove}_name.
(This used to be commit a75dbdec15ead785e0105dd61f980627e487fcb0)
2008-05-26 00:50:07 +02:00
Jelmer Vernooij
2067fc60c5 Add tests for irpc python bindings.
(This used to be commit 1ce0632afeb94a69bf286706b3b1f9f4be7ea91f)
2008-05-25 16:47:12 +02:00
Jelmer Vernooij
48433e4351 Start building IRPC Python support.
(This used to be commit 5980c7bfd727825758bda1b94ddf7a7c3f691620)
2008-05-25 16:26:34 +02:00
Jelmer Vernooij
1b5acdb93b Initialize module.
(This used to be commit 3246258afb4f3b4a977a191f2f83c73e8ce9c65a)
2008-05-24 18:25:27 +02:00
Jelmer Vernooij
453396c67b Initial work on IRPC Python support.
(This used to be commit df01b040f7450c3be29f369a993955fbc4678bd9)
2008-05-24 18:18:21 +02:00
Jelmer Vernooij
73b789b6d2 Add docstrings to a couple more python modules.
(This used to be commit b4560c90e5e8d3a35367d3a21d361dc4c9c0de23)
2008-05-24 04:01:57 +02:00
Jelmer Vernooij
a255c93995 Cope with new event context parameter in API and removed parameters to reg_open_local().
(This used to be commit 0d5752c940360a0ceb5e23cd6f71cbc61271137a)
2008-05-23 16:17:58 +02:00
Jelmer Vernooij
7fb2677402 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into registry
(This used to be commit e8d96b61db1cddc2d8dca45e6e9b53d5c31ee5d4)
2008-05-23 15:24:40 +02:00
Jelmer Vernooij
564b6ed025 Add proper implementation of MessageElement.__cmp__.
(This used to be commit 076e2cc356978ac313fcfdf8d8243f4ed1d629b0)
2008-05-23 04:07:42 +02:00
Jelmer Vernooij
37d000d052 Add docstrings to events python module.
(This used to be commit 7d43d2c7c91c86246b9bb2ae7eda050079767e7a)
2008-05-23 00:38:02 +02:00
Jelmer Vernooij
985d6d8ddd add more docstrings to registry python module
(This used to be commit 606f92db874c139ba532df53a87cc5b826215d9e)
2008-05-23 00:37:56 +02:00
Jelmer Vernooij
c401aa9357 Use restructuredText formatting for docstrings.
(This used to be commit 0cc58decd74d20f3d7dff93ddef1c8bce4d49ad0)
2008-05-23 00:37:22 +02:00
Jelmer Vernooij
66762985e7 Add some docstrings to tdb.
(This used to be commit 3563d62663c36ff267011f1f6f9b256be21c32fb)
2008-05-23 00:36:48 +02:00
Jelmer Vernooij
9893651c02 Add module docstring, docstrings for constructors.
(This used to be commit 67d738d6e65476263a2b7c236a57fe2b0a2dfe32)
2008-05-23 00:36:32 +02:00
Jelmer Vernooij
fb2d69a140 Add more docstrings in the ldb python module.
(This used to be commit a649a010670ee2c0d155aa62654841cf1f2bab8f)
2008-05-23 00:36:20 +02:00
Jelmer Vernooij
505cea9d4c Add some docstrings to ldb python module, fix MessageElement name.
(This used to be commit 717283331f8a1ebd80e7ec52d9bfe709f869ec86)
2008-05-23 00:35:50 +02:00
Stefan Metzmacher
5ab27ba7f0 libreplace: we need to use AC_TRY_LINK() to make sure HAVE_IPV6 is correctly detected
metze
(This used to be commit 84b5652d3e5766521436e4c7d59615b08b2bb198)
2008-05-22 15:01:32 +02:00
Jelmer Vernooij
5ce59419a0 Fix CFLAGS for SWIG files.
(This used to be commit 8ee4f075046e0b181ec8a4ac1eaf3ea5621a56bf)
2008-05-22 02:13:26 +02:00
Jelmer Vernooij
a9c142d4f4 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 30f8d581aa339b37b27011e65355937590df10b9)
2008-05-22 01:48:20 +02:00
Jelmer Vernooij
6b3e2c308a Fix events test.
(This used to be commit 0fae6f11081cff7846319175cfec95fa3911571c)
2008-05-22 01:17:30 +02:00
Jelmer Vernooij
49706ab19b Move more modules inside of the samba package.
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
2008-05-21 23:59:34 +02:00
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
Stefan Metzmacher
334de182f4 lib/socket: use HAVE_IPV6 test from LIBREPLACE_NETWORK_CHECKS
metze
(This used to be commit 76be51d3a08e2239a137b8abe3f2df722f69ddb2)
2008-05-21 21:32:28 +02:00
Stefan Metzmacher
e029dfe9ea libreplace: add test for HAVE_IPV6
Samba can later just check libreplace_cv_HAVE_IPV6 = yes.

metze
(This used to be commit e835e7eebcc064ce0813814796828f15ad112fbd)
2008-05-21 21:32:23 +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