summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
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-10r20134: The IBM Checker correctly notes that *p cannot be \0 and still satisfyAndrew Bartlett1-1/+0
the loop entry condition. Andrew Bartlett (This used to be commit c1182751313290fc38af5b1c44bc66b5d1654977)
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-10r20104: this is a alternative events backend, which uses a hybrid of aio andAndrew Tridgell1-0/+518
epoll. It is not linked in anywhere yet - I'm committing it in case anyone else wants to have a look at it. The concept is quite strange really, but it seems to be the only way that Linux 2.6.x can currently use a unified event model allowing for AIO events and socket events to be waited for by a single unified event wait function. You setup a epoll system, then setup a weird aio event that points at the epoll system, then use io_getevents() to actually do the waiting. I'm hoping that kevents or a proper integration of epoll will allow us to avoid ths rather hackish scheme, but meanwhile this is the only path to proper AIO in Samba on Linux (without a horrible signals mess) (NOTE: this code requires some kernel patches to work at the moment) (This used to be commit 195051fdee341e8d8cb76e5c91dcc0f6c246a870)
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-10r20091: remove blank lines at the end of text lines loaded from a fileAndrew Tridgell1-1/+7
(This used to be commit afcc797e8a25d99269f67e05fe57e952dd5d65bc)
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-10r19989: Add support to the tdb Makefile.in for executable extensions and forPaul Green1-15/+23
separately specifying CPPFLAGS and LDFLAGS. (This used to be commit 41c775efde85cb1115c40488dd3ab49cd77e356d)
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-10r19960: Add code to check for loops in the free list.Jeremy Allison5-4/+119
Should help us validate tdb's against corruption. Jeremy. (This used to be commit bd0710fa09799cb496b1f9f365c57c3b542445f3)
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-10r19952: Fix socketpair() test case to write to fd(1) and read from fd(0) becausePaul Green1-2/+2
when pipe files are substituting for unix domain sockets, pipes provide only uni-directional i/o capabilities. (This used to be commit d0a376732ed7b4f807b99a1c46c54ad1f07c85cf)
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)
2007-10-10r19905: use ldb_dn_new_fmt() to avoid double strdupsSimo Sorce1-14/+3
(This used to be commit 32a6b6c75b041bf829ecf272a9b10164f7ffe12b)
2007-10-10r19904: port fies from samba3Simo Sorce1-1/+15
(This used to be commit 49d1559d3670de4a4f9eace99600c37cf039bae2)
2007-10-10r19901: Fix a potential NULL dereferenceVolker Lendecke1-0/+3
(This used to be commit 75e6fb9654f10a076ed49b0582b40368e149d30a)
2007-10-10r19897: Fix klokwork ids 2278 and 2279Volker Lendecke1-2/+9
(This used to be commit 44e6d39e0ef17ed5a801f95edaa6fbf5efa21a26)
2007-10-10r19888: make it possible to use default attrib handlers from extensionsSimo Sorce3-11/+193
list more DN attributes as part of samba attribute handlers (nCName moved here) (This used to be commit 627ed8b5165c9a1cc0e2c67329b364f9cd8a1726)
2007-10-10r19887: return "" string only if the dn is a valid oneSimo Sorce1-5/+9
(This used to be commit 056f90798f6d2cea1debc50f31fea3d740c4a837)
2007-10-10r19886: ncName is specific to samba, not the generic ldb engineSimo Sorce1-1/+0
(This used to be commit 505afb18fb8ba427bc3d03f41eb309b27bad68f7)
2007-10-10r19885: special dn's were not casefolded before rev 19831,Stefan Metzmacher1-13/+11
act like this again... also when we already have a casefoled value we should not call ldb_dn_casefold_internal() metze (This used to be commit cbf4eb16725992bfdfa5a334e0e5547e6df568e6)
2007-10-10r19884: rename ldb_dn_key -> ltdb_index_key to make more clear what it's for...Stefan Metzmacher1-5/+5
metze (This used to be commit 6b76a7be4ac5443d68a1253dc9ec430dcdc327f1)
2007-10-10r19871: simplify moreSimo Sorce1-17/+7
(This used to be commit e9ddb18c83518703f987bf141807639956612dbf)
2007-10-10r19870: Simplify codeSimo Sorce1-25/+11
(This used to be commit c1737f9a52d9e4d118f969a0953a458188143d0d)
2007-10-10r19869: fix memleaksSimo Sorce1-34/+121
(This used to be commit 3a662a2d985bf801284c5dc1123dec6705e6d092)
2007-10-10r19863: Create -uninstalled.pc files. This should reenable compilation and ↵Jelmer Vernooij1-5/+6
running of the pidl testsuite as part of the testsuite. (This used to be commit db237ad52f3a42c7b35753df99549ed6d540cec2)
2007-10-10r19832: better prototypes for the linearization functions:Simo Sorce23-83/+67
- 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 Sorce36-795/+1227
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)