Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | 1 | -9/+9 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-12-21 | s4-tort: Move Schema tests from ldap.py into separate module | Kamen Mazdrashki | 1 | -133/+0 | |
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-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-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 | 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-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-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 | |||||
2009-10-03 | s4:ldap.py - commented out the UTF8 tests (and fixed some deletion DNs) | Matthias Dieter Wallnöfer | 1 | -10/+12 | |
2009-10-03 | s4:ldap.py - add tests for valid parent and RDN | Matthias Dieter Wallnöfer | 1 | -0/+39 | |
2009-10-03 | s4:ldap.py - add a test for the "systemOnly" classes | Matthias Dieter Wallnöfer | 1 | -1/+16 | |
2009-10-02 | s4:ldap.py - add a very special rename test (with invalid - empty RDN) | Matthias Dieter Wallnöfer | 1 | -9/+23 | |
2009-10-02 | s4:ldap.py - major enhancements | Matthias Dieter Wallnöfer | 1 | -102/+187 | |
- Clean up and reorder it a bit - Test which adds invalid attributes - Test which makes sure that the 'distinguishedName' attribute cannot be modified - Test which makes sure that we cannot change the RDN/'name' attribute through a modify request | |||||
2009-09-08 | Mark test_security_descriptor_add_neg as known failing (for now). | Jelmer Vernooij | 1 | -1/+1 | |
2009-09-08 | Basic tests for nTSceurityDescriptor both SDDL and BASE64 format | Zahari Zahariev | 1 | -2/+194 | |
These are updated second eddition unittests using ldb.add_ldif() and ldb.modify_ldif(). Unittests are found to work when using the right local domain SID. Negative test separated. Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-09-07 | s4:ldap.py - Adds a test for the primary group behaviour | Matthias Dieter Wallnöfer | 1 | -12/+132 | |
This passes the Windows Server behaviour. Also SAMBA 4 should match it. Also some small enhancement. | |||||
2009-08-17 | fixed the updateNow schema test to use a canonical OID | Andrew Tridgell | 1 | -1/+2 | |
The expression time.strftime("%s", time.gmtime())[3:] leads to a string with a leading 0. When added then read back from the prefix map this leads to a different string, so it is never found. Use the simpler str(random.randint(a,b)) expression instead | |||||
2009-08-14 | s4: Better way to call "dom_sid_to_rid" from ldap.py | Matthias Dieter Wallnöfer | 1 | -4/+2 | |
2009-08-11 | s4:test for "primaryGroupToken" | Matthias Dieter Wallnöfer | 1 | -10/+58 | |
Tests for the right behaviour of this introduced constructed attribute. Since we don't support the read-only-ness of those attributes yet, I commented some lines out. Also I had to add a function for python which converts domain SIDs in RIDs. And a small fix for the "groupType" test. | |||||
2009-07-08 | Test for schemaUpdateNow command | Anatoliy Atanasov | 1 | -54/+126 | |
2009-06-19 | s4:ldb Add test for integer normalisation behaviour | Andrew Bartlett | 1 | -0/+17 | |
This uses groupType as the example, but this actually applies to all integer types in AD. Andrew Bartlett | |||||
2009-04-14 | s4:ldb Make it possible to re-run ldap.py again | Andrew Bartlett | 1 | -2/+6 | |
The parentGUID test didn't clean up after itself correctly. Andrew Bartlett | |||||
2009-03-17 | added support for parentGUID | Andrew Tridgell | 1 | -0/+30 | |
This is made up of 4 parts: 1) change our schema to include the parentGUID attribute type 2) in the add hook in the objectclass module, get the objectGUID of the parent and add it to the message as parentGUID 3) in the rename hook in the objectclass module, get the objectGUID of the new parent, and insert an async modify request after the renmam is done 4) added a simple test suite | |||||
2009-01-08 | Fix ldap.py test on systems that *can* find the record (the search fails ↵ | Jelmer Vernooij | 1 | -1/+1 | |
here locally). | |||||
2009-01-07 | Fix ldap.py test. | Jelmer Vernooij | 1 | -8/+8 | |
2009-01-07 | Use new error constant (missing from 6efb7ff9) | Andrew Bartlett | 1 | -1/+1 | |
2008-12-21 | Fix various Python-related bugs. | Jelmer Vernooij | 1 | -57/+57 | |
2008-12-19 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 1 | -27/+60 | |
2008-12-19 | Avoid use of parentheses in Python import statements, as it's not supported ↵ | Jelmer Vernooij | 1 | -4/+4 | |
by Python2.3. | |||||
2008-12-17 | s4:ldb: add some python tests for extended dns | Andrew Bartlett | 1 | -27/+60 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2008-10-16 | Assert that the server provides allowedAttributes (etc) on each entry | Andrew Bartlett | 1 | -2/+6 | |
This attribute is critical for the operation of nearly all the Microsoft Mangement Console tools Andrew Bartlett | |||||
2008-10-08 | Fix subunit files location after cherrypicks. | Jelmer Vernooij | 1 | -0/+1 | |
2008-09-24 | Fix python test, we can't check only the first member, because the order | Simo Sorce | 1 | -1/+4 | |
is not guaranteed | |||||
2008-08-22 | disable the anr== tests until they are understood | Andrew Tridgell | 1 | -12/+13 | |
(This used to be commit 6028404a9a9db64d4025ef6e685ee13c4aadca2e) | |||||
2008-08-21 | Correct anr search commants and error messages in ldap.js | Andrew Bartlett | 1 | -7/+7 | |
(This used to be commit 233dd885c2a2b4ee7cc2287efe7d6e03625d4981) |