1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

42 Commits

Author SHA1 Message Date
Jelmer Vernooij
46bca5e7b7 possibleinferiors: Report subunit. 2010-11-03 19:13:35 +00:00
Jelmer Vernooij
9ae3c822d1 possibleinferiors: Fix formatting. 2010-11-03 19:13:35 +00:00
Kamen Mazdrashki
f1b3c4dd38 s4-possibleinferiors.py: Fix usage of 'paged_search' module for remote LDB connections 2010-09-26 02:25:13 +03:00
Jelmer Vernooij
cc5b673e18 s4-selftest: Move samba3sam test to standard python directory. 2010-09-22 22:29:09 -07:00
Andrew Tridgell
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
Jelmer Vernooij
51058213cb s4-test: Use smb.conf path set in environment rather than using
command-line options.

This is the first step towards supporting custom test runners.
2010-06-13 18:19:03 +02:00
Jelmer Vernooij
3a34b5f35e subunit: Remove more test output that could be interpreted by subunit. 2010-04-11 20:57:33 +02:00
Andrew Tridgell
5ccf8ae373 s4-samba3samtest: we need to force netbios name as well
needed for when run in CLIENT context
2010-01-08 13:03:08 +11:00
Andrew Tridgell
9aed099362 s4-samba3samtest: force workgroup so the domain is right
the samba3sid backend looks at lp_sam_name() which is based on the
workgroup
2010-01-08 13:03:07 +11:00
Andrew Tridgell
d6f92db456 s4-samba3sam: use samba3sid module
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-01-08 13:03:07 +11:00
Andrew Tridgell
43a815c67a s4-samba3samtest: use system credentials for creating users 2010-01-08 13:03:07 +11:00
Andrew Bartlett
f4240973ba s4:dsdb Add default modules list to samba3sam
This is needed because the work to allow existing databases to be loaded now
moves the 'you have an old @PARTITION' record to the presense or absence of
this attribute.

Andrew Bartlett
2009-10-22 09:22:18 +11:00
Andrew Bartlett
b73d584a89 s4:dsdb Fix tests for samba3sam to pass after partitions module changes
This is needed because the new format of the partitions record is a
casefolded DN, not a DN and file combination.

Andrew Bartlett
2009-10-21 22:43:51 +11:00
Andrew Tridgell
6159825845 s4-samldb: the samldb module requires that the primary group exists
We need to create Domain Users in the test ldb
2009-10-02 20:00:42 +10:00
Matthias Dieter Wallnöfer
500fc020b2 s4:samba3sam.py test - remove the primary group ID attribute here
This shouldn't be specified on creation time (Windows Server doesn't allow that).
Hope this also fixes the test (see buildfarm).
2009-09-20 23:27:47 +02:00
Andrew Tridgell
481fb8aa13 slightly nicer output in our possibleInferiors test code 2009-04-09 13:45:23 +10:00
Andrew Tridgell
d88ced1dcc added a --wspp option
Adding --wspp to possibleInferiors.py forces it to use the WSPP
documented algorithm, which doesn't match windows behaviour
2009-03-27 09:31:51 +11:00
Andrew Tridgell
3f37342bc0 fixed possibleinferiors.py so it matches windows behaviour
This test code builds the possibleInferiors for every class in the
schema on a target machine, and compares it to the servers
possibleInferiors attribute.  

The MS-ADTS spec describes how to calculate possibleInferiors for a
object, but it seems to have some bugs. The spec says that we need to
use AUXCLASSES, and it does not mention the use of the SUBCLASS
tree. In trying to match windows behaviour, I found that I needed to
ignore the AUXCLASSES and build a SUBCLASSES tree.
2009-03-26 22:10:02 +11:00
Andrew Tridgell
2a8f367b0f the start of a possibleInferiors test suite
we haven't implemented possibleInferiors yet. This test is meant to
help us understand how it works. It tries to construct
possibleInferiors via searches on other attributes, and compares it to
the servers constructed possibleInferiors attribute for each class in
the servers schema.

