summaryrefslogtreecommitdiffstats
path: root/source4/lib/ldb/ldb_sqlite3
Commit message (Collapse)AuthorAgeFilesLines
* ldb: make ldb a top level library for Samba 4.0Andrew Bartlett2011-07-055-4189/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* ldb:ldb_sqlite3.c - all LDB flags should be handled as "unsigned"Matthias Dieter Wallnöfer2011-05-211-2/+3
| | | | Signed-off-by: Metze
* ldb: Rename two exported functions so they match abi_match.Jelmer Vernooij2010-12-181-1/+1
|
* s4-ldb: enable ldb module version checkingAndrew Tridgell2010-11-011-4/+5
|
* ldb: always return PROTOCOL_ERROR if an operation is unsupportedMatthias Dieter Wallnöfer2010-10-181-1/+1
| | | | That's exactly the behaviour of various LDAP servers.
* s4-test: Use ldb_msg_normalize() in sqlite3 backendKamen Mazdrashki2010-07-191-4/+13
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* ldb:ldb_sqlite3 backend - remove a warning which has already been resolvedMatthias Dieter Wallnöfer2010-06-111-1/+0
|
* ldb:ldb_sqlite3 backend - remove checks which are now done elsewhereMatthias Dieter Wallnöfer2010-06-111-29/+0
| | | | (In SAMBA LDB modules)
* LDB:SQLITE3 backend - change counter variables to "unsigned" where appropriateMatthias Dieter Wallnöfer2010-03-081-8/+10
|
* LDB related spelling fixes.Brad Hards2010-02-221-1/+1
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
* ldb:backend "connect" functions - convert result values to LDB constantsMatthias Dieter Wallnöfer2009-10-251-3/+3
| | | | | | I think this is better since "ldb_backend_connect" and "ldb_connect" which propagate those values should return only LDB constants. Therefore a conversion (especially for "-1") would be needed.
* s4:ldb - SQLite: port some constraints from the TDB backend also to the ↵Matthias Dieter Wallnöfer2009-10-081-0/+49
| | | | SQLITE one
* Fix syntax error in lib/ldb/ldb_sqlite3/base160.cSlava Semushin2009-06-181-1/+1
| | | | Patch for bug #6388
* s4: Call va_end() after all va_start()/va_copy() calls.Andrew Kroeger2009-06-181-0/+1
| | | | | | | | This corrects the issues reaised in bug #6129, and some others that were not originally identified. It also accounts for some code that was in the original bug report but appears to have since been made common between S3 and S4. Thanks to Erik Hovland <erik@hovland.org> for the original bug report.
* Start restoring the sqlite3 backendSimo Sorce2009-01-311-320/+357
| | | | Passes many tests but not all yet.
* Fix the mess with ldb includes.Simo Sorce2009-01-301-1/+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.
* LDB ASYNC: other backendsSimo Sorce2008-09-291-68/+62
|
* Revert LDB return code patches from Matthias.Jelmer Vernooij2008-09-251-14/+14
|
* Cosmetic corrections for the LDB backend modulesMatthias Dieter Wallnöfer2008-09-241-14/+14
| | | | This commit applies some cosmetic corrections for the LDB backend modules.
* Remove references to the unused @SUBCLASS feature.Andrew Bartlett2008-08-182-70/+2
| | | | | | | This was removed from ldb_tdb a while ago Andrew Bartlett (This used to be commit fcb87e77860b449ac3483ccec5e6b5ed087540f2)
* ldb_sqlite: fix the buildStefan Metzmacher2008-02-211-1/+1
| | | | | metze (This used to be commit 14c8e3101cc3b0138a551afdf3a94f4bb11bb21d)
* Fix use of some modules (needed _PUBLIC_).Jelmer Vernooij2008-02-201-1/+1
| | | | (This used to be commit ce332130ea77159832da23bab760fa26921719e2)
* Remove more function-based inits.Jelmer Vernooij2008-02-201-4/+4
| | | | (This used to be commit b1a7810f3e70f9a831d9b8e85d531e448072adaf)
* r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell2007-10-102-4/+2
| | | | (This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
* r23795: more v2->v3 conversionAndrew Tridgell2007-10-102-2/+2
| | | | (This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
* r22746: fix the build of the sqlite moduleStefan Metzmacher2007-10-101-2/+1
| | | | | metze (This used to be commit cd958034df67a606492b69e55f1f4bc5fa95383b)
* r20185: - SMB_ENABLE() needs upper case YES/NOStefan Metzmacher2007-10-101-26/+26
| | | | | | | - fix compilation of the ldb_sqlite3 module metze (This used to be commit 39c41be0ac5bfa39c4ff3267b1a8291857e3a034)
* r19832: better prototypes for the linearization functions:Simo Sorce2007-10-101-9/+9
| | | | | | | | | - ldb_dn_get_linearized returns a const string - ldb_dn_alloc_linearized allocs astring with the linearized dn (This used to be commit 3929c086d5d0b3f08b1c4f2f3f9602c3f4a9a4bd)
* r19831: Big ldb_dn optimization and interfaces enhancement patchSimo Sorce2007-10-101-8/+7
| | | | | | | | | | | | | | | | | 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)
* r19461: Make sqlite3 work again (semi-async)Simo Sorce2007-10-101-392/+158
| | | | | Still not all tests pass (This used to be commit cbfc7305ad594c672a16a7f6f82758d17eb5ba62)
* r19362: - don't need to store the baseinfo message after cache loadAndrew Tridgell2007-10-101-0/+1
| | | | | | - set better names on talloc structures in ldb modules, making leaks easier to track down (This used to be commit 3bf76db42dc6dde5d71083216dba819869b31c75)
* r18439: 2nd try at a talloc_move() api. This type with the ** ptr interfaceAndrew Tridgell2007-10-101-1/+1
| | | | | | | | 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)
* r18436: converted ldb to use talloc_move() instead of talloc_steal() whenAndrew Tridgell2007-10-101-5/+1
| | | | | | | | | | appropriate. Note that I also removed the error checks that were being done on the result of talloc_steal(). They are pointless as talloc_steal() doesn't have any failure modes that wouldn't cause a segv anyway, and they tend to clutter the code (This used to be commit c0d9e7d473b8e3eb2524a9fc29cf88680f994b36)
* r17514: Simplify the way to set ldb errors and add anotherSimo Sorce2007-10-101-12/+12
| | | | | helper function to set them. (This used to be commit 260868bae56194fcb98d55afc22fc66d96a303df)
* r17186: "async" word abuse clean-up part 2Simo Sorce2007-10-101-15/+15
| | | | (This used to be commit c6aa60c7e69abf1f83efc150b1c3ed02751c45fc)
* r17185: Oh, I wanted to do this for sooo long time.Simo Sorce2007-10-101-45/+45
| | | | | | | | | Finally acknowledge that ldb is inherently async and does not have a dual personality anymore Rename all ldb_async_XXX functions to ldb_XXX except for ldb_async_result, it is now ldb_reply to reflect the real function of this structure. Simo. (This used to be commit 25fc7354049d62efeba17681ef1cdd326bc3f2ef)
* r16090: Fix standalone build after the rename of enum ldb_request_type inTim Potter2007-10-101-10/+10
| | | | | | | | | r15944. Hey idra I think a better rename would be to keep the LDB_REQ suffix here to remain consistent with the other enums (e.g ldb_reply_type, ldb_async_wait_type and ldb_async_state). (This used to be commit d44ee8c43bd8f6f978330a8ded8bf30ffad494d6)
* r16087: Fix silly cut-and-paste typo that cost me much of my afternoon...Andrew Bartlett2007-10-101-1/+1
| | | | | | | | This only affects my new partitions module, which I will post soon, but should be fixed anyway. Andrew Bartlett (This used to be commit 8912c4e057eb3962321245cf49b92999afcc64fc)
* r16083: Make it possible to initialise a backend module, without it setting upAndrew Bartlett2007-10-101-10/+14
| | | | | | | | | | the whole ldb structure. Because the sequence number was a fn pointer on the main ldb context, turn it into a full request (currently sync). Andrew Bartlett (This used to be commit fbe7d0ca9031e292b2d2fae263233c973982980a)
* r15854: more talloc_set_destructor() typesafe fixesAndrew Tridgell2007-10-101-5/+2
| | | | (This used to be commit 61c6100617589ac6df4f527877241464cacbf8b3)
* r14161: return early if we know the job is already finishedSimo Sorce2007-10-101-8/+11
| | | | (This used to be commit 09f6f552d73f782dc8d62cefad9c5f584b7b07d2)
* r13996: simplify ldb_async_wait() some moreSimo Sorce2007-10-101-5/+5
| | | | (This used to be commit ef1b3e6368179fe86ae07b8d00e4668090175551)
* r13992: change the way ldb_async_wait() works.Simo Sorce2007-10-101-1/+3
| | | | | | I think I should change the name of this function to ldb_async_process(), any opinions ? (This used to be commit 3347322d1327cfa975ee9dccd4f2774e6e14fbcb)
* r13839: Use registration mechanism for backends as well (in the same senseJelmer Vernooij2007-10-101-1/+5
| | | | | | my previous patch added it for modules). This is the next step towards LDB backends and modules as run-time loadable .so files. (This used to be commit fb2f70de4f6c4a9b13ad590cb4d3a9c858cede49)
* r13826: Try to keep this backend updatedSimo Sorce2007-10-102-201/+444
| | | | | This need more testing and to be built by default when possible (This used to be commit 76cbab0e252620ef6591e2a7354484660bbb6df5)
* r13615: Make ldb_set_errstring get ldb instead of module as parameter.Simo Sorce2007-10-101-9/+9
| | | | | | | The module was just used to get to the ldb so it was meningless. Also add LDB_WAIT_ONCE e relative code in ldb_ildap.c (This used to be commit d5b467b7c132b0bd4d23918ba7bf3370b1afcce8)
* r13609: Get in the initial work on making ldb asyncSimo Sorce2007-10-101-0/+1
| | | | | | | | | | | | Currently only ldb_ildap is async, the plan is to first make all backend support the async calls, and then remove the sync functions from backends and keep the only in the API. Modules will need to be transformed along the way. Simo (This used to be commit 1e2c13b2d52de7c534493dd79a2c0596a3e8c1f5)
* r13333: revert previous commit I will use ldb_caseless_cmp in attrib_handlersSimo Sorce2007-10-101-8/+8
| | | | | | | | to correctly support utf8 comparisons add an ldb_attr_Casefold function for attribute names and use it instead of casefold in the right places (This used to be commit 3b4eb2413bbce059dde69f35c03cdc3cc2ba85c5)
* r13324: From now on check attribute names obey rfc2251Simo Sorce2007-10-101-28/+10
| | | | | | | | | | Also add a way to provide utf8 compliant functions by registering them with ldb_set_utf8_fns() Next comes code to register samba internal utf8 functions. Simo. (This used to be commit ac9b8a41ffca8e06c5e849d544d3203a665b8e0d)
* r12829: fix ldb headers, to not include '<...>' files in .c filesStefan Metzmacher2007-10-101-5/+3
| | | | | | | this helps in getting symbol -fvisibility=hidden (GCC 4 feature) working later. metze (This used to be commit 380938e97f31c7860aed1e73cc0110c6e17b472e)