Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-09 | Fixed a bug in acl tests - python error when we create user/group/ou with a ↵ | Nadezhda Ivanova | 1 | -23/+23 | |
descriptor. | |||||
2010-03-09 | Added a check for permissions to modify the RDN attribute on rename. | Nadezhda Ivanova | 1 | -0/+32 | |
Necessary because rdn module will be moved lower than acl in the stack. | |||||
2010-03-04 | s4:ldap.py - give the "primaryGroupToken" test a better name | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
It tests also some other constructed attributes in a basic way. | |||||
2010-03-04 | s4:ldap.py - add test for "tokenGroups" | Matthias Dieter Wallnöfer | 1 | -0/+44 | |
2010-03-04 | Refactored ACL python tests | Nadezhda Ivanova | 1 | -441/+256 | |
Made each type into a separate class to be easily run individually, removed code duplication | |||||
2010-02-15 | s4-ldb: fixed permissions on urgent_replication.py | Andrew Tridgell | 1 | -0/+0 | |
2010-02-15 | s4-test: minor fixes to urgent_replication.py | Andrew Tridgell | 1 | -27/+4 | |
- fix usage name - remove unnecessary python functions - remote unused gc ldb | |||||
2010-02-15 | s4-drs: Test situations for Urgent Replication | Fernando J V da Silva | 1 | -0/+414 | |
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-01-28 | s4-ldbtest: fixed python import | Andrew Tridgell | 1 | -2/+2 | |
2010-01-28 | s4-drs: implementation of some delete test cases | Eduardo Lima | 1 | -0/+200 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-01-17 | ldap: Fix test failure that seemed to go unreported previously. | Jelmer Vernooij | 1 | -2/+1 | |
2010-01-17 | ldap.py: Remove unused imports. | Jelmer Vernooij | 1 | -18/+4 | |
2010-01-16 | Import testtools as well, required for subunit. | Jelmer Vernooij | 4 | -8/+4 | |
2010-01-13 | s4:ldb/tests: do a "schemaUpdateNow" after creating a new attribute in ↵ | Stefan Metzmacher | 1 | -0/+10 | |
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-08 | s4-acl: fixed acl.py test to use correct ldif | Andrew Tridgell | 1 | -1/+2 | |
same problem as sec_descriptor.py | |||||
2010-01-08 | s4-secdesc: fixed the sec_descriptor.py test | Andrew Tridgell | 1 | -42/+74 | |
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-05 | s4:ldap_schema.py - add an additional check for validity of ↵ | Matthias Dieter Wallnöfer | 1 | -0/+25 | |
"defaultObjectCategory" | |||||
2010-01-05 | s4:ldap_schema.py - Move generated attributes check | Matthias Dieter Wallnöfer | 1 | -15/+15 | |
Make more clear that they're created before the "schemaUpdateNow". | |||||
2010-01-02 | s4-ldaptest: need to use MessageElement for modify messages | Andrew Tridgell | 1 | -2/+4 | |
Without MessageElement() the flags are not set, which is invalid | |||||
2010-01-02 | s4-ldbtest: fixed message element in modify | Andrew Tridgell | 1 | -1/+2 | |
a flags value of zero is not valid | |||||
2009-12-31 | pyldb: Add dom_sid.split in favor of less powerful dom_sid_to_rid(). | Jelmer Vernooij | 2 | -10/+10 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-12-23 | s4: tests controls parsing and using for ldbadd/ldbedit/ldbmodify | Matthieu Patou | 3 | -1/+77 | |
2009-12-21 | s4-tort: Tests for "msDS-IntId" attribute implemented | Kamen Mazdrashki | 1 | -2/+281 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-12-21 | s4-tort: Move Schema tests from ldap.py into separate module | Kamen Mazdrashki | 2 | -133/+221 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-12-18 | s4-dsdb: Add a test for adding, deleting, and appending a posixAccount ↵ | Brendan Powers | 1 | -0/+30 | |
objectClass to a user Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-17 | Fixed incorrect checking of PRINCIPAL_SELF permissions. | Nadezhda Ivanova | 1 | -2/+41 | |
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-10 | Implementation of sDRightsEffective, allowedAttributesEffective and ↵ | Nadezhda Ivanova | 1 | -1/+126 | |
allowedChildClassesEffective. Behavior as documented in WSPP and tested. Needs optimisation though. | |||||
2009-12-07 | s4:ldap.py Improve testsuite for primaryGroupToken behaviour | Andrew Bartlett | 1 | -0/+22 | |
This tries to show that the domain object should not have a primaryGroupToken, for example. (This passes against the old and new code, as the failure case requires an object with an objectSid, and exactly one group in it's subtree. Sadly I don't know of a valid structure that I can construct to test this). Andrew Bartlett | |||||
2009-12-01 | s4:ldap.py Add test of namingContext behaviour after tridge found a bug | Andrew Bartlett | 1 | -0/+15 | |
Tridge found that the partitions.c module was being initialised twice, and setting the partitions into the rootDSE twice. Andrew Bartlett | |||||
2009-11-30 | s4-drs: Test situations for runtime constructed parentGUID | Fernando J V da Silva | 1 | -1/+24 | |
Includes the following verifications for the constructed parentGUID: - Checks if it returns nothing when there is no parent object - Ensures that attributes mentioned after the parentGUID are returned correctly (this avoid a bug pointed out by Tridge during sync constructed parentGUID development) Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-11-27 | s4-ldb: improve detection of whether the server has a GC port | Andrew Tridgell | 1 | -5/+9 | |
We were trying to open $SERVER:3268 regardless, which could result in creating a file called "localdc1:3268", which led to subsequent test failures | |||||
2009-11-26 | s4:ldap.py - add a test for the enhanced operational attributes check | Matthias Dieter Wallnöfer | 1 | -0/+11 | |
(Deny creation of entries with operational attributes specified) | |||||
2009-11-24 | s4:ldap.py - fix the schema update test on Windows Server | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
Apparently Windows Server (2003) doesn't like the comma delimiter here. I got always error 16 ("LDB_NO_SUCH_ATTRIBUTE"). With this change the test works again. | |||||
2009-11-24 | s4:ldap.py - activate test for operational attributes | Matthias Dieter Wallnöfer | 1 | -8/+8 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2009-11-24 | s4:ldap.py Add tests for subSchemaSubEntry | Andrew Bartlett | 1 | -0/+12 | |
2009-11-23 | s4:ldap.py - Add a check for the generated "schemaIDGUID" | Matthias Dieter Wallnöfer | 1 | -0/+2 | |
I've forgotten to add this when checking in the reworked SAMLDB module | |||||
2009-11-21 | Implemented LDAP_SERVER_SD_FLAGS_OID on search requests. | Nadezhda Ivanova | 1 | -4/+60 | |
2009-11-20 | Implementation of LDAP_SERVER_SD_FLAGS_OID on modify requests. | Nadezhda Ivanova | 1 | -5/+107 | |
2009-11-20 | s4-ldb: added a double-rename test | Andrew Tridgell | 1 | -0/+24 | |
This tests the fix for double rename/add and indexing | |||||
2009-11-20 | s4-ldb: allow ldap.py test suite to run directly against a file | Andrew Tridgell | 1 | -1/+5 | |
This makes it much easier to debug (as you can break in the ldb modules by running gdb on /usr/bin/python) | |||||
2009-11-15 | Added tests for descriptor inheritance on ldap modify. | Zahari Zahariev | 1 | -121/+207 | |
Fixed some expected owners and groups. Signed-off-by: Nadezhda Ivanova <nadezhda.ivanova@postpath.com> | |||||
2009-11-15 | s4:ldap.py - enhance schema addition test | Matthias Dieter Wallnöfer | 1 | -12/+40 | |
Don't add only a new objectclass but also a new attribute. Plus let now the server itself calculate the "lDAPDisplayName" attribute and compare the result. | |||||
2009-11-15 | s4:ldap.py - Deactivates some at the moment pointless test parts | Matthias Dieter Wallnöfer | 1 | -6/+6 | |
I think those parts should be deactivated since they're result set checks for lookups which are commented out already. | |||||
2009-11-12 | s4:ldb Add Well Known GUID (WKGUID) tests to ldap.py | Andrew Bartlett | 1 | -0/+17 | |
2009-11-10 | Fixes for some tests not eorking against Windows or Samba. | Nadezhda Ivanova | 1 | -12/+8 | |
2009-11-09 | s4-samdb: remove the rDN size constraint of 64 | Andrew Tridgell | 1 | -1/+4 | |
This size constraint is not correct in it's current form, as windows does send us rDN values for CN with lengths longer than 64. Once we know how this constraint really works we can add it back in. | |||||
2009-11-05 | Python tests for the acl module. | Zahari Zahariev | 1 | -0/+1104 | |
Signed-off-by: Nadezhda Ivanova <nadezhda.ivanova@postpath.com> Author: Zahari Zahariev <zahari.zahariev@postpath.com> | |||||
2009-10-15 | s4-ldaptest: "testgroup" is a bit too common | Andrew Tridgell | 1 | -2/+2 | |
This failed on one of my test boxes that has a group called "testgroup". using "testgroupXX" should be a bit better. | |||||
2009-10-15 | s4-ldap: test the rDN size limit | Andrew Tridgell | 1 | -0/+25 | |
2009-10-08 | s4:ldap.py - Further enhancements | Matthias Dieter Wallnöfer | 1 | -6/+236 | |
- Enhance test for "distinguishedName" - Add a test for single-valued attributes - Add a test for multi-valued attributes - Add a test for empty messages - Add a test for empty attributes |