1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-06 17:32:29 +03:00
Commit Graph

96 Commits

Author SHA1 Message Date
9e7fb6a673 s4:samba.tests.samdb - remove last relicts of the templates 2009-09-30 16:01:32 +02:00
a6d4eec3a5 samba.tests.provision: Remove broken become_dc test. 2009-09-26 02:38:09 +02:00
96dd5719d4 Add init file for DCE/RPC tests. 2009-09-24 15:03:59 +02:00
0450a5bf90 PEP8 2009-09-24 15:03:59 +02:00
5cf25fd225 Revert "s4:python fixed subunit tests of dcerpc"
This reverts commit ffd48a79ee.
2009-09-24 15:03:58 +02:00
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
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
52108a19a4 fixed up add_foreign again
my last patch was not even close ...

I'll leave abartlet to work out how to fix the test case
2009-08-17 17:48:27 +10:00
905db32885 more fixups from provision changes
Andrew, can you please check this? The idmap.setup_name_mapping tests
look totally out of place here. I'm also not sure I captured your
intention with the other changes
2009-08-17 17:35:36 +10:00
f3e473ee72 fixed up some provision errors from the recent changes 2009-08-17 13:28:57 +10:00
113621d96d s4:provision We no longer add krbtgt or kpasswd account into secrets.ldb 2009-07-29 09:07:49 +10:00
c80783eafd Re-add accidently removed shares test. 2009-07-20 13:34:50 +02:00
d5e6ae5cfc python: Fix samba4.dcerpc.rpcecho.RpcEchoTests.test_surrounding test. 2009-06-08 22:41:39 +02:00
f128bfd449 Add str() for policy_handles.
Pair programmed with Jelmer
2009-04-21 12:06:04 +02:00
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
1856b999c8 python/rpc: Add custom GUID.__str__, GUID.__repr__, GUID.__init__ and GUID.__cmp__. 2009-04-21 11:14:11 +02:00
03abc846ee Fix the valid NetBIOS name tests. 2009-04-20 11:11:25 +02:00
213249ceab Improve formatting in Python file. 2009-04-06 00:25:08 +02:00
b1db78c595 Make valid_netbios_name() check a bit stricter. 2009-04-06 00:25:03 +02:00
cdbc00bb52 Fix test_surrounding in samba4.rpcecho.python. 2009-03-02 05:07:30 +01:00
b9cf189404 expand tabs in python file, consistent with the rest of the file. 2009-02-24 01:02:26 +01:00
762fdc8c5c Provide a SamDB TestCase-class that can be used by OpenChange. 2009-02-12 16:00:11 +01:00
7048e75aee Use created loadparm context, rather than the one specified on the command-line. 2009-02-12 15:58:11 +01:00
9e71fef57b Use convenience function for finding setup dir in SaMDB tests. 2009-02-11 18:45:51 +01:00
d9e94bf336 Make it possible to override the setup path. 2009-02-11 18:17:00 +01:00
f13895851f Cancel transactions when exceptions are raised. 2009-02-11 17:54:58 +01:00
00b61ff2cf samba.tests.samdb: Fix test after merger of samba.security and
samba.dcerpc.security
2008-12-23 11:44:10 +01:00
a32194033a Move tests for ParamFile. 2008-12-21 16:39:17 +01:00
6efb7ff981 Fix various Python-related bugs. 2008-12-21 07:34:27 +01:00
6998ef4fe0 Avoid use of parentheses in Python import statements, as it's not supported by Python2.3. 2008-12-19 21:47:31 +01:00
1c94f3e95d Use new style python classes.
(This used to be commit 2a39aae0ce)
2008-08-01 21:00:09 +02:00
2772871146 Fix samdb python test.
(This used to be commit 0e3d488cc1)
2008-05-30 14:15:40 +02:00
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 2b5acb5e95)
2008-05-30 15:26:10 +10:00
d579540085 Fix rpcecho test.
(This used to be commit df8399ba9d)
2008-05-30 15:09:59 +10:00
b9babfe4cc Fix up provision and samdb tests.
This fixes up the provision to operate with a target directory - it
must override the smb.conf in this case.

Andrew Bartlett
(This used to be commit 89fc39f7ed)
2008-05-30 14:26:47 +10:00
6f7b2b6933 Fix samdb test and enable it.
(This used to be commit 6b202d3780)
2008-05-29 17:38:12 +02:00
e16f0e15b4 Update after changes to the provision API, make sure temp dir gets cleaned
up.
(This used to be commit 064e9ddb37)
2008-05-29 17:31:16 +02:00
90aeca8ebd Check test directory is cleaned up by Python tests.
(This used to be commit c338269b4b)
2008-05-29 17:29:56 +02:00
5df9e0576e Fix missing colon.
(This used to be commit 6b1576f544)
2008-05-25 14:41:54 +02:00
74126bc6d0 Expose transfer and abstract syntax.
(This used to be commit a875e07a37)
2008-05-25 04:54:38 +02:00
928ecbaebb Add support for secondary contexts from Python.
(This used to be commit 16d1ad0505)
2008-05-25 04:23:03 +02:00
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
75e7962d2e Add convenience functions for setting Python objects from errors.
(This used to be commit f1de723b89)
2008-05-24 22:13:32 +02:00
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
5eed56d0ad Fix bugs in samr python tests.
(This used to be commit 09c6b106ac)
2008-05-23 15:10:35 +02:00
6ccb9785e7 Add another test toe the python samr testsuite.
(This used to be commit 480884c696)
2008-05-23 04:21:29 +02:00
27005cb7a2 Convert samr test to python.
(This used to be commit 88d473b202)
2008-05-23 04:20:45 +02:00
d8459e3e1c Fix import in provision test.
(This used to be commit 96501be38d)
2008-05-22 03:09:40 +02:00
d77745e692 Move DCE/RPC python bindings into samba package.
(This used to be commit 8dafd4ce40)
2008-05-22 02:21:25 +02:00
059c012656 Fix dependencies and imports.
(This used to be commit 37ef86f8de)
2008-05-22 00:56:36 +02:00