summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests
AgeCommit message (Collapse)AuthorFilesLines
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)
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)