summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_ildap/ldb_ildap.c
AgeCommit message (Collapse)AuthorFilesLines
2008-02-29Fix ldapi support.Jelmer Vernooij1-2/+2
(This used to be commit 9499f8eea534cf93f96af17941e9195aadc0a756)
2008-02-20Fix use of some modules (needed _PUBLIC_).Jelmer Vernooij1-3/+3
(This used to be commit ce332130ea77159832da23bab760fa26921719e2)
2008-02-20Remove more function-based inits.Jelmer Vernooij1-3/+15
(This used to be commit b1a7810f3e70f9a831d9b8e85d531e448072adaf)
2008-02-20Use function-based initialization for ildap backend.Jelmer Vernooij1-6/+3
(This used to be commit 46e5027f56722fbe19af36aad1ab03ea1c862f43)
2007-12-21r26355: Eliminate global_loadparm in more places.Jelmer Vernooij1-2/+3
(This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
2007-12-21r26353: Remove use of global_loadparm.Jelmer Vernooij1-1/+2
(This used to be commit 17637e4490e42db6cdef619286c4d5a0982e9d1a)
2007-10-10r25522: Convert to standard bool types.Jelmer Vernooij1-1/+1
(This used to be commit 5e814287ba475e12f8cc934fdd09b199dcdfdb86)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell1-2/+1
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
2007-10-10r23795: more v2->v3 conversionAndrew Tridgell1-1/+1
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
2007-10-10r22681: Fix standalone ldb build when parent directory name != ldb.Jelmer Vernooij1-1/+1
(This used to be commit 1093875d59f1ea9b8bd82277d4f9d8366e584952)
2007-10-10r21761: - Give more detail on LDAP client library failures (make it clearAndrew Bartlett1-4/+10
where the error is from) - Make default error string more consistant Andrew Bartlett (This used to be commit 7f115579d20a3112efd11444fafcbf78698fc9a1)
2007-10-10r20129: remove unused structure elementsStefan Metzmacher1-12/+8
metze (This used to be commit 53805a8562c59116e458dedd695e061eabf78620)
2007-10-10r20128: get rid of more talloc_get_type() callsStefan Metzmacher1-8/+8
metze (This used to be commit cb89f0b8d5a64433374887bcd44e04ad63e4857e)
2007-10-10r20125: fix some ugly mem leaks in the ldb_ildb backendStefan Metzmacher1-7/+7
metze (This used to be commit db85b7840c1022665d410516d9a8989474d67a0f)
2007-10-10r20123: - avoid some more talloc_get_type() callsStefan Metzmacher1-29/+23
- pass down ldb_request metze (This used to be commit b0b9e83fed0145bac6058d11e9b1b2c57d091649)
2007-10-10r20122: pass ildb to ildb_request_noop()Stefan Metzmacher1-8/+8
metze (This used to be commit cf9aade216930980bf47ea8b97db976c4907cbca)
2007-10-10r20121: pass down the ldb_request struct to ildb_request_send(),Stefan Metzmacher1-18/+13
also pass ildb instead of module, to avoid multiple talloc_get_type() calls metze (This used to be commit 03029d4fed86b1ca5fb19a408312607d8790d110)
2007-10-10r20120: fix the talloc hierachy and make ildb a child of moduleStefan Metzmacher1-20/+21
metze (This used to be commit b85d5cb7a4931d1d43a0ec73f1de1519c720f1af)
2007-10-10r19832: better prototypes for the linearization functions:Simo Sorce1-7/+6
- ldb_dn_get_linearized returns a const string - ldb_dn_alloc_linearized allocs astring with the linearized dn (This used to be commit 3929c086d5d0b3f08b1c4f2f3f9602c3f4a9a4bd)
2007-10-10r19831: Big ldb_dn optimization and interfaces enhancement patchSimo Sorce1-2/+2
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-10r19598: Ahead of a merge to current lorikeet-heimdal:Andrew Bartlett1-0/+1
Break up auth/auth.h not to include the world. Add credentials_krb5.h with the kerberos dependent prototypes. Andrew Bartlett (This used to be commit 2b569c42e0fbb596ea82484d0e1cb22e193037b9)
2007-10-10r19531: Make struct ldb_dn opaque and local to ldb_dn.cSimo Sorce1-2/+2
(This used to be commit 889fb983ba1cf8a11424a8b3dc3a5ef76e780082)
2007-10-10r19362: - don't need to store the baseinfo message after cache loadAndrew Tridgell1-0/+1
- set better names on talloc structures in ldb modules, making leaks easier to track down (This used to be commit 3bf76db42dc6dde5d71083216dba819869b31c75)
2007-10-10r18439: 2nd try at a talloc_move() api. This type with the ** ptr interfaceAndrew Tridgell1-3/+4
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)
2007-10-10r18438: I should have examined these uses of talloc_move() moreAndrew Tridgell1-1/+1
carefully. Most of them are OK, but a couple were not. (This used to be commit b0de2838829d9750817c31f28c11c6b2be6e7b64)
2007-10-10r18436: converted ldb to use talloc_move() instead of talloc_steal() whenAndrew Tridgell1-5/+3
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)
2007-10-10r18410: Reduce noise in the ldb_ildap backend. We regularly search for thingsAndrew Bartlett1-3/+1
that don't exist, and this is not a cause for panic. Andrew Bartlett (This used to be commit c89e416d288d16de43ae93102ecfec588900e6c0)
2007-10-10r18309: FreeBSD 6.1 has a symbol ldap_new_connection() in the system ldapAndrew Tridgell1-1/+1
library. Even though we don't like to that library, it gets loaded via nss-ldap, which means nss-ldap calls into the samba ldap lib with the wrong parameters, and crashes. We really need to use a completely different namespace in libcli/ldap/ (This used to be commit c440e0eed9afae5fe69995a7416971e7c8560779)
2007-10-10r17822: the ildap ldb backend doesn't need the auto rootDSE logic any moreAndrew Tridgell1-84/+2
(This used to be commit c670837cc0dd04834a283bde0471c702a34c66c9)
2007-10-10r17516: Change helper function names to make more clear what they are meant ↵Simo Sorce1-1/+1
to do (This used to be commit ad75cf869550af66119d0293503024d41d834e02)
2007-10-10r17514: Simplify the way to set ldb errors and add anotherSimo Sorce1-11/+11
helper function to set them. (This used to be commit 260868bae56194fcb98d55afc22fc66d96a303df)
2007-10-10r17349: We can't just return sucess here, modules below us expect the asyncAndrew Bartlett1-20/+56
reply rules to be followed. Add code to do a fake async callback on the skipped records. Andrew Bartlett (This used to be commit 26bc7dbed978f92e814d9803366eac7d7f4ded3e)
2007-10-10r17300: Try to fix some segfaults in ldb_ildap module, when the remote serverAndrew Bartlett1-1/+6
drops the connection. The reconnect code needs to be hooked in here. Andrew Bartlett (This used to be commit 778debedea77ac81cc05f00f27bb96a58cbebcd8)
2007-10-10r17186: "async" word abuse clean-up part 2Simo Sorce1-26/+14
(This used to be commit c6aa60c7e69abf1f83efc150b1c3ed02751c45fc)
2007-10-10r17185: Oh, I wanted to do this for sooo long time.Simo Sorce1-19/+19
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)
2007-10-10r16087: Fix silly cut-and-paste typo that cost me much of my afternoon...Andrew Bartlett1-4/+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)
2007-10-10r16083: Make it possible to initialise a backend module, without it setting upAndrew Bartlett1-8/+11
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)
2007-10-10r16036: Add a couple of new functions to corretly deal with timeouts.Simo Sorce1-2/+2
Check timeouts are correctly verified. Some minor fixed and removal of unused code. (This used to be commit b52e5d6a0cb1a32e62759eaa49ce3e4cc804cc92)
2007-10-10r15964: fix error handling in ldb_ildap backendStefan Metzmacher1-7/+14
metze (This used to be commit 54e5aeff87b859960dfc5e4b6e3ab026ce5470ff)
2007-10-10r15963: fix warningsStefan Metzmacher1-2/+2
metze (This used to be commit 11b49a440567eb3fa3391c15f5486c63141f1b97)
2007-10-10r15944: rename LDB_ASYNC_ADD -> LDB_ADD, LDB_ASYNC_MODIFY -> LDB_MODIFY, etc...Simo Sorce1-1/+1
(This used to be commit 55d97ef88f377ef1dbf7b1774a15cf9035e2f320)
2007-10-10r15942: Remove the sync internal ldb calls altogether.Simo Sorce1-291/+72
This means that some modules have been disabled as well as they have not been ported to the async interface One of them is the ugly objectclass module. I hope that the change in samldb module will make the MMC happy without the need of this crappy module, we need proper handling in a decent schema module. proxy and ldb_map have also been disabled ldb_sqlite3 need to be ported as well (currenlty just broken). (This used to be commit 51083de795bdcbf649de926e86969adc20239b6d)
2007-10-10r15927: Optimize ldb module traverse while keeping the API intact.Simo Sorce1-136/+151
I was sick of jumping inot each module for each request, even the ones not handle by that module. (This used to be commit 7d65105e885a28584e8555453b90232c43a92bf7)
2007-10-10r15913: Error passing in the async code is not in agood shapeSimo Sorce1-1/+1
Start enhancing it and fix some problems with incorrect evalutaion of the codes Implement rdn rename (async only) (This used to be commit 6af1d738b9668d4f0eb6194ac0f84af9e73f8c2e)
2007-10-10r15592: Remove unused headerJelmer Vernooij1-1/+0
(This used to be commit 7d3cbfb15768f95c7af6628eba578cae28ae2025)
2007-10-10r15242: allow to use LDB_FLG_RECONNECTSimo Sorce1-0/+4
(This used to be commit cdd14c2a277c6f2fb2aee21f91462d8ebe78693c)
2007-10-10r14592: Add support for loading shared modules to LDB.Jelmer Vernooij1-1/+3
(This used to be commit f10fae23f0685b2d9c6174596e1c66d799f02c52)
2007-10-10r14227: We are passing the wrong pointer hereSimo Sorce1-1/+1
(This used to be commit 22c1b3635596e881d1a1e8fa5e55ab996ff001d5)
2007-10-10r14163: Remove LDB_WAIT_ONCE, we can hardly guarante weSimo Sorce1-7/+0
get anything if not waiting for all, keeping this value may just lead to false expectations. You either make blocking call waiting for ALL results transforming this in a sync call, or either you loop expecting from 0 to all results being returned at any time on any of these loops. It should be clear also that when you may receive results at any time as soon as you call ldb_request. Your callback may have received all results even before calling ldb_async_wait the first time. Simo. (This used to be commit 6f041068b50caf919cd971812bdb8e3e810565fb)
2007-10-10r14161: return early if we know the job is already finishedSimo Sorce1-0/+7
(This used to be commit 09f6f552d73f782dc8d62cefad9c5f584b7b07d2)