1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

15939 Commits

Author SHA1 Message Date
Andrew Tridgell
2ad2bdda89 stricter checks for valid inputs in SMB2 open and lock
(This used to be commit a7b5689a73)
2008-05-26 15:02:43 +10:00
Andrew Tridgell
cf4899cf4c check use of mincnt past EOF in SMB
(This used to be commit 763c9d344f)
2008-05-26 15:00:56 +10:00
Andrew Tridgell
bf8d9e180e fill in reserved field on SMB2 flush
(This used to be commit 400a3b39d5)
2008-05-26 15:00:27 +10:00
Andrew Tridgell
c5c1b3706a allow larger streams using the TDB backend
(This used to be commit 8c0d756eb8)
2008-05-26 14:59:58 +10:00
Jelmer Vernooij
5df9e0576e Fix missing colon.
(This used to be commit 6b1576f544)
2008-05-25 14:41:54 +02:00
Jelmer Vernooij
74126bc6d0 Expose transfer and abstract syntax.
(This used to be commit a875e07a37)
2008-05-25 04:54:38 +02:00
Jelmer Vernooij
5211755563 Expose request timeout variable in Python.
(This used to be commit daed1432d2)
2008-05-25 04:38:57 +02:00
Jelmer Vernooij
928ecbaebb Add support for secondary contexts from Python.
(This used to be commit 16d1ad0505)
2008-05-25 04:23:03 +02:00
Jelmer Vernooij
a2446e5f85 Add initial work for script that uses probing to figure out IDL.
(This used to be commit 4e5687e813)
2008-05-25 02:32:21 +02:00
Jelmer Vernooij
4c1f0641d3 Check for fault codes when connecting.
(This used to be commit 42537b1d52)
2008-05-25 00:04:11 +02:00
Jelmer Vernooij
63c2a19e6e Add helper function to return DCE/RPC fault codes.
(This used to be commit 4716cdfb5d)
2008-05-24 23:39:38 +02:00
Jelmer Vernooij
21b6e9ec9e Add convenience function for creating objects with NDR error codes.
(This used to be commit 991541a78c)
2008-05-24 23:22:49 +02:00
Jelmer Vernooij
5863864f1d Fix memory initialization in raw calls.
(This used to be commit 788b2dbfe4)
2008-05-24 23:07:16 +02:00
Jelmer Vernooij
2a6c4da9d1 Support optional object argument when sending DCE/RPC requests.
(This used to be commit 75ba01a0fa)
2008-05-24 23:02:09 +02:00
Jelmer Vernooij
21ce0ff006 Allow connecting to a DCE/RPC interface with Python for which we don't have IDL.
(This used to be commit e3178d522c)
2008-05-24 22:56:49 +02:00
Jelmer Vernooij
75e7962d2e Add convenience functions for setting Python objects from errors.
(This used to be commit f1de723b89)
2008-05-24 22:13:32 +02:00
Jelmer Vernooij
f9c36fae75 Export functions for setting NTSTATUS and WERRORs in python.
(This used to be commit 4bcb92d2d4)
2008-05-24 21:38:33 +02:00
Jelmer Vernooij
fe5be25547 Allow request() call to do custom calls on DCE/RPC interfaces.
(This used to be commit 9c2eff0289)
2008-05-24 21:20:45 +02:00
Jelmer Vernooij
654be49c01 Use manually written Python bindings for DCE/RPC rather than SWIG based.
Use base class for pidl-generated DCE/RPC interface Python bindings.
(This used to be commit 25e7fc8a2c)
2008-05-24 21:02:56 +02:00
Jelmer Vernooij
515b6ed586 Share struct used for interfaces in Python code.
(This used to be commit 8501a3fc31)
2008-05-24 20:00:37 +02:00
Jelmer Vernooij
05194ccdf8 Add tests for new NDR pack/unpack functionality in Python DCE/RPC bindings.
(This used to be commit 468d35827f)
2008-05-24 19:50:09 +02:00
Jelmer Vernooij
e3bbe61d81 Only provide __ndr_pack__ / __ndr_unpack__ if the push/pull functions are public.
(This used to be commit dd43bdcb88)
2008-05-24 19:49:54 +02:00
Jelmer Vernooij
f76697ce89 Add convenience functions for packing/unpacking structs in python.
(This used to be commit c5d7d48b32)
2008-05-24 18:57:15 +02:00
Jelmer Vernooij
14c4028f26 Support __ndr_unpack__ on DCE/RPC structures in Python.
(This used to be commit 3b2bd4d849)
2008-05-24 18:55:46 +02:00
Jelmer Vernooij
1cd3a2be31 Add __ndr_pack__ method to all DCE/RPC structures.
(This used to be commit 06d272b42f)
2008-05-24 18:46:32 +02:00
Jelmer Vernooij
73b789b6d2 Add docstrings to a couple more python modules.
(This used to be commit b4560c90e5)
2008-05-24 04:01:57 +02:00
Jelmer Vernooij
b9c3aae792 Include full path for python scripting dir to allow out-of-tree builds.
(This used to be commit 01485bea87)
2008-05-23 19:32:50 +02:00
Jelmer Vernooij
3811156e97 More work allowing out-of-tree builds. Patch by Matthias Dieter Wallnöfer and me.
(This used to be commit 6e29fbd5d0)
2008-05-23 19:25:05 +02:00
Jelmer Vernooij
a203ee1ab1 Fix indentation, add docstring in provisioning script.
(This used to be commit 86a8a08549)
2008-05-23 16:43:26 +02:00
Jelmer Vernooij
e3d000f3bf Some more PEP improvements.
(This used to be commit 015ca850df)
2008-05-23 16:29:08 +02:00
Jelmer Vernooij
cceac63aaa Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-wsgi
Conflicts:

	source/scripting/python/samba/provision.py
