1
0
mirror of https://github.com/samba-team/samba.git synced 2025-05-01 22:50:23 +03:00

39 Commits

Author SHA1 Message Date
Jelmer Vernooij
96dd5719d4 Add init file for DCE/RPC tests. 2009-09-24 15:03:59 +02:00
Jelmer Vernooij
0450a5bf90 PEP8 2009-09-24 15:03:59 +02:00
Jelmer Vernooij
5cf25fd225 Revert "s4:python fixed subunit tests of dcerpc"
This reverts commit ffd48a79ee34dc90c0f6f16564c3a0de8b53d3d2.
2009-09-24 15:03:58 +02:00
Andrew Tridgell
ffd48a79ee s4:python fixed subunit tests of dcerpc
The version of the unitest python module in Ubuntu Jaunty doesn't seem
to support this many level of subdirectories. Moving the tests up one
level solves the problem.
2009-09-04 18:07:04 +10:00
Matthias Dieter Wallnöfer
7a79d16183 s4: Major rework of the LDB/SAMDB/IDMAP python bindings
- Centralise the lookups for the default domain (root) in the call "domain_dn"
- Reduce the LDB connections attempts ("connect" calls) from three to one
  - tools should load faster
- Make the LDB connection init more like the "ldb_wrap_connection" call
- Load the right UTF8 casefolder which fixes up problems with special characters
  (discovered by me: e.g. small "Umlaute" (ä, ö, ü, ...) in the DN weren't upcased
  - so records "seemed" lost in TDB)
2009-08-17 11:58:40 +02:00
Jelmer Vernooij
d5e6ae5cfc python: Fix samba4.dcerpc.rpcecho.RpcEchoTests.test_surrounding test. 2009-06-08 22:41:39 +02:00
Andrew Bartlett
f128bfd449 Add str() for policy_handles.
Pair programmed with Jelmer
2009-04-21 12:06:04 +02:00
Andrew Bartlett
6f60a6e71a python/dcerpc: Custom implementations of policy_handle.__init__ and policy_handle.__repr__
pair-programmed with Jelmer
2009-04-21 11:53:00 +02:00
Andrew Bartlett
1856b999c8 python/rpc: Add custom GUID.__str__, GUID.__repr__, GUID.__init__ and GUID.__cmp__. 2009-04-21 11:14:11 +02:00
Jelmer Vernooij
cdbc00bb52 Fix test_surrounding in samba4.rpcecho.python. 2009-03-02 05:07:30 +01:00
Jelmer Vernooij
1c94f3e95d Use new style python classes.
(This used to be commit 2a39aae0cef310a79427feb1b85f6794ea36849a)
2008-08-01 21:00:09 +02:00
Andrew Bartlett
21377a7ea9 Fix the samba4.dcerpc.bare.python test.
The loadparm context isn't really optional, as otherwise we can't find
the right server to connect to.