see [MS-ADTS] section 3.1.1.4.5.21
2009-03-24 16:28:39 +11:00
Jelmer Vernooij
2227860a79 Fix more tests, improve repr() functions for various Python types. 2008-12-21 23:05:35 +01:00
Jelmer Vernooij
6efb7ff981 Fix various Python-related bugs. 2008-12-21 07:34:27 +01:00
Jelmer Vernooij
01c22153a9 Fix samba3sam test after removal of dom_sid IDL file. 2008-12-18 16:50:54 +00:00
Andrew Bartlett
00b6343406 The samba3sam test does not really need the extended_dn module
(This module has been split up into extended_dn_in, extended_dn_out
and extended_dn_store).

Andrew Bartlett
2008-11-17 10:06:37 +11:00
Stefan Metzmacher
9579036dc5 s4: fix samba4.samba3sam.python test
metze
2008-11-08 08:02:25 +01:00
Jelmer Vernooij
3d8323fbff Compare sids in samba3sam tests. 2008-09-30 16:02:21 +02:00
Jelmer Vernooij
291ca93843 Use loadparm since it's required by some modules. 2008-09-24 19:27:09 +02:00
Jelmer Vernooij
9f178f5b67 Fix last samba3sam.py test. 2008-09-21 05:21:56 +02:00
Jelmer Vernooij
db6bd2a3d6 Fix DNs - only one more samba3sam test failing now. 2008-09-21 03:42:27 +02:00
Jelmer Vernooij
f63c83deef More code simplifications. 2008-09-20 14:35:21 +02:00
Jelmer Vernooij
3fbcc2149e Fix formatting. 2008-09-19 12:44:00 +02:00
Jelmer Vernooij
0c193b7a10 Simplify code, remove print statements. 2008-09-19 12:04:13 +02:00
Jelmer Vernooij
714669f172 Fix objectclass tests. 2008-09-19 01:43:04 +02:00
Jelmer Vernooij
21897a0539 Improve formatting. 2008-09-18 23:46:58 +02:00
Jelmer Vernooij
41c645bde2 Fix tests, be less verbose. 2008-09-18 22:56:58 +02:00
Jelmer Vernooij
deba4e8ded Fix some tests. 2008-09-18 21:53:08 +02:00
Andrew Bartlett
5c6364ba06 Remove references to the unused @SUBCLASS feature.
This was removed from ldb_tdb a while ago

Andrew Bartlett
(This used to be commit fcb87e77860b449ac3483ccec5e6b5ed087540f2)
2008-08-18 12:01:27 +10:00
Jelmer Vernooij
5e03b92182 r26642: samba3sam.py: Remove more EJS-specific code.
(This used to be commit 7d14b657b3d59924b15f4f84bbd5745cd7f759ef)
2008-01-01 19:57:02 -06:00
Jelmer Vernooij
cf80a01591 r26637: More work converting to Python.
(This used to be commit 84f1e82d8fe5ecca75e2d7048d1b8b409abcb9b7)
2008-01-01 16:12:05 -06:00
Jelmer Vernooij
870d20cf50 r26630: Split up big tests into various smaller functions, making it easier to debug.
(This used to be commit 4be116133724ac52f9df8adb3feeb93ea616a990)
2007-12-30 10:51:06 -06:00
Jelmer Vernooij
43a03b0fb4 r26598: Simplify the way Python tests are run.
(This used to be commit d649f73431fc993e31522e7fc8e1e35e0a4421d8)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
7c146c42d2 r26593: - More work on the python versions of samba3dump and the samba3sam tests.
- Initial work converting the upgrade code to Python.
- Removed the old EJS upgrade code because it has been broken for a long time.
(This used to be commit 150cf39fbd4fe088546870fb0d8f20c0d9eb4aca)
2007-12-26 11:57:07 -06:00
Jelmer Vernooij
aa0a06f13c r26570: - Trim size of the swig-generated Python bindings by removing a 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)
2007-12-24 01:51:03 -06:00