1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-23 20:59:10 +03:00
Commit Graph

28 Commits

Author SHA1 Message Date
52d64c53b9 s4-python: Add some more module docstrings. 2010-12-05 17:27:05 +01:00
8caac9462a samba.provision: Add package with provision and backend modules. 2010-11-28 05:00:06 +01:00
a7675bd501 s4-python: Fix formatting of docstrings for the purpose of pydoctor. 2010-11-28 05:00:06 +01:00
800c7af0c9 s4:provision: also use fixed GUID names of the default group policies for domain and domain controllers in tests
metze
2010-07-10 11:18:19 +02:00
4cb423f527 s4-python: python is not always in /usr/bin
Using "#!/usr/bin/env python" is more portable. It still isn't ideal
though, as we should really use the python path found at configure
time. We do that in many places already, but some don't.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-24 18:46:57 +10:00
8c88c9c500 Attempt to fix SamDB test infrastructure (not used in Samba anywhere, only in OpenChange). 2010-06-15 17:21:39 +02:00
956a256faa s4-python: Start using standard python logging infrastructure rather
than simple messaging callbacks.
2010-06-13 18:19:03 +02:00
31a718aa27 General cleanups of python code, hinted by pyflakes. 2010-03-01 04:46:51 +01:00
e94bfe5efb s4:provision Fix samdb test with new provision code 2009-11-02 16:36:55 +11:00
9e7fb6a673 s4:samba.tests.samdb - remove last relicts of the templates 2009-09-30 16:01:32 +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
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
2772871146 Fix samdb python test.
(This used to be commit 0e3d488cc1)
2008-05-30 14:15:40 +02: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
251f6bd991 make sure to always use string version of uuid rather than object.
(This used to be commit bcd5fc7dc9)
2008-05-11 04:36:37 +02:00
5319d9620b Use consistent function names with the standard Python uuid module that is available in >= 2.4.
(This used to be commit 60d458e319)
2008-05-11 03:31:26 +02:00
1b5f32128d Use RpcInterfaceTestCase everywhere.
(This used to be commit 799095b4e5)
2008-04-14 23:28:14 +02:00
142fbfb3c1 Fix and test python scripts and kerberos
This fixes up the python credentials interface in a number of areas,
with the aim of supporting '-k yes' as a command line option.  (This
enables the use of kerberos).

As such, I've had to change the get_credentials call to take a
loadparm context, so that the credentials can be initialised
correctly.

The test_kinit script has been modified to prove that this continues
to work, as well as to provide greater code coverage of the kerberos
paths.

Andrew Bartlett
(This used to be commit 727ef40c2b)
2008-03-28 21:57:15 +11:00
08e3f99f14 Initial work on a test for samba.tests.samdb
(This used to be commit 8b33860954)
2008-02-13 02:18:45 +01:00