summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests
AgeCommit message (Collapse)AuthorFilesLines
2009-06-17pyldb/tests: Use different dn's everywhere, to easily spot which test isJelmer Vernooij1-49/+49
breaking in gdb.
2009-06-17pyldb: Support getting the parent of special DNs without segfaulting.Jelmer Vernooij1-0/+11
Found by: Андрей Григорьев <andrew@ei-grad.ru>
2009-04-14s4:ldb Make it possible to re-run ldap.py againAndrew Bartlett1-2/+6
The parentGUID test didn't clean up after itself correctly. Andrew Bartlett
2009-03-20Adapt Zahari's test to the generic LDB Python tests.Jelmer Vernooij1-0/+13
2009-03-17added support for parentGUIDAndrew Tridgell1-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-02-03s4:lib/ldb: call ldb utils always via $VALGRIND ldbfoo$EXEEXT in the testsStefan Metzmacher4-56/+56
metze
2009-01-30Fix the mess with ldb includes.Simo Sorce1-3/+1
Separate again the public from the private headers. Add a new header specific for modules. Also add service function for modules as now ldb_context and ldb_module are opaque structures for them.
2009-01-08Fix ldap.py test on systems that *can* find the record (the search fails ↵Jelmer Vernooij1-1/+1
here locally).
2009-01-07Fix ldap.py test.Jelmer Vernooij1-8/+8
2009-01-07Use new error constant (missing from 6efb7ff9)Andrew Bartlett1-1/+1
2008-12-21Fix various Python-related bugs.Jelmer Vernooij1-57/+57
2008-12-21Fix more introduced regressions in new bindings.Jelmer Vernooij1-33/+32
2008-12-20Fix all pyldb tests except for modules.Jelmer Vernooij1-6/+13
2008-12-19Merge branch 'pyregistry' of git://git.samba.org/jelmer/sambaJelmer Vernooij1-2/+2
Conflicts: source4/lib/ldb/ldb_wrap.c
2008-12-19Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij1-27/+60
2008-12-19Avoid use of parentheses in Python import statements, as it's not supported ↵Jelmer Vernooij1-4/+4
by Python2.3.
2008-12-19Fix more tests.Jelmer Vernooij1-1/+2
2008-12-19Remove swig support from standalone ldb build.Jelmer Vernooij1-1/+0
2008-12-17s4:ldb: add some python tests for extended dnsAndrew Bartlett1-27/+60
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-10-16Assert that the server provides allowedAttributes (etc) on each entryAndrew Bartlett1-2/+6
This attribute is critical for the operation of nearly all the Microsoft Mangement Console tools Andrew Bartlett
2008-10-08Fix subunit files location after cherrypicks.Jelmer Vernooij1-0/+1
2008-09-24Fix python test, we can't check only the first member, because the orderSimo Sorce1-1/+4
is not guaranteed
2008-09-20Don't expose ldb_request in the Python API but rather use regularJelmer Vernooij1-3/+8
parameters.
2008-09-19Add support for implementing LDB modules in Python.Jelmer Vernooij1-4/+27
2008-09-12Fix spellings and file namesSimo Sorce2-32/+32
(This used to be commit baddefd0a6fa430af1a3001064149127e0d29361)
2008-08-22disable the anr== tests until they are understoodAndrew Tridgell1-12/+13
(This used to be commit 6028404a9a9db64d4025ef6e685ee13c4aadca2e)
2008-08-21Correct anr search commants and error messages in ldap.jsAndrew Bartlett1-7/+7
(This used to be commit 233dd885c2a2b4ee7cc2287efe7d6e03625d4981)
2008-08-18Remove references to the unused @SUBCLASS feature.Andrew Bartlett2-13/+0
This was removed from ldb_tdb a while ago Andrew Bartlett (This used to be commit fcb87e77860b449ac3483ccec5e6b5ed087540f2)
2008-08-15Generate the subSchema in cn=AggregateAndrew Bartlett1-0/+30
This reads the schema from the in-memory structure, when the magic attributes are requested. The code is a modified version of that used in the ad2oLschema tool (now shared). The schema_fsmo module handles the insertion of the generated result. As such, this commit also removes these entries from the setup/schema.ldif Metze's previous stub of this functionality is also removed. Andrew Bartlett (This used to be commit c7c32ec7b42bdf0f7b669644516438c71b364e60)
2008-07-21Sleep longer in the hope that the OpenLDAP backend might catch upAndrew Bartlett1-2/+2
(This used to be commit 63c80c885dc3fb2228f082be8db752bb29e3962e)
2008-07-16Another kludge to let the OpenLDAP backend catch up.Andrew Bartlett1-0/+2
This will go away when this is handled in an internal transation. Andrew Bartlett (This used to be commit f567e17758cfe937249beafae0a9087b67b27755)
2008-06-30Relax the ldap.py tests so that they pass against OpenLDAP CVS.Andrew Bartlett1-3/+6
This requires a patched OpenLDAP checked out from their CVS HEAD. I hope to see the patches incorporated soon. Andrew Bartlett (This used to be commit 963bcfc777679ba122189ea6cf7f94b8d46cdce7)
2008-06-30Loosen ldap.py tests on the LDAP backend.Andrew Bartlett1-1/+1
Allow LDAP backend to return parts of the DN in a different case, when verifying memberOf. Andrew Bartlett (This used to be commit daddfae9fd8b7375bd4f469808378edc60a55be0)
2008-06-28Non-zero exit code on failure.Jelmer Vernooij1-3/+6
(This used to be commit 9c220c0dce31fbe4b2f6433f40a52162d21c03f7)
2008-06-03Align the Python and EJS ldap tests.Andrew Bartlett1-45/+151
We should now (need to review and compare them once more) be able to remove ldap.js (and once samba3sam.js is done, smbscript). Andrew Bartlett (This used to be commit f65e43e9456e8e951d172779cba53ab417114b20)
2008-05-21Move more modules inside of the samba package.Jelmer Vernooij1-2/+2
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
2008-05-19Add __repr__ implementation for Ldb.Jelmer Vernooij1-0/+4
(This used to be commit 5607aea07f66f09fd5b33842d07d2fbbf44d13e7)
2008-05-19Add __repr__ implementations for ldb.Message, ldb.MessageElement and ldb.Dn.Jelmer Vernooij1-1/+37
(This used to be commit b9119c0f0f524d43ff09825dffb24a5e77a240f4)
2008-05-11Use system python rather than smbpython.Jelmer Vernooij1-0/+2
(This used to be commit d3df51cd01e53383dcc05923d248db03bc6f62e9)
2008-03-28Fix and test python scripts and kerberosAndrew Bartlett1-1/+1
This fixes up the python credentials interface in a number of areas, with the aim of supporting '-k yes' as a command line option. (This enables the use of kerberos). As such, I've had to change the get_credentials call to take a loadparm context, so that the credentials can be initialised correctly. The test_kinit script has been modified to prove that this continues to work, as well as to provide greater code coverage of the kerberos paths. Andrew Bartlett (This used to be commit 727ef40c2b56910028ef3c1092b8eab1bfa6ce63)
2008-03-18ldb: fix the standalone buildStefan Metzmacher2-2/+2
metze (This used to be commit 91b49365abed6f67e2b3c18b0090b4e6ff1df935)
2008-03-07accountExpires: Windows default is 9223372036854775807, not -1.Andrew Kroeger1-1/+1
(This used to be commit be47cc7fdfa3cae0508e564f38b793aa27b6eb92)
2008-02-20Fix use of some modules (needed _PUBLIC_).Jelmer Vernooij1-1/+1
(This used to be commit ce332130ea77159832da23bab760fa26921719e2)
2008-02-20Allow ldb backends without init function, use init function-less ldb modules.Jelmer Vernooij1-7/+2
(This used to be commit 141ee91272fb4dafca0149f679e17721b6a3011e)
2008-02-12Avoid using setup.py for intsallation.Jelmer Vernooij1-0/+3
(This used to be commit 7b93e43dad55454e9107a38e67764e08f51392d3)
2008-02-09Fix tests.Jelmer Vernooij1-35/+24
(This used to be commit e4d7cd8ba77aa05c11dad457c3f2c2c6252c5966)
2008-02-09Split up tests a bit, output subunit.Jelmer Vernooij1-753/+721
(This used to be commit 501259ff31641bf52e337b597881d1fedc6b2a63)
2008-02-09Remove unused path update.Jelmer Vernooij1-2/+0
(This used to be commit 1868a42108012183aa78fe5d4f524d45f4505a3e)
2008-02-08Fix syntax in LDAP testAndrew Bartlett1-4/+4
We don't get this far in the test at the moment however. Andrew Bartlett (This used to be commit c3098d5c52505e143a6ce498273a5ce6a66220b0)
2008-01-23python: Add convenience function for getting command line loadparm contextJelmer Vernooij1-4/+3
and default to using system smb.conf. (This used to be commit b3afde0f00ab5093b577b139a062c233d4db2524)