summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r18347: run slapd in the foreground so timelimit can kill itAndrew Tridgell1-2/+3
(This used to be commit 8cc456e6dcb348375dbded0de1a0c07ea6bf8ff9)
2007-10-10r18346: make sure we kill off the slapd processAndrew Tridgell2-4/+26
(This used to be commit 0e1d4be23ab807b17959e09dffbaf9c8c8dd048e)
2007-10-10r18244: more portable shell scriptingAndrew Tridgell1-6/+6
(This used to be commit 320003127690ab98fc2185f0eb528a778cae2740)
2007-10-10r17978: make the ldap backend test for ldb work both with and without modulesAndrew Tridgell2-2/+19
(so it works on both redhat and debian, for example) (This used to be commit 71264bb78558ada7539ef59048eb38887579c1d1)
2007-10-10r17765: fix handling of old solaris /bin/sh in ldb build/testAndrew Tridgell2-4/+8
(This used to be commit f41d3ed4b3d76c37c9c5bfd15e9e4e27179450f0)
2007-10-10r17726: not having slapd installed isn't a ldb test failureAndrew Tridgell1-1/+2
(This used to be commit 33ccb93647a94fbbd2d08199b6655a3bf14d0a38)
2007-10-10r17718: don't consider a slapadd failure in the ldap backend tests as a ldbAndrew Tridgell1-1/+4
failure (This used to be commit 72cdf93b5a9246f224afa3ba765fae25de1c2b7a)
2007-10-10r17708: make the automated testing of the ldb ldap backend more portableAndrew Tridgell2-7/+9
(This used to be commit bf88bc5de61c3c20d77e2d73e27e741031e9ec06)
2007-10-10r17679: - fix 'make test-ldap' to skip ldb specialsAndrew Tridgell5-12/+29
- allow ldb to be built in a separate build directory, using: /some/path/to/ldb/configure make this will make it much easier to put ldb in the build farm without interfering with the build farm builds of tdb and talloc (This used to be commit 580ed6730d33bad62e9799a38377c40f2852ae89)
2007-10-10r17504: Do not use the invented unixID but use the rfc2307 uidNumber and ↵Simo Sorce1-1/+2
gidNumber attributes instead Do not change unixName right now, we don't have an attribute to use in the posixGroup class, and I think we should remove its usage altogether and look up users and groups by their uid/gid only. Simo. (This used to be commit d57b521aadf24a277152ec1ff1dac3210bd14316)
2007-10-10r13742: Fix tests to work better with ldapSimo Sorce5-12/+16
(This used to be commit 4de76fd09e74a4a98d01777dd11bd2cfb1a681aa)
2007-10-10r13348: Put a reminder for now.Simo Sorce1-0/+2
Until we do not have an internal utf8 compliant casefloding function we cannot pass this test in the non-samba build (This used to be commit 5d93c1eeba8f64784294f3aabcaefa4aaf798355)
2007-10-10r12828: add a test to check white spaces comparisonSimo Sorce2-1/+10
(This used to be commit ad189553f420d70c4a726cf118e1273ea053f4d6)
2007-10-10r12777: use TEST_DATA_PREFIX if availableStefan Metzmacher1-5/+6
metze (This used to be commit 7e702939faf70d0c02fa71b315043795bc4a1d84)
2007-10-10r11567: Ldb API change patch.Simo Sorce1-2/+2
This patch changes the way lsb_search is called and the meaning of the returned integer. The last argument of ldb_search is changed from struct ldb_message to struct ldb_result which contains a pointer to a struct ldb_message list and a count of the number of messages. The return is not the count of messages anymore but instead it is an ldb error value. I tryed to keep the patch as tiny as possible bu as you can guess I had to change a good amount of places. I also tried to double check all my changes being sure that the calling functions would still behave as before. But this patch is big enough that I fear some bug may have been introduced anyway even if it passes the test suite. So if you are currently working on any file being touched please give it a deep look and blame me for any error. Simo. (This used to be commit 22c8c97e6fb466b41859e090e959d7f1134be780)
2007-10-10r10856: we need aclocal.m4 in ldb for standalone configureAndrew Tridgell1-2/+2
(This used to be commit b2551e76e8b0edf99483343d687df3a6cecff1f5)
2007-10-10r10423: minor changes to the ldb test suite to allow it to work correctly withAndrew Tridgell2-7/+15
a real ldap backend (such as openldap) (This used to be commit d267f8c6231664ec86edb2ae21e8585b1b51f7a1)
2007-10-10r10251: some more work on ldb_sqlite3Simo Sorce1-2/+23
I must say that writing a new module is a very good way to find lot of subtle bugs laying in the code We need more tests! commit oLschema2ldif.c to keep it safe from data losses (rm -fr :-) update test generic to reflect the fix made on comparsion functions (This used to be commit 4357a2db5eadb15519ed93b957b2bad25ebf2a7d)
2007-10-10r10232: Some work on ldb_sqlite3.Simo Sorce1-1/+13
It is still far from being usable in samba4 but I want to commit so that the work does not get lost by mistake. This is also a good way to get comments if somebody is interested. Sorry Derrell I ended up rewriting large parts of the code but I find this style much more readable. Thanks for the hard work done. Your work was a good reference for me. ah the current code also shows some good numbers sqlite3 generic test: uid search took 0.05 seconds real 0m12.492s user 0m0.492s sys 0m0.345s with tdb we still get better numbers: uid search took 0.46 seconds real 0m0.892s user 0m0.360s sys 0m0.468s but most of the time is spent in adding operations and I think there's still a lot of space for improvement. Simo. (This used to be commit ace9990060c10d0931f418934b2121aea9512ff7)
2007-10-10r9813: Conver testsuite for samba3sam module to EJSJelmer Vernooij1-61/+0
(This used to be commit 77f24ed131bf57c30bb500e1d8d387bd4b403ddc)
2007-10-10r9786: Move ldb_map into ldb/modules/Jelmer Vernooij1-200/+0
Move samba3sam to dsdb/ (This used to be commit eb9d615bcd49328131613f64745760a90553b7f2)
2007-10-10r9770: Couple other bugfixesJelmer Vernooij2-21/+37
Update TODO-list (This used to be commit d9541535e3f9e1c058410eeb0a54d60181572f2b)
2007-10-10r9744: - [upgrade.js] Start working on smb.conf conversion.Jelmer Vernooij1-16/+23
- [ldb_map] Support storing non-mappable data in a fallback LDB (This used to be commit 435e4c6389b9d9b545beec8036289620ee5883db)
2007-10-10r9718: Work a bit on the SWAT interfaceJelmer Vernooij1-59/+47
(This used to be commit b1844905d2c1ca26aef0ccba799ff16383348fc1)
2007-10-10r9698: Fix a bit of memory managementJelmer Vernooij1-1/+14
More minor bugfixes Support mapping objectclasses and do mapping on 'dn' field as well (not just msg->dn) (This used to be commit b7b079167d5c6616f7c5c4afb7dd80c15707cfd9)
2007-10-10r9690: Extend test + fix several bugsJelmer Vernooij1-3/+29
(This used to be commit 0cff0e03fca0ddccaff3b463aadba63d29e061a9)
2007-10-10r9685: Add tests for samba3sam mapping moduleJelmer Vernooij2-0/+211
Fix a couple of bugs Move samba3sam backend to lib/ldb/ Remove some more unused parameters (This used to be commit 7f864d446d6af7cfd9fb8dbc496a29b36ec57ce9)
2007-10-10r9446: clean up old test fileSimo Sorce1-559/+37
(This used to be commit 10e4ebcc4233de7c89eb25b679db69b41b3d8273)
2007-10-10r8585: add to ldb and ldap comparison functionalitySimo Sorce1-0/+13
better pares filters Approx is currently only a stub need to dig more info to understand what it really means and how it works exactly (This used to be commit a9e8cd0bad27ed2b3c6a12302e787ba3c9a70a3c)
2007-10-10r8490: make the ldb tests more portableAndrew Tridgell3-3/+3
(This used to be commit 6b20bcbeeb33a2cf6abc7bb251830ad6def9a79e)
2007-10-10r8485: - be friendly to shells other than bashAndrew Tridgell3-3/+6
- don't use /tmp in test paths, as that opens us to symlink attacks (This used to be commit 9f29cccbc1fb44cb0317911601456c190883f066)
2007-10-10r8377: forgot an ldif testSimo Sorce1-0/+4
(This used to be commit ed804262dc6abf01ffdeb03a36d94cf40b9f033c)
2007-10-10r8373: New wildcard matching code.Simo Sorce5-20/+13
This code applies correct ldap standard wildcard matching code removes WILDCARD matching from tdb @ATTRIBUTES, that's now handled independently adds some more tests for wildcard matching fixes dn comparison code in ldb_match (This used to be commit 4eb5863042011988d85092d7dde3d809aa15bd59)
2007-10-10r8082: large rewite of ldb_dn.cSimo Sorce4-8/+16
- we do not support multpiple attribute components anymore, makes code a lot easier they will be readded later if we found out they are really used, so far my tests show w2k3 do not handle them as well - fix escaping issues, move component value to be in an ldb_val structure still need to handle binary values case - make cononicalize functions leak less memory by giving a specific memory context - fix tests scripts so that test-ldap can start - make test not delete databases on completion so that I can inspect them (This used to be commit 624a73148d125690ce18515f19231d26df207738)
2007-10-10r8071: reduce the size of the default ldb tests. We run on some pretty low ↵Andrew Tridgell1-2/+2
powered machines in the farm, and don't want to chew too much cpu needlessly. (This used to be commit c03753faa46d52ae4606546b57962e10c41ea3ad)
2007-10-10r8043: increase shell compatibility of ldb testsAndrew Tridgell1-1/+1
(This used to be commit 60863b6faf7f78566052491340607cbb4b3f2e72)
2007-10-10r8039: allow ldb test suite to be run outside of the ldb directoryAndrew Tridgell4-33/+41
(This used to be commit f3e3b2ccd93b87c1c240cf7e44106389b089b526)
2007-10-10r8035: added indexing tests. current ldb fails the integer indexing, will be ↵Andrew Tridgell1-4/+24
fixed shortly (This used to be commit a9c32445035a09978c5fdbc189a2767e7650dfc2)
2007-10-10r8033: - add easier valgrind testingAndrew Tridgell1-11/+25
- add tests for the @SUBCLASSES ltdb special (This used to be commit ad6e62fdcf0432fcf4d41edb1727cbba1b7528b7)
2007-10-10r8011: arrgh, commit the right version this timeAndrew Tridgell1-5/+4
(This used to be commit 5efea40ea63b6951b3bd4362f1ae57f960fefecf)
2007-10-10r8010: added testing of wildcard attributesAndrew Tridgell1-0/+20
(This used to be commit 25d3872a6ebbc152a83695e667f5d08e69c8c8ea)
2007-10-10r8009: expanded the ldb test suite. It worried me that some changes I haveAndrew Tridgell2-1/+81
pending, which I know break lots of features, still passed our test suite! Now they don't. (This used to be commit 5801167c8dfc8a61bfeac396bca8ffd3d5270296)
2007-10-10r7834: added comment about the "((" search testAndrew Tridgell1-0/+4
(This used to be commit 42c42f6611fa295ca60782661781d023c4fdaf8b)
2007-10-10r7833: changed ldbsearch and ldbedit to have command line syntax closer toAndrew Tridgell1-1/+1
ldapsearch. They look for an '=' in the first argument to see if it is a search expression, and if not then it does an 'all records' search (This used to be commit 91cc009fedefa7b263b345dfa511800e0f4f66a8)
2007-10-10r7832: missed oneAndrew Tridgell1-1/+1
(This used to be commit 20c84f5c5219c6f306888771b56e0dfdeb8fd774)
2007-10-10r7831: use cn=TEST as base of test DNs so we don't interfere with ↵Andrew Tridgell6-66/+66
potentially real records (This used to be commit 2a426f654db668f4bfc899771dd11598e295b774)
2007-10-10r7828: Although there is still plenty to do, ldb_sqlite3 now passes the set ↵Derrell Lipman1-1/+1
of tests in tests/test-sqlite3.sh (tests/test-generic.sh). There are lots of optimizations still TBD, and some things are REALLY slow right now (e.g. each add() operation takes 1/3 - 1/2 second) but it's ready for interested parties to poke it and prod it and see how (un)reasonable it is. Play away. Still to be implemented or improved: - tdb specials (@MODULES, @SUBCLASSES, etc.) - all DNs are case-folded in their entirty right now (since doing otherwise would require @ATTRIBUTES to be implemented) - speed improvements and optimizations. I am quite confident that the excessively slow add() operation can be much improved, and other areas can be somewhat improved. (This used to be commit 1dd865005594671e7effe06fb088fa97fa08de0b)
2007-10-10r7806: add test for binary files as attribute valuesSimo Sorce3-0/+8
(This used to be commit 2b2675055e5113eccb0b876799b226d480335495)
2007-10-10r7709: - convert ldb to use popt, so that it can interact with the sambaAndrew Tridgell2-3/+5
cmdline credentials code (which will be done soon) - added a ldb_init() call, and changed ldb_connect() to take a ldb context. This allows for much better error handling in ldb_connect(), and also made the popt conversion easier - fixed up all the existing backends with the new syntax - improved error handling in *_connect() - fixed a crash bug in the new case_fold_required() code - ensured that ltdb_rename() and all ltdb_search() paths get the read lock - added a ldb_oom() macro to make it easier to report out of memory situations in ldb code (This used to be commit f648fdf187669d6d87d01dd4e786b03cd420f220)
2007-10-10r7615: fix the build and simplify gendb_search_dnSimo Sorce1-1/+1
(This used to be commit b38bb63175ae0bdcf833c017e5fbbfc2c0769506)