Andrew Bartlett
(This used to be commit 2b5acb5e95b46dd39c6f54b5bb7e15ddb180f7ec)
2008-05-30 15:26:10 +10:00
Andrew Bartlett
d579540085 Fix rpcecho test.
(This used to be commit df8399ba9dee9d1c706a3e56451c9f2cade96dae)
2008-05-30 15:09:59 +10:00
Jelmer Vernooij
5df9e0576e Fix missing colon.
(This used to be commit 6b1576f544e2ea2b5ea0b234b724c4989dd49cca)
2008-05-25 14:41:54 +02:00
Jelmer Vernooij
74126bc6d0 Expose transfer and abstract syntax.
(This used to be commit a875e07a37568b7e51c290074d5e3834c2caa4d6)
2008-05-25 04:54:38 +02:00
Jelmer Vernooij
928ecbaebb Add support for secondary contexts from Python.
(This used to be commit 16d1ad050546ae6500153438db8d3c857e6f3ad5)
2008-05-25 04:23:03 +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 e3178d522c95871f1db35d7e058906502387a553)
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 f1de723b89251cbc8140b838941f304a34871bf3)
2008-05-24 22:13:32 +02:00
Jelmer Vernooij
05194ccdf8 Add tests for new NDR pack/unpack functionality in Python DCE/RPC bindings.
(This used to be commit 468d35827fd055c82c6d43d6ce6d3d561abed54d)
2008-05-24 19:50:09 +02:00
Jelmer Vernooij
5eed56d0ad Fix bugs in samr python tests.
(This used to be commit 09c6b106ac144820b8c072bda4dad3d8e2145ff0)
2008-05-23 15:10:35 +02:00
Jelmer Vernooij
6ccb9785e7 Add another test toe the python samr testsuite.
(This used to be commit 480884c696c676bb978e9197271b99cc03bb66e6)
2008-05-23 04:21:29 +02:00
Jelmer Vernooij
27005cb7a2 Convert samr test to python.
(This used to be commit 88d473b202e82b462ef82ffdeb4f1710918ffda5)
2008-05-23 04:20:45 +02:00
Jelmer Vernooij
d77745e692 Move DCE/RPC python bindings into samba package.
(This used to be commit 8dafd4ce40b7348fd5f2b1f2f5d2106ef4cc0dd1)
2008-05-22 02:21:25 +02:00
Jelmer Vernooij
059c012656 Fix dependencies and imports.
(This used to be commit 37ef86f8de9039b8226b190254d842e92b5faad7)
2008-05-22 00:56:36 +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
Andrew Bartlett
4d8f3f1902 Fix the expectations on the unixinfo test.
Andrew Bartlett
(This used to be commit 0df2b3e0b56007850cf83cfdcdb45ca29e162d34)
2008-04-17 12:03:49 +02:00
Jelmer Vernooij
fd52fe8616 Fix pointers when pushing strings to python during pidl generation.
(This used to be commit ca72187b3e71a037780d42a57e46b60e75f724f6)
2008-04-15 14:32:13 +02:00
Jelmer Vernooij
1b5f32128d Use RpcInterfaceTestCase everywhere.
(This used to be commit 799095b4e567f4495adf7d1d7bcb81dda6782959)
2008-04-14 23:28:14 +02:00
Jelmer Vernooij
2cdfaedee2 Make sure credentials are specified when running the Python winreg RPC tests.
(This used to be commit 280339e3d126f5c72dc271051b72839fde0c5c9f)
2008-04-14 19:20:43 +02:00
Jelmer Vernooij
02f3695897 Add convenience TestCase class for testing RPC interfaces.
(This used to be commit 2f19f981449bf6f4d29f231259817c8b66104a9b)
2008-04-14 18:30:07 +02:00
Jelmer Vernooij
ad823b04da Remove length arguments, add tests for unixinfo.GidToSid and unixinfo.UidToSid.
(This used to be commit cae61e32e5b61a02c2986b74bd1d7e58460b1e80)
2008-04-08 14:58:38 +02:00
Jelmer Vernooij
1f474f4a54 Add trivial test for unixinfo interface.
(This used to be commit b6b7171f70114bd27ca8db09964c65cacb9cea92)
2008-04-08 03:29:12 +02:00
Jelmer Vernooij
af007e5837 Use SMB_CONF_PATH environment variable inside tests rather than hardcoded paths.
(This used to be commit eb04de69c0e319e18b148191946808f81e1cc8c4)
2008-02-11 13:20:24 +01:00
Jelmer Vernooij
001b2435f0 python: Add simple test for samr python code.
(This used to be commit 0a039fabcba9510ab600b2e4becbf75a58d2134d)
2008-01-14 19:53:08 +01:00
Jelmer Vernooij
035599fa65 python: Be more pythonic - turn WERROR and NTSTATUS return codes into exceptions.
(This used to be commit 16fc69b843e92ae62b15caf927335cc117156499)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
7dd468ff2e python: Fix python code for winreg, add test.
(This used to be commit bd3e6c41c42738fcfcc5cef4e65f0e219d358260)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
271f5f18f2 python: Fix last bugs in rpcecho test. It passes now!
(This used to be commit 25a0cd091bb24e579ceb34472d9c213aae157ba9)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
3b16c532f2 pidl/python: Pass credentials and loadparm context when connecting using DCE/RPC.
(This used to be commit 4c87af95310e4aaee3f2e2da02d0ea70ed1ec25b)
2008-01-14 19:53:06 +01:00
Jelmer Vernooij
db4ee4cce5 python: Fix rpcecho tests.
(This used to be commit ebb78ea4232c1614755844849580e3697b0a53fa)
2008-01-14 19:53:06 +01:00