summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests/python/ldap.py
AgeCommit message (Collapse)AuthorFilesLines
2010-06-11s4:ldap.py - check how the directory server behaves when the ↵Matthias Dieter Wallnöfer1-2/+12
'distinguishedName' attribute wasn't set correctly (On add operations the server does completely ignore it and uses the "header" DN)
2010-06-11s4:ldap.py - check if the "name" of an entry was really ignoredMatthias Dieter Wallnöfer1-2/+7
2010-06-10s4:ldap.py - add testcase which demonstrates the reset of the "primaryGroupID"Matthias Dieter Wallnöfer1-0/+7
2010-06-10s4:ldap.py - add a test to demonstrate the 'instanceType' behaviourMatthias Dieter Wallnöfer1-0/+39
2010-06-07s4:ldap.py - add some "objectclass" behaviour testsMatthias Dieter Wallnöfer1-0/+190
2010-06-07s4:ldap.py - enhance the attributes testcase to demonstrate how the ↵Matthias Dieter Wallnöfer1-2/+75
attributes are checked against the schema and the specified objectclasses This demonstrates the bew "objectclass_attrs" LDB module behaviour.
2010-06-07s4:ldap.py - enhance the rename tests to demonstrate the functionalityMatthias Dieter Wallnöfer1-0/+37
2010-06-06s4:ldap.py - enhance the RDN name test to show that invalid "name" ↵Matthias Dieter Wallnöfer1-1/+3
attributes are allowed on add operations
2010-06-06s4:ldap.py - make sure that also the "posixuser" will be deleted on test ↵Matthias Dieter Wallnöfer1-0/+1
breakages
2010-05-30s4:ldap.py - add a test which shows the modification behaviour of important ↵Matthias Dieter Wallnöfer1-0/+104
attributes This shows how important attributes of SAM objects do behave when you launch add and delete modify requests on them.
2010-05-30s4:ldap.py - add more test cases to show invalid primary group change behaviourMatthias Dieter Wallnöfer1-0/+23
2010-04-04s4-python: Move dsdb constants to a separate python module.Jelmer Vernooij1-4/+3
2010-03-29ldap.py: Fix syntax error.Jelmer Vernooij1-1/+1
2010-03-29s4-python: Format to PEP8, simplify tests.Jelmer Vernooij1-20/+21
2010-03-25python: use '#!/usr/bin/env python' to cope with varying install locationsAndrew Tridgell1-1/+1
this should be much more portable
2010-03-04s4:ldap.py - give the "primaryGroupToken" test a better nameMatthias Dieter Wallnöfer1-3/+3
It tests also some other constructed attributes in a basic way.
2010-03-04s4:ldap.py - add test for "tokenGroups"Matthias Dieter Wallnöfer1-0/+44
2010-01-17ldap: Fix test failure that seemed to go unreported previously.Jelmer Vernooij1-2/+1
2010-01-17ldap.py: Remove unused imports.Jelmer Vernooij1-18/+4
2010-01-16Import testtools as well, required for subunit.Jelmer Vernooij1-2/+1
2010-01-02s4-ldaptest: need to use MessageElement for modify messagesAndrew Tridgell1-2/+4
Without MessageElement() the flags are not set, which is invalid
2010-01-02s4-ldbtest: fixed message element in modifyAndrew Tridgell1-1/+2
a flags value of zero is not valid
2009-12-31pyldb: Add dom_sid.split in favor of less powerful dom_sid_to_rid().Jelmer Vernooij1-9/+9
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-21s4-tort: Move Schema tests from ldap.py into separate moduleKamen Mazdrashki1-133/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-18s4-dsdb: Add a test for adding, deleting, and appending a posixAccount ↵Brendan Powers1-0/+30
objectClass to a user Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-12-07s4:ldap.py Improve testsuite for primaryGroupToken behaviourAndrew Bartlett1-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-01s4:ldap.py Add test of namingContext behaviour after tridge found a bugAndrew Bartlett1-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-30s4-drs: Test situations for runtime constructed parentGUIDFernando J V da Silva1-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-27s4-ldb: improve detection of whether the server has a GC portAndrew Tridgell1-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-26s4:ldap.py - add a test for the enhanced operational attributes checkMatthias Dieter Wallnöfer1-0/+11
(Deny creation of entries with operational attributes specified)
2009-11-24s4:ldap.py - fix the schema update test on Windows ServerMatthias Dieter Wallnöfer1-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-24s4:ldap.py - activate test for operational attributesMatthias Dieter Wallnöfer1-8/+8
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-24s4:ldap.py Add tests for subSchemaSubEntryAndrew Bartlett1-0/+12
2009-11-23s4:ldap.py - Add a check for the generated "schemaIDGUID"Matthias Dieter Wallnöfer1-0/+2
I've forgotten to add this when checking in the reworked SAMLDB module
2009-11-20s4-ldb: added a double-rename testAndrew Tridgell1-0/+24
This tests the fix for double rename/add and indexing
2009-11-20s4-ldb: allow ldap.py test suite to run directly against a fileAndrew Tridgell1-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-15s4:ldap.py - enhance schema addition testMatthias Dieter Wallnöfer1-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-15s4:ldap.py - Deactivates some at the moment pointless test partsMatthias Dieter Wallnöfer1-6/+6
I think those parts should be deactivated since they're result set checks for lookups which are commented out already.
2009-11-12s4:ldb Add Well Known GUID (WKGUID) tests to ldap.pyAndrew Bartlett1-0/+17
2009-11-09s4-samdb: remove the rDN size constraint of 64Andrew Tridgell1-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-15s4-ldaptest: "testgroup" is a bit too commonAndrew Tridgell1-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-15s4-ldap: test the rDN size limitAndrew Tridgell1-0/+25
2009-10-08s4:ldap.py - Further enhancementsMatthias Dieter Wallnöfer1-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-03s4:ldap.py - commented out the UTF8 tests (and fixed some deletion DNs)Matthias Dieter Wallnöfer1-10/+12
2009-10-03s4:ldap.py - add tests for valid parent and RDNMatthias Dieter Wallnöfer1-0/+39
2009-10-03s4:ldap.py - add a test for the "systemOnly" classesMatthias Dieter Wallnöfer1-1/+16
2009-10-02s4:ldap.py - add a very special rename test (with invalid - empty RDN)Matthias Dieter Wallnöfer1-9/+23
2009-10-02s4:ldap.py - major enhancementsMatthias Dieter Wallnöfer1-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-08Mark test_security_descriptor_add_neg as known failing (for now).Jelmer Vernooij1-1/+1
2009-09-08Basic tests for nTSceurityDescriptor both SDDL and BASE64 formatZahari Zahariev1-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>