summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba/tests/samba3.py
Commit message (Collapse)AuthorAgeFilesLines
* Move python modules from source4/scripting/python/ to python/.Jelmer Vernooij2013-03-021-219/+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
* s4-python: Various formatting fixes.Jelmer Vernooij2012-09-271-2/+2
| | | | | | * Trailing whitespace * use of "==" where "is" should be used * double spaces
* s4-python: Formatting fixes, break lines.Jelmer Vernooij2012-09-161-0/+1
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sun Sep 16 15:58:04 CEST 2012 on sn-devel-104
* s4-python: Remove env from non-executable test scripts.Andreas Schneider2012-03-131-2/+0
|
* s3-py-passdb: Fix handling of uninitialized gid valuesAmitay Isaacs2011-11-181-1/+1
| | | | | | | | Uninitialized gid value is set to -1 and return as such from python passdb api. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Nov 18 06:18:33 CET 2011 on sn-devel-104
* s3-passdb_test: Policy values are converted to signed integerAmitay Isaacs2011-11-181-1/+1
| | | | No need to check value for 0xffffffff (4294967295).
* s4-python: Consistently use spaces rather than tabs, fix headers in several ↵Jelmer Vernooij2011-09-131-5/+8
| | | | places.
* py-samba3-test: Copy sample database in tempdir before running testAmitay Isaacs2011-08-261-7/+11
| | | | | | | | | | | Samba3 python module using passdb api modifies the database files, to upgrade them to latest version. So copy the sample database before running tests on it. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Aug 26 07:04:15 CEST 2011 on sn-devel-104
* py-samba3-test: Set lock directory to the datadirAmitay Isaacs2011-08-261-0/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* py-samba3: Use passdb/param wrapper for samba3 moduleAmitay Isaacs2011-08-261-136/+94
| | | | | | | | | | | Instead of parsing samba3 database files (password, group mapping, account policy, secrets), use passdb python wrapper. Similarly for parsing configuration, use samba3 param python wrapper. Other databases (idmap, registry, wins) are still parsed in python. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-test: fixed setup/ assumption for top level buildAndrew Tridgell2011-02-071-2/+5
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-python: Add some more module docstrings.Jelmer Vernooij2010-12-051-0/+2
|
* s4-python: python is not always in /usr/binAndrew Tridgell2010-06-241-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>
* python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij2010-06-191-2/+3
| | | | setUp methods are called, fix formatting.
* samba.tests.samba3: Clean up imports, use new TestCase class.Jelmer Vernooij2010-06-191-13/+38
|
* General cleanups of python code, hinted by pyflakes.Jelmer Vernooij2010-03-011-10/+1
|
* s4:samba3.py/upgrade.py: RevertMatthias Dieter Wallnöfer2009-11-281-3/+3
| | | | | | | | | | | | This reverts commit 2175c0ed0649d545ea833d50e8d33fbee9051c35. This reverts commit 6c3e2417a0639cd7c367de93615c422cf5217456. This reverts commit dbb8989e05ac3189a5eca11fa40d572388ea02fc. This reverts commit 82adfa39b75aa628c88f828278c6ac09335d1a49. This reverts commit f299efa8f05c6a5b739222bdf75690a4591d3650. After a small discussion with Jelmer we agreed that this isn't the right way to fix the problem. We should wait for a real patch rather to rely on temporal hacks.
* s4:samba3.py (and test) - deactivate the tests until those parameters are fixedMatthias Dieter Wallnöfer2009-11-271-3/+3
|
* Move tests for ParamFile.Jelmer Vernooij2008-12-211-1/+23
|
* Avoid use of parentheses in Python import statements, as it's not supported ↵Jelmer Vernooij2008-12-191-2/+2
| | | | by Python2.3.
* Use new style python classes.Jelmer Vernooij2008-08-011-0/+1
| | | | (This used to be commit 2a39aae0cef310a79427feb1b85f6794ea36849a)
* r26616: Support parsing of user data in SAmba 3 tdbsam.Jelmer Vernooij2007-12-271-2/+30
| | | | (This used to be commit 2f33e0451d6699fed8bc9abfa2f331317502b358)
* r26608: More improvements to the upgrade code.Jelmer Vernooij2007-12-261-3/+17
| | | | (This used to be commit 7ea06d91f602f770f55a1171174f11b922fed8e7)
* r26607: Fix reading of values and subkeys in Samba 3 registry files.Jelmer Vernooij2007-12-261-0/+8
| | | | (This used to be commit e3d7454ef70d6fe9a1ce34eaf57268bd5b713ccf)
* r26590: Parsing routines for the smbpasswd file and idmap database.Jelmer Vernooij2007-12-261-4/+49
| | | | (This used to be commit 0c14e16a2bc965d3319ca990089566bff98a47fe)
* r26587: Fix reading Samba 3 WINS database and initial work on group db, ↵Jelmer Vernooij2007-12-261-1/+54
| | | | | | aliases and secrets. (This used to be commit c7c4cf258ac7975b409d26c9386838d4780c756f)
* r26585: Fix samba3.python tests.Jelmer Vernooij2007-12-261-3/+7
| | | | (This used to be commit 231ec0777b7d1fb1297e3a974871b8735a386cfa)
* r26570: - Trim size of the swig-generated Python bindings by removing a ↵Jelmer Vernooij2007-12-241-0/+57
bunch of {}'s. - Start working on Python equivalents for various EJS tests. - Fix regression in argument order for reg_diff_apply() in EJS bindings. (This used to be commit c550c03372cb260b78f6a6c132e70571bc4cb852)