summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r20583: implement the frontend calls for extended operationsStefan Metzmacher2-5/+112
metze (This used to be commit cfcd05adc03effeaf85dc776c2d5bb5244f0d6d4)
2007-10-10r20582: use void *data in the ldb_extended struct to match what we have in ↵Stefan Metzmacher1-4/+4
ldb_control add a request element for extended requests metze (This used to be commit 530b3cd2501efb7763cbb7d3301ff0550689effe)
2007-10-10r20581: - the ldb modules have explicit hooks for extended operationsStefan Metzmacher2-2/+6
so call them - reorder the request operations first all with explixit hooks metze (This used to be commit aababcbb05ad476507bba35723eaef01d18b4d4e)
2007-10-10r20467: Don't segfault if we don't have an OID mapAndrew Bartlett1-1/+1
(This used to be commit c0276c373c51696b5168cdd1b048e1b9858baf62)
2007-10-10r20464: Make it clear what does the process group stuffAndrew Bartlett1-1/+1
(This used to be commit 27750e0b5f118b76c199f87cbf92ee951c3e7db7)
2007-10-10r20462: add functions to handle UTCTime stringsStefan Metzmacher2-8/+87
metze (This used to be commit 49c7da812c290e23bb65b98a2710fb90c4a0ece2)
2007-10-10r20459: LDB map cleanup:Andrew Bartlett1-16/+17
- Replace 'return 0' with return LDB_SUCCESS in more places. - Do not return NULL attribute values, these are not permitted. Instead, fail the whole conversion. - Cleanup old comments. Andrew Bartlett (This used to be commit f28cf842dab2fe5e691d755f28c6048c986e284f)
2007-10-10r20373: When adding a base to a "" DN, don't precede it with a comma (,)Andrew Bartlett1-2/+10
Andrew Bartlett (This used to be commit ef1ca30180b1b225579a8200b65a4853a135602f)
2007-10-10r20320: add missing prototypesStefan Metzmacher1-1/+18
metze (This used to be commit b9d0ea3954e3f76436e976555540dd29dacd621d)
2007-10-10r20319: fix compiler warningsStefan Metzmacher1-3/+3
metze (This used to be commit 3769270a6a22dd29845e889b0601fcdf7c46acb5)
2007-10-10r20317: store references to all important naming contexts.Stefan Metzmacher1-13/+45
add ldb_get_config_basedn(), ldb_get_schema_basedn() and ldb_get_root_basedn() metze (This used to be commit e28cb83904299fe01e8c0797f5429387f254ed1e)
2007-10-10r20316: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit 58cbbaa4b49bfed6d4e9c5802af988864e06675f)
2007-10-10r20234: metze pointed out that we are re-loading the cache records on eachAndrew Tridgell1-0/+4
write. We should only be doing this if another process writes and changes the seqnum. This avoids the extra cache loads (This used to be commit 65858ebb68c25a672e9284e8cba9a6675902f1df)
2007-10-10r20198: let the IBM checker ignore the warning about a missing breakStefan Metzmacher1-1/+2
statement... metze (This used to be commit 6b20123c10b8812759b0876990766adc207bc5b4)
2007-10-10r20192: I assume a 'break' is the correct thing to do here,Stefan Metzmacher1-0/+1
simo,tridge: please check this. found by the IBM checker metze (This used to be commit 5ac373c8b853d4527a095111253f3cb10522f5e8)
2007-10-10r20191: fix bug found by the IBM checkerStefan Metzmacher1-1/+1
metze (This used to be commit 4c1e4bfeef8d93583b6d4345dbb1b8fa90368308)
2007-10-10r20190: fix the ldb_ldap backendStefan Metzmacher1-1/+0
metze (This used to be commit 6b7eb5d68e769fd5450c5d92c3ece4c471aaeae9)
2007-10-10r20189: remove unused struct elementStefan Metzmacher3-4/+0
metze (This used to be commit d20d1872d5ed1176928b85ef9811c6a5177d0148)
2007-10-10r20188: move back to an default attribute handler and not use the '*' attributeStefan Metzmacher1-2/+15
to not conflict with the one that maybe added via the @ATTRIBUTES object this is just to make the test-tdb-feature.sh torture test happy There's still a bug when a attribute is registered multiple time without removing old ldb_schema_attribute instances. But this bug was there before my changes too and was just triggered by my changes metze (This used to be commit 70c4a367433f8c54bdd940eb0a6a24ab976a4063)
2007-10-10r20187: fix the build on systems without sqlite3Stefan Metzmacher1-0/+4
metze (This used to be commit 216713d9a034984ffb40889b42837b91abae862a)
2007-10-10r20185: - SMB_ENABLE() needs upper case YES/NOStefan Metzmacher2-27/+29
- fix compilation of the ldb_sqlite3 module metze (This used to be commit 39c41be0ac5bfa39c4ff3267b1a8291857e3a034)
2007-10-10r20184: change ldb_attrib_handler into ldb_schema_attribute, which has a pointerStefan Metzmacher14-382/+245
to a ldb_schema_syntax struct. the default attribute handler is now registered dynamicly as "*" attribute, instead of having its own code path. ldb_schema_attribute's can be added to the ldb_schema given a ldb_schema_syntax struct or the syntax name we may also need to introduce a ldb_schema_matching_rule, and add a pointer to a default ldb_schema_matching_rule in the ldb_schema_syntax. metze (This used to be commit b97b8f5dcbce006f005e53ca79df3330e62f117b)
2007-10-10r20168: start separating attributes and syntaxesStefan Metzmacher5-36/+46
metze (This used to be commit 8dda4342f648aa71878ac9eeb7941710e2813aee)
2007-10-10r20130: remove one more talloc_get_type()Stefan Metzmacher1-4/+4
metze (This used to be commit 024dacb3b0a32bcaaef0b7a7598070b9034a7648)
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-10r20127: - allocate ldb_handle under ldb_request! fix a mem leakStefan Metzmacher1-45/+35
- pass ldb_request to init_lldb_handle() - remove some useless talloc_get_type() calls metze (This used to be commit a7397c4d2bed181c96863e985727c8dad0894df7)
2007-10-10r20126: fix talloc hierachy and make lldb a child of moduleStefan Metzmacher1-18/+22
metze (This used to be commit 1e3bb180261643900c7bdacef818add5349c7a30)
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-10r20106: Optional ONE Level indexing for ldb_tdbSimo Sorce4-9/+260
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-10r20101: Also rename a variable now that the unused parameter is goneSimo Sorce1-4/+4
(This used to be commit a2520bcfa918977f2139a963e9817370789cf077)
2007-10-10r20100: Remove completely unused parametersSimo Sorce1-4/+2
(This used to be commit cc1bcb814844e8a03dfa9a310d26ce3f3441e7bb)
2007-10-10r20046: Add ldb_search_exp_fmt and port comment to 4Volker Lendecke1-3/+10
(This used to be commit 879dfed8d8356aae6a11352b89bdc0f2d9f28970)
2007-10-10r20034: Start using ldb_search_exp_fmt()Simo Sorce2-8/+7
(This used to be commit 4f07542143ddf5066f0360d965f26a8470504047)
2007-10-10r20033: Never commit before testingSimo Sorce1-3/+6
Never commit before testing Never commit before testing :-) (This used to be commit fdd6ce6b7e288137aeaf62f9869441c73bedbd45)
2007-10-10r20032: Add ldb_search_exp_fmt()Simo Sorce1-0/+36
This functions adds support of a memory context to hook the results to and a printf style exp_fmt partameter to easily build expressions at once. (This used to be commit 2a2e181e4bc382d69056cebace9a4ae9897bdfbc)
2007-10-10r20023: handle <SID=...> <WKGUID=...> dn's also in ldb_dn_new_fmt()Stefan Metzmacher1-0/+10
metze (This used to be commit 01e3a5080a38c93c4bbf249b03135314b7e0b3f1)
2007-10-10r19966: we don't need 2 versions of this functionsStefan Metzmacher1-34/+4
metze (This used to be commit 98ab0af4ae0d716f27bc48b699f52d34dc2f8507)
2007-10-10r19965: make the output a bit nicerStefan Metzmacher1-2/+3
metze (This used to be commit 8655db41c1e776261ac61a975ca1883b7b59c6aa)
2007-10-10r19964: make debuging easier and report usefull error messagesStefan Metzmacher2-3/+6
metze (This used to be commit f129d78256d965d52e80aedfa76c7c079e611c5f)
2007-10-10r19954: allow more special dn's:Stefan Metzmacher1-0/+10
this works now against w2k3: bin/ldbedit -U administrator%test -H ldap://w2k3-101/ -b "<GUID=44087590-dd95-435c-adc1-ec20a50807be>" -s base bin/ldbedit -U administrator%test -H ldap://w2k3-101/ -b "<SID=S-1-5-21-769185814-1958994947-1641909093-513>" -s base bin/ldbedit -U administrator%test -H ldap://w2k3-101/ -b "<WKGUID=AB8153B7768811D1ADED00C04FD8D5CD,DC=w2k3,dc=vmnet1,dc=vm,dc=base>" -s base and we should try to implement this in the server too... metze (This used to be commit 3c087c89707398d88799367240fe4e6f8b192bb4)
2007-10-10r19911: talloc_apsrintf is not really required hereSimo Sorce1-1/+5
its faster this way (another 2-4%s) (This used to be commit 8bbbfa3467c00543b0b330aec14e22b7e796fea7)
2007-10-10r19910: Make better use of our set of talloc utility functionsSimo Sorce1-5/+5
(This used to be commit b1197dbeebff062b8ea1e8466d436be82b0b61e0)
2007-10-10r19909: Make this one double as fastSimo Sorce1-5/+17
(This used to be commit 67b88e49b896f1d783619b8f96554adaeabe80df)
2007-10-10r19907: this function is used a lotSimo Sorce1-18/+40
use a binary search to get the right handler (This used to be commit 789e1088c9ce923ca5a6d703b69810eba3bcd4d0)
2007-10-10r19906: ldb_attr_cmp is used a lotSimo Sorce2-12/+5
remove unneded overhead of a function call (This used to be commit 3ca25867621af049c6cc52e919fa46dd26c31918)