summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19299: Fix possible memleaksSimo Sorce1-0/+2
(This used to be commit 6fad80bb09113a60689061a2de67711c9924708b)
2007-10-10r19289: fixed a memory leak in ldb_dn_string_compose()Andrew Tridgell1-2/+4
(This used to be commit 669aa1424c7a931f57856af0cd4a6f6f4a60b823)
2007-10-10r19274: fix ldbdel and ldbmodify to return an error if the underlying ldb callAndrew Tridgell2-15/+11
fails (This used to be commit 330a722f1330059cbba19f99210a1a5a7c773a36)
2007-10-10r19273: - fixed error handling with the ldap backendAndrew Tridgell5-20/+37
- 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-10r19264: Clarify behaviour in ldb_search_callback() and provide moreAndrew Bartlett1-7/+11
information when modules fail to load. Andrew Bartlett (This used to be commit 512ef62f4a63fd90b67757b2c7b2e8ec83969204)
2007-10-10r19196: merge from samba3:Stefan Metzmacher6-25/+27
pass always a mem_ctx to functions and a ldb_context where needed metze (This used to be commit 67a6a41ba3af840cd8226de73576a90ecf602caa)
2007-10-10r19188: merge from samba3:Stefan Metzmacher6-14/+19
fix compiler warnings metze (This used to be commit dc139d8715f58b27363266f1426da451907845eb)
2007-10-10r19146: merge from samba3:Stefan Metzmacher1-1/+3
talloc_reference() can fail metze (This used to be commit 542cd5d029e97c2e0c7c006a1ced12114c1bb6da)
2007-10-10r19134: Merge the second set of C++ warning fixes from Samba3. I'll leave ↵Volker Lendecke1-6/+12
r19132 to metze to merge until the questions have been answered. Volker (This used to be commit e946717bf600f4ff922dc55a9a5d259535d0d1c9)
2007-10-10r19129: Add comment to clarify behaviorSimo Sorce1-0/+4
(This used to be commit 7180f38e9e436ca7a7c49f2d4b315ec5eb9c7631)
2007-10-10r19123: - pass LDFLAGS from configure to MakefileStefan Metzmacher1-1/+1
which should fix the build on Tru64 in the build farm. Thanks to Bjoern Jacke for finding this! metze (This used to be commit 165722a16cf9b8e3f352ed44285cdae0fba66536)
2007-10-10r19114: fixed another checker warning and a possible error on allocationAndrew Tridgell1-1/+3
failure (This used to be commit bc02f7ef96e164a59441e3fd9429221be83fc7e4)
2007-10-10r19113: fixed another checker warning.Andrew Tridgell1-0/+1
(This used to be commit d12550af01f8d4c135fbf6f429852c31570ec92b)
2007-10-10r19112: fixed a checker warning.Andrew Tridgell1-1/+1
In case you haven't noticed, lots of our packages now run the IBM checker in the build farm on 'snab' (This used to be commit b39a79f17c9d8729264436bb774e8bd2b88e12f9)
2007-10-10r19079: talloc_array can failVolker Lendecke1-0/+1
(This used to be commit 441ad8a45c390f807a6ec5f27d585aad54f3b210)
2007-10-10r19076: ldb_dn_copy_partial can failVolker Lendecke1-0/+1
(This used to be commit 78aa689a74941cd6873a91c429889a4c1d1a6432)
2007-10-10r19075: Fix a potential NULL dereferenceVolker Lendecke1-0/+4
(This used to be commit 84ae80b39bfa49fe7f9fa801d45a79bf04df8aff)
2007-10-10r19074: Merge from 3_0: Fix a potential NULL dereference.Volker Lendecke1-1/+1
Volker (This used to be commit af72af684bca68c1759be1357f817db7be699eed)
2007-10-10r19069: The sequence number is a 64 bit unsigned integerSimo Sorce1-2/+2
Well spotted Volker (This used to be commit f4239ef5983cfc06fd5cab42448564faed676944)
2007-10-10r19068: Fix a potential NULL dereferenceVolker Lendecke1-0/+4
(This used to be commit 2dff8ee8cc8b9faf3fbec46d458d6de214622afc)
2007-10-10r19009: ensure that data values from ldap libs are null terminated, to allowAndrew Tridgell1-1/+6
ldb_msg_find_attr_as_string() to work correctly. Thanks to Jim Myers for spotting this! (This used to be commit b2076c1a7e4b70644b59689ce46952ef940be6b0)
2007-10-10r18978: Fix bug found by:Andrew Bartlett1-3/+13
http://www.ee.oulu.fi/research/ouspg/protos/testing/c06/ldapv3/ The issue here is that if the UTF8 conversion fails, because this isn't actually UTF8 data, then we need to do a binary compare instead. Andrew Bartlett (This used to be commit a113e47784157ec6086b014c1fc998e8a23e7382)
2007-10-10r18942: add a ldb_set_create_perms() function in ldb. I didn't call itAndrew Tridgell4-1/+16
ldb_set_umask() (which is what we had discussed) as it doesn't actually set the umask (in effect it sets the inverse of the umask - the perms to be used for the file) (This used to be commit 7e2ec875908c112d5c3b0f6d18f9a8bbacf33539)
2007-10-10r18939: don't rely on the umask being right in ldb creation. Both Samba3 andAndrew Tridgell1-1/+1
Samba4 smbd force the umask to 0, which meant we ended up with ldb being world writable. This isn't really an ideal fix, as it means ldb no longer honors umask (as it should do, like all good libraries). Unfortunately the 'proper' fix is too complex for now this also merges a tiny code style fix from s4 to s3 (This used to be commit 1a42f38dfdc55d7429a1f8d3e811f3d857195a58)
2007-10-10r18910: Change ldb_msg_add_string() to not actually add an attribute if theAndrew Tridgell1-0/+5
string is zero length. This allows callers to not have to worry about creating an invalid ldap attribute. See extensive discussion on samba-technical list :-) (This used to be commit 7a1db8c2a432b9ab59b29ee1bfce6c8fe8e981a2)
2007-10-10r18903: merge from samba3:Stefan Metzmacher4-4/+6
define HAVE_LDB_LDAP and HAVE_LDB_SQLITE3 metze (This used to be commit 4e2f5ba490d717283ab089d90ebd5c108a8c53b0)
2007-10-10r18894: Merge const fixes from 3_0Volker Lendecke1-5/+5
(This used to be commit 4ce447223cc71b8b2a31c2da3b0afd8e3fcf0c01)
2007-10-10r18882: make style consistentSimo Sorce1-1/+3
(This used to be commit a141ee9473ae46c63dea247456f156b40f766d42)
2007-10-10r18881: remove wrong check and statement.Simo Sorce1-5/+0
to manipulate rootDSE we use ldb_dn_new() as base and that has 0 elements. (This used to be commit 3e131177dae3536c07632fe09e7ebe877bcd9332)
2007-10-10r18851: Some C++ warningsVolker Lendecke1-8/+8
(This used to be commit 69f05f288ce7a8508760db861d0910495bd1d578)
2007-10-10r18840: make these compatible with g++ warningsAndrew Tridgell2-15/+15
(This used to be commit bcfa93954fdb00f500f174cd227e3d9b2ef94fdc)
2007-10-10r18834: get the log context code rightAndrew Tridgell1-2/+2
(This used to be commit b6bb5d7b772467042cee6ea372119781c42b91c1)
2007-10-10r18832: fixed standalone buildAndrew Tridgell1-19/+19
(This used to be commit 1ebc098b6776d38451e441280ac13664d64569f4)
2007-10-10r18831: minor build changes for samba3. The logging changes will be removedAndrew Tridgell5-4/+41
when the tdb api is updated (This used to be commit 6ace943fac101839e35cbc83dc54fde2068f704b)
2007-10-10r18830: ensure backends aren't added twice (needed for samba3)Andrew Tridgell1-13/+19
(This used to be commit 54b864b491d8a10c28833d28b764262503a72e91)
2007-10-10r18781: Move the usnCreated and usnChanged handling around again.Andrew Bartlett7-144/+71
This moves these attributes from objectguid into an optional backend (objectguid), used by ltdb. For OpenLDAP, the entryUUID module converts entryCSN into usnChanged. This also changes the sequence number API, and uses 'time based' sequence numbers, when an LDAP or similar backend is detected. To assist this, we also store the last modified time in the TDB, whenever we change a value. Andrew Bartlett (This used to be commit 72858f859483c0c532dddb2c146d6bd7b9be5072)
2007-10-10r18777: add helper functions to create an ldb_request structureSimo Sorce2-69/+205
(This used to be commit bcbe82873f2f0a4e2552ed27eb171028de4560a7)
2007-10-10r18770: Avoid crashes and fix up other issues in the client-side ↵Andrew Bartlett1-27/+57
paged_searches module. In particular, we must query the remote server to find out if paged searches are supported, not the local ldb. This patch also removes the ue of bool, and returns it to LDB error codes. Andrew Bartlett (This used to be commit d36d05858bb9b87802f5ffb83285ef12b9646741)
2007-10-10r18602: updated web page for new ldb build methodAndrew Tridgell1-3/+8
(This used to be commit 36c35262f23fec20feff99a87b185b74c1f176c2)
2007-10-10r18596: removed superfluous semicolonAndrew Tridgell1-1/+1
(This used to be commit 4f3628dea69efce430bf96a42435025806853d90)
2007-10-10r18591: Better defaults for share creationSimo Sorce1-6/+13
Fix logic error in paged_results (This used to be commit 34ce1f8e1bab2debb508aa8bf478231389a77d42)
2007-10-10r18539: 'make distclean' should delete config.cacheAndrew Tridgell1-1/+1
(This used to be commit 5a8becb1be1b41b4fecf9f9f47a60eed5f77c264)
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 Tridgell2-4/+13
(This used to be commit fbe13ed83e2f3508db6d77f4bd65a913ef12ff02)
2007-10-10r18535: move the AC_CANONICAL_HOST and host specific flag tests intoAndrew Tridgell4-4/+3051
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-10r18504: Handle mappings for RENAME and KEEP attributes better. We don't needAndrew Bartlett1-44/+66
to mess with the values in these cases. Where we do convert the values, try and convert substrings. This isn't going to be perfect, but we should try rather than segfault. This also avoids using the wrong arm of the union for the attribute name The change in the entryUUID module is to correct the case of sAMAccountName, due to the case sensitive ldap.js test. Andrew Bartlett (This used to be commit 81d9a692c1e74ec9078bf718003eafdba85b4324)
2007-10-10r18495: More work on the LDAP backend (which now passes a lot of our tests!)Andrew Bartlett4-59/+95
This adds a list of attributes that are in our wildcard seaches, but the remote server requires to be explicitly listed. This also cleans up the handling of wildcards in ldb_map to be more consistant. Also fix the partitions module to rebase the search, if on the GC port, we do a subtree search. (Otherwise backends can rightly complain that the search is not in their scope). Andrew Bartlett (This used to be commit bc58792b7102f086b19353635d5d5ef9d40a0aae)
2007-10-10r18485: include libreplace.m4 in the aclocal.m4 filesStefan Metzmacher2-2/+3
and use the macros in configure.ac metze (This used to be commit 95d33e4d71b4c97af8413bcd136f393aa3e380dd)
2007-10-10r18439: 2nd try at a talloc_move() api. This type with the ** ptr interfaceAndrew Tridgell11-28/+30
exposed. Unfortunately this generates a large number of type punning warnings. We'll have to find some magic to hide those. (This used to be commit 254cbf09dee5a1e20c47e47a298f1a8d172b41b9)