summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/tests/samdb.py
AgeCommit message (Collapse)AuthorFilesLines
2013-03-02Move python modules from source4/scripting/python/ to python/.Jelmer Vernooij1-96/+0
Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Mar 2 03:57:34 CET 2013 on sn-devel-104
2012-09-27s4-python: Various formatting fixes.Jelmer Vernooij1-5/+5
* Trailing whitespace * use of "==" where "is" should be used * double spaces
2012-03-13s4-python: Remove env from non-executable test scripts.Andreas Schneider1-2/+0
2012-02-26provision: Simplify make_smbconf a bit.Jelmer Vernooij1-2/+2
2011-02-07s4-provision Remove setup_path, setup_dir and find_setup_dirAndrew Bartlett1-8/+5
We now have a reliable way to know the current location of the templates: dyn_SETUPDIR, which is updated for both the in-build and installed binaries. This replaces the function arguments and the distributed resolution of the setup directory with one 'global' function (imported as required). This also removes the ability to specify an alternate setup directory on the command line, as this was rarely if ever used and never tested. Andrew Bartlett
2010-12-05s4-python: Add some more module docstrings.Jelmer Vernooij1-0/+3
2010-11-28samba.provision: Add package with provision and backend modules.Jelmer Vernooij1-6/+7
2010-11-28s4-python: Fix formatting of docstrings for the purpose of pydoctor.Jelmer Vernooij1-8/+0
2010-07-10s4:provision: also use fixed GUID names of the default group policies for ↵Stefan Metzmacher1-2/+3
domain and domain controllers in tests metze
2010-06-24s4-python: python is not always in /usr/binAndrew Tridgell1-1/+1
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-15Attempt to fix SamDB test infrastructure (not used in Samba anywhere, only ↵Jelmer Vernooij1-18/+22
in OpenChange).
2010-06-13s4-python: Start using standard python logging infrastructure ratherJelmer Vernooij1-1/+2
than simple messaging callbacks.
2010-03-01General cleanups of python code, hinted by pyflakes.Jelmer Vernooij1-4/+0
2009-11-02s4:provision Fix samdb test with new provision codeAndrew Bartlett1-3/+12
2009-09-30s4:samba.tests.samdb - remove last relicts of the templatesMatthias Dieter Wallnöfer1-4/+2
2009-08-17fixed up add_foreign againAndrew Tridgell1-16/+4
my last patch was not even close ... I'll leave abartlet to work out how to fix the test case
2009-08-17more fixups from provision changesAndrew Tridgell1-2/+14
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-17fixed up some provision errors from the recent changesAndrew Tridgell1-3/+2
2009-02-12Provide a SamDB TestCase-class that can be used by OpenChange.Jelmer Vernooij1-0/+10
2009-02-12Use created loadparm context, rather than the one specified on the command-line.Jelmer Vernooij1-2/+2
2009-02-11Use convenience function for finding setup dir in SaMDB tests.Jelmer Vernooij1-2/+2
2009-02-11Make it possible to override the setup path.Jelmer Vernooij1-9/+11
2009-02-11Cancel transactions when exceptions are raised.Jelmer Vernooij1-0/+1
2008-12-23samba.tests.samdb: Fix test after merger of samba.security andJelmer Vernooij1-1/+1
samba.dcerpc.security
2008-05-30Fix samdb python test.Jelmer Vernooij1-2/+2
(This used to be commit 0e3d488cc108174ca0f875aab16b9771c2933f19)
2008-05-30Fix up provision and samdb tests.Andrew Bartlett1-5/+20
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 89fc39f7edb214065aff461bc225f41443eae3c7)
2008-05-29Fix samdb test and enable it.Jelmer Vernooij1-2/+6
(This used to be commit 6b202d3780f8ff50e0bdfa4a749c43b5639e4880)
2008-05-29Update after changes to the provision API, make sure temp dir gets cleanedJelmer Vernooij1-10/+19
up. (This used to be commit 064e9ddb3786bd7df8785b39754b1e6674496b66)
2008-05-11make sure to always use string version of uuid rather than object.Jelmer Vernooij1-4/+4
(This used to be commit bcd5fc7dc9899deb9fa84fdeeb21ed2ddb921308)
2008-05-11Use consistent function names with the standard Python uuid module that is ↵Jelmer Vernooij1-4/+4
available in >= 2.4. (This used to be commit 60d458e3195eef6baf655fee0da7c3f68517e8e6)
2008-04-14Use RpcInterfaceTestCase everywhere.Jelmer Vernooij1-2/+2
(This used to be commit 799095b4e567f4495adf7d1d7bcb81dda6782959)
2008-03-28Fix and test python scripts and kerberosAndrew Bartlett1-0/+1
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 727ef40c2b56910028ef3c1092b8eab1bfa6ce63)
2008-02-13Initial work on a test for samba.tests.samdbJelmer Vernooij1-0/+55
(This used to be commit 8b33860954ca03be1ea45fd8d40963dbbd5b162f)