(This used to be commit d27de63365)
2008-05-23 16:24:07 +02:00
Jelmer Vernooij
72fce65407 getting/setting security options works for the regf backend now
(This used to be commit 0f2de29dae)
2008-05-23 16:19:51 +02:00
Jelmer Vernooij
72251a1b7a Include test case name when reporting with subunit. This should make it possible to having a test fail against some test cases and success against other ones.
(This used to be commit 0af138a85b)
2008-05-23 16:19:00 +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 0d5752c940)
2008-05-23 16:17:58 +02:00
Jelmer Vernooij
33231f44da Report full 'path' of unexpected test results for easier inclusion in knownfailure file.
(This used to be commit 33cc9b0f5f)
2008-05-23 16:17:23 +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 e8d96b61db)
2008-05-23 15:24:40 +02:00
Jelmer Vernooij
1186579f94 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into docstrings2
(This used to be commit 7ca46322f5)
2008-05-23 15:20:57 +02:00
Jelmer Vernooij
0b62a0875f selftest: Use convenience function for prepending paths to environment variables.
(This used to be commit f71cb65a90)
2008-05-23 15:20:32 +02:00
Jelmer Vernooij
5eed56d0ad Fix bugs in samr python tests.
(This used to be commit 09c6b106ac)
2008-05-23 15:10:35 +02:00
Jelmer Vernooij
dff31b1dc0 Create new context in pytalloc to avoid problems with talloc_free() freeing the wrong parent of a pointer.
(This used to be commit 3f628f4dc9)
2008-05-23 15:09:51 +02:00
Jelmer Vernooij
9adcd8c25e UFollow conventions for __repr__ contents for talloc python wrapper.
(This used to be commit f2d437d646)
2008-05-23 13:13:36 +02:00
Jelmer Vernooij
97cac27b33 Fix syntax for return type in DCE/RPC interface python bindings.
(This used to be commit 40652801fc)
2008-05-23 12:45:05 +02:00
Jelmer Vernooij
d9109c5342 Self PYTHONPATH from selftest.
(This used to be commit f7e350368b)
2008-05-23 12:40:45 +02:00
Stefan Metzmacher
2f653e814a RAW-STREAMS: better test the bahavior of streams on directories
Note: this has a samba3 specific code path, which we should fixed.

metze
(This used to be commit 5c5c866838)
2008-05-23 09:55:16 +02:00
Stefan Metzmacher
5d648b4aa5 pvfs_open: return FILE_IS_A_DIRECTORY when opening a stream on a directory
metze
(This used to be commit 1421b1cc0c)
2008-05-23 09:55:15 +02:00
Stefan Metzmacher
391b746430 pvfs_resolve: stream_name = "" is only the same as NULL for files
metze
(This used to be commit 47756129fd)
2008-05-23 09:55:15 +02:00
Stefan Metzmacher
c78bf3c2c9 pvfs_streams: directories don't have streams
metze
(This used to be commit 9ed7bb5afe)
2008-05-23 09:55:03 +02:00
Jelmer Vernooij
4b701a265f Fix imports for provision-backend.
This needs a blackbox test...
(This used to be commit 268c1de095)
2008-05-23 04:31:10 +02:00
Jelmer Vernooij
a9c96b2e7b Fix indentation.
(This used to be commit 5c3d4fce06)
2008-05-23 04:21:34 +02:00
Jelmer Vernooij
6ccb9785e7 Add another test toe the python samr testsuite.
(This used to be commit 480884c696)
2008-05-23 04:21:29 +02:00