summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-01-15ldap.py: Use constants where possible.Jelmer Vernooij1-14/+16
(This used to be commit 0885dc9f813e19cd6c28d8259eaeccf1e9b26210)
2008-01-11ldap/python: Fix last tests.Jelmer Vernooij1-60/+53
(This used to be commit 874c00b1c1ef011c85226135144fafdc97d91116)
2008-01-11ldb/python: Support comparing Dn's to strings.Jelmer Vernooij1-0/+4
(This used to be commit 355878907970b396e4031426fda260d981c417eb)
2008-01-11python/ldap: Fix a couple more tests.Jelmer Vernooij1-18/+18
(This used to be commit 3a0d14f33532d88ace770d037c50375fe822dbb6)
2008-01-11Make a few more tests pass.Jelmer Vernooij1-129/+115
(This used to be commit 017aa400c7097cf6132f2bec969b9bbb5237f4d8)
2008-01-11python/ldap: Get further.Jelmer Vernooij1-2/+4
(This used to be commit 0c27eabbc40657493dc72f12b4fbdb07b0a3200f)
2008-01-11python/ldap: Fix some tests.Jelmer Vernooij1-9/+15
(This used to be commit 52f64afd4324eb185303ca192b88ccb632ee8587)
2008-01-11python: More work getting the LDAP test to compile again.Jelmer Vernooij1-36/+23
(This used to be commit d7a3f9612c40000cb265279598c09f6983305656)
2008-01-11python: Specify right arguments for the ldap test, fix some more calls.Jelmer Vernooij1-37/+30
(This used to be commit 74209fa6b097c6cd3c919dc6a67d998de12fa575)
2008-01-11ldap/python: Fix some more calls.Jelmer Vernooij1-74/+47
(This used to be commit 583881ae5a2a173abad9ba1ffd766b009d9ca8cd)
2008-01-11python/ldap: Support controls argument to ldb.search().Jelmer Vernooij1-9/+13
(This used to be commit 9eddc27f13fa2feb56d6b015e66d8c54081487da)
2008-01-11python/ldap: Wrap parse_control_strings().Jelmer Vernooij1-0/+5
(This used to be commit b27e5a68530c4fd6430cbb174b63f8ff2b6f4e53)
2008-01-11ldb/python: Allow comparing a MessageElement to a list or a singleton.Jelmer Vernooij1-0/+6
(This used to be commit 1ccbab81d79f83bb419104f2bbaf2ae7b368e90f)
2008-01-11ldb/python: Implement __len__ for MessageElement.Jelmer Vernooij1-0/+4
(This used to be commit a8f90ed34ce9341080b63c801ef54b82de42b8e6)
2008-01-11python/ldb: Add __getitem__ implementation for LdbMessageElement.Jelmer Vernooij1-0/+6
(This used to be commit e6498a0780dd31dfc623a69432004b606aeaccbe)
2007-12-28r26623: python: Allow specifying URL rather than host name on the command-line.Jelmer Vernooij1-2/+4
(This used to be commit 108f6caffe2bb311495b89659cfd818f0ec410f2)
2007-12-27r26617: Load smb.conf.Jelmer Vernooij1-2/+8
(This used to be commit 3f7bfef195421083f1401a73f60c5d270a1455f8)
2007-12-27r26615: Fix Python syntaxJelmer Vernooij1-1161/+772
(This used to be commit cc15136c1e29f0a25847568f748cc1af52b7037b)
2007-12-24r26570: - Trim size of the swig-generated Python bindings by removing a ↵Jelmer Vernooij2-0/+1372
bunch of {}'s. - Start working on Python equivalents for various EJS tests. - Fix regression in argument order for reg_diff_apply() in EJS bindings. (This used to be commit c550c03372cb260b78f6a6c132e70571bc4cb852)
2007-12-24r26567: Allow registering new ldb modules from python.Jelmer Vernooij1-0/+8
(This used to be commit 485db76d8476fce399a9b6cb977cf55ea35ec189)
2007-12-21r26537: Support ldb.add({'dn': 'dc=foo,bar=bla', ...}).Jelmer Vernooij1-0/+10
(This used to be commit e91fe76d296973430f71502c9b614d0dfac4d83c)
2007-12-21r26480: Add utility class for testing LDB code.Jelmer Vernooij1-1/+4
(This used to be commit d7f0b12c9e43b93705f6b9fa6b5ab74fe68e80a0)
2007-12-21r26068: Import improved Python bindings for LDB, including tests.Jelmer Vernooij1-0/+353
(This used to be commit fc3a8caef749ddac56a4f035dde8b6ceeaa95c48)
2007-12-21r25842: Start working on test for loading dso's in ldb.Jelmer Vernooij2-0/+75
(This used to be commit d41ed7ca8d3954bf586126edd7aba17acc6af8a1)
2007-10-10r25218: After discussion with Simo, remove the subclass support from LDB.Andrew Bartlett2-22/+0
Subclass support was designed to avoid needing to spell out the full list of objectClasses that an entry was in. However, Samba4 now enforces this restriction in the objectClass module, and the way subclass matching was handled was complex and counter-intuitive in my opinion (and did not match LDAP). Andrew Bartlett (This used to be commit f5ce04b904e14445a2a7e7f92e7e1f64b645c6f2)
2007-10-10r20464: Make it clear what does the process group stuffAndrew Bartlett1-1/+1
(This used to be commit 27750e0b5f118b76c199f87cbf92ee951c3e7db7)
2007-10-10r20106: Optional ONE Level indexing for ldb_tdbSimo Sorce1-0/+51
To activate it you must modify the @INDEXLIST object adding the attribute @IDXONE: 1 Ldb test included Simo. (This used to be commit ea111795f4016916473ccc05d23c6655e6af1207)
2007-10-10r19831: Big ldb_dn optimization and interfaces enhancement patchSimo Sorce1-1/+1
This patch changes a lot of the code in ldb_dn.c, and also removes and add a number of manipulation functions around. The aim is to avoid validating a dn if not necessary as the validation code is necessarily slow. This is mainly to speed up internal operations where input is not user generated and so we can assume the DNs need no validation. The code is designed to keep the data as a string if possible. The code is not yet 100% perfect, but pass all the tests so far. A memleak is certainly present, I'll work on that next. Simo. (This used to be commit a580c871d3784602a9cce32d33419e63c8236e63)
2007-10-10r19461: Make sqlite3 work again (semi-async)Simo Sorce1-6/+9
Still not all tests pass (This used to be commit cbfc7305ad594c672a16a7f6f82758d17eb5ba62)
2007-10-10r19273: - fixed error handling with the ldap backendAndrew Tridgell3-9/+20
- propogate errors to the ldbadd command line tool - use the rdn_name module when testing the tdb backend to allow the same test code to correctly test the ldap and non-ldap backends (This used to be commit dd82c474a123d90329bda653a4cb73c93e087b15)
2007-10-10r18538: we need a pipe here, not a logical ORAndrew Tridgell1-1/+2
also fix cn name for this record, and ensure tests/tmp is created (This used to be commit 588c91f06b90467279600fe6a1222273b5d53915)
2007-10-10r18536: fixed the loading of external binary files from ldif into ldbAndrew Tridgell1-3/+6
(This used to be commit fbe13ed83e2f3508db6d77f4bd65a913ef12ff02)
2007-10-10r18535: move the AC_CANONICAL_HOST and host specific flag tests intoAndrew Tridgell2-4/+6
libreplace. This should fix the standalone build of tdb on HPUX, where we need to blacklist mmap. Unfortunately this requires that we have a copy of config.guess and config.sub in each of our project subdirectories. I tried to find a way to use something like AC_CONFIG_AUX_DIR($libreplacedir) and just put config.{guess,sub} in the lib/replace/ directory, but I couldn't figure out how to do that in a way that kept autoconf happy for each of our separate builds. Any autoconf guru out there see a way to do this? (This used to be commit 823cd3ab35456769dcefee17bdaca21f01ba0f63)
2007-10-10r18515: Remove calls to "time" for now as some sh implementations don't have it,Jelmer Vernooij1-2/+2
causing this test to fail. (This used to be commit fc3f41a4ab38fd32386c5bdb1979cc26892afcf8)
2007-10-10r18347: run slapd in the foreground so timelimit can kill itAndrew Tridgell1-2/+3
(This used to be commit 8cc456e6dcb348375dbded0de1a0c07ea6bf8ff9)