Matthias Dieter Wallnöfer
ae9faaa894
s4:ldap.py - enhance the RDN name test to show that invalid "name" attributes are allowed on add operations
2010-06-06 20:48:24 +02:00
Matthias Dieter Wallnöfer
2fbb8c08ef
s4:urgent_replication.py - specify the "dnsRoot" attribute which is requested on "crossRef" entries
2010-06-06 20:43:00 +02:00
Matthias Dieter Wallnöfer
7896a35da3
s4:ldap.py - make sure that also the "posixuser" will be deleted on test breakages
2010-06-06 20:42:42 +02:00
Matthias Dieter Wallnöfer
5a0b3cf93d
s4:tests/python/passwords.py - fix filter
2010-05-30 23:13:09 +02:00
Matthias Dieter Wallnöfer
092331d2d8
s4:ldap.py - add a test which shows the modification behaviour of important attributes
...
This shows how important attributes of SAM objects do behave when you launch
add and delete modify requests on them.
2010-05-30 23:13:08 +02:00
Matthias Dieter Wallnöfer
c30c4529f5
s4:ldap.py - add more test cases to show invalid primary group change behaviour
2010-05-30 23:13:08 +02:00
Matthias Dieter Wallnöfer
6131caad8f
s4:passwords.py - add a python unittest for additional testing of my passwords work
...
This performs checks on direct password changes over LDB/LDAP. Indirect
password changes over the RPCs are already tested by some torture suite (SAMR
passwords). So no need to do this again here.
2010-05-10 19:12:27 +02:00
Anatoliy Atanasov
6dafd5f8c7
s4/test: Implement tests for msDS-isRODC constructed attribute
...
This attribute will be returned for objects with
objectClass=nTDSDSA,server and computer
2010-05-03 18:28:01 +02:00
Kamen Mazdrashki
da127d44e3
s4/test: schemaInfo may not to be set yet
...
On newly provisioned Forest schemaInfo is not initially set.
It should be created after firs Schema modification
2010-04-29 04:54:05 +03:00
Nadezhda Ivanova
4fc59089c8
Removed more excess looping and fixed problem with incorrect IO flag handling.
2010-04-20 00:23:42 +03:00
Nadezhda Ivanova
64f4183a35
s4:Added a test for correct CO expansion in SD creation.
2010-04-17 18:16:25 +03:00
Nadezhda Ivanova
cec0e86ec8
s4:Added a test to make sure we ignore ACEs with ID flag set.
2010-04-15 18:21:55 +03:00
Kamen Mazdrashki
08dd0d0b54
s4/schema: Torture test for schemaInfo implementation
...
This test checks if schemaInfo revision changes when an object
is added or modified in Schema.
Ref. [MS-ADTS], 3.1.1.2.1
2010-04-09 12:21:29 +03:00
Jelmer Vernooij
57ac0a6042
s4-python: Move load_partition_usn to dsdb module.
2010-04-08 23:20:36 +02:00
Jelmer Vernooij
dd4ef4e106
s4-python: More cleanups.
2010-04-08 23:20:36 +02:00
Jelmer Vernooij
a35d876537
s4-python: rename samba.glue to samba._glue to indicate it's private.
2010-04-08 23:20:36 +02:00
Jelmer Vernooij
fe4b212eba
urgent_replication: Use standard comments rather than docstrings.
2010-04-07 17:39:59 +02:00
Jelmer Vernooij
e9c3f2ef13
s4-python: Move ldb_set_utf8_casefold to pyldb-samba.
2010-04-06 13:12:43 +02:00
Jelmer Vernooij
ccd954f2a7
s4-python: Avoid importing glue directly.
2010-04-04 00:30:34 +02:00
Jelmer Vernooij
31a517e172
s4-python: Move dsdb constants to a separate python module.
2010-04-04 00:14:23 +02:00
Jelmer Vernooij
5a026219a9
s4-python: Remove unused imports, duplicate definitions of SECINFO_ constants.
2010-04-03 23:47:26 +02:00
Jelmer Vernooij
5f3fcf7a77
s4-python: Install external included packages only if they're not present on the system.
2010-03-31 03:56:24 +02:00
Jelmer Vernooij
1ec2b2f7f3
ldap.py: Fix syntax error.
2010-03-29 18:05:29 +02:00
Jelmer Vernooij
89aa3b766b
s4-python: Format to PEP8, simplify tests.
2010-03-29 18:05:29 +02:00
Andrew Tridgell
088096d1ba
python: use '#!/usr/bin/env python' to cope with varying install locations
...
this should be much more portable
2010-03-25 14:37:19 +11:00
Nadezhda Ivanova
4b8961bc6f
Fixed a bug in acl tests - python error when we create user/group/ou with a descriptor.
2010-03-09 13:53:41 +02:00
Nadezhda Ivanova
f742623b7b
Added a check for permissions to modify the RDN attribute on rename.
...
Necessary because rdn module will be moved lower than acl in the stack.
2010-03-09 13:07:18 +02:00
Matthias Dieter Wallnöfer
3d94b28441
s4:ldap.py - give the "primaryGroupToken" test a better name
...
It tests also some other constructed attributes in a basic way.
2010-03-04 18:16:24 +01:00
Matthias Dieter Wallnöfer
4546b6b7df
s4:ldap.py - add test for "tokenGroups"
2010-03-04 18:16:24 +01:00
Nadezhda Ivanova
8cb416a0b5
Refactored ACL python tests
...
Made each type into a separate class to be easily run individually,
removed code duplication
2010-03-04 15:22:30 +02:00
Andrew Tridgell
3035c7c2ad
s4-ldb: fixed permissions on urgent_replication.py
2010-02-15 21:57:08 +11:00
Andrew Tridgell
1ca2bd78b9
s4-test: minor fixes to urgent_replication.py
...
- fix usage name
- remove unnecessary python functions
- remote unused gc ldb
2010-02-15 21:57:08 +11:00
Fernando J V da Silva
f5de126b85
s4-drs: Test situations for Urgent Replication
...
Checks if the partition's uSNUrgent is updated or not, depending
on the class of the object which is created, modified or deleted.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-15 21:57:08 +11:00
Andrew Tridgell
2fdff7f596
s4-ldbtest: fixed python import
2010-01-28 18:45:04 +11:00
Eduardo Lima
882feb39a2
s4-drs: implementation of some delete test cases
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-01-28 18:45:03 +11:00
Jelmer Vernooij
aa1fce645a
ldap: Fix test failure that seemed to go unreported previously.
2010-01-17 12:35:26 +13:00
Jelmer Vernooij
a18889fd77
ldap.py: Remove unused imports.
2010-01-17 12:26:53 +13:00
Jelmer Vernooij
28577aae92
Import testtools as well, required for subunit.
2010-01-16 19:53:49 +13:00
Stefan Metzmacher
7d41afece7
s4:ldb/tests: do a "schemaUpdateNow" after creating a new attribute in ldap_schema.py
...
It seems that windows doesn't need that.
And we should think about a check for reloading the schema
at the start of each "write" operation.
metze
2010-01-13 16:03:52 +01:00
Andrew Tridgell
66f161dee1
s4-acl: fixed acl.py test to use correct ldif
...
same problem as sec_descriptor.py
2010-01-08 13:03:07 +11:00
Andrew Tridgell
81c0b01585
s4-secdesc: fixed the sec_descriptor.py test
...
The test was using a "changetype: add" to try and add a member to a
group, where it should use a "changetype: modify" with a "add: member"
Also fixed the recovery when the test fails part way through (delete
the test users at the start as well as the end)
Nadya, please check!
2010-01-08 13:03:07 +11:00
Matthias Dieter Wallnöfer
bbf9885013
s4:ldap_schema.py - add an additional check for validity of "defaultObjectCategory"
2010-01-05 20:55:45 +01:00
Matthias Dieter Wallnöfer
d8ca002a8c
s4:ldap_schema.py - Move generated attributes check
...
Make more clear that they're created before the "schemaUpdateNow".
2010-01-05 20:55:32 +01:00
Andrew Tridgell
1c5a268f34
s4-ldaptest: need to use MessageElement for modify messages
...
Without MessageElement() the flags are not set, which is invalid
2010-01-02 08:16:56 +11:00
Andrew Tridgell
98d94cca6f
s4-ldbtest: fixed message element in modify
...
a flags value of zero is not valid
2010-01-02 08:16:55 +11:00
Jelmer Vernooij
ea5af6e30c
pyldb: Add dom_sid.split in favor of less powerful dom_sid_to_rid().
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-31 17:33:30 +11:00
Kamen Mazdrashki
ee48f583b5
s4-tort: Tests for "msDS-IntId" attribute implemented
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-21 23:44:13 +11:00
Kamen Mazdrashki
c113be8526
s4-tort: Move Schema tests from ldap.py into separate module
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-21 23:44:05 +11:00
Brendan Powers
7cb858e151
s4-dsdb: Add a test for adding, deleting, and appending a posixAccount objectClass to a user
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-12-18 14:27:44 +11:00
Nadezhda Ivanova
c0883fb451
Fixed incorrect checking of PRINCIPAL_SELF permissions.
...
If an ace has the PRINCIPAL_SELF as trustee, this sid has to be replaced with
the onjectSid of the object being checked. PRINCIPAL_SELF is the way to grant rights
to an account over itself.
2009-12-17 17:25:11 +02:00