Age | Commit message (Collapse) | Author | Files | Lines |
|
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)
|
|
metze
(This used to be commit 8dda4342f648aa71878ac9eeb7941710e2813aee)
|
|
metze
(This used to be commit 024dacb3b0a32bcaaef0b7a7598070b9034a7648)
|
|
metze
(This used to be commit 53805a8562c59116e458dedd695e061eabf78620)
|
|
metze
(This used to be commit cb89f0b8d5a64433374887bcd44e04ad63e4857e)
|
|
- pass ldb_request to init_lldb_handle()
- remove some useless talloc_get_type() calls
metze
(This used to be commit a7397c4d2bed181c96863e985727c8dad0894df7)
|
|
metze
(This used to be commit 1e3bb180261643900c7bdacef818add5349c7a30)
|
|
metze
(This used to be commit db85b7840c1022665d410516d9a8989474d67a0f)
|
|
- pass down ldb_request
metze
(This used to be commit b0b9e83fed0145bac6058d11e9b1b2c57d091649)
|
|
metze
(This used to be commit cf9aade216930980bf47ea8b97db976c4907cbca)
|
|
also pass ildb instead of module, to avoid multiple talloc_get_type() calls
metze
(This used to be commit 03029d4fed86b1ca5fb19a408312607d8790d110)
|
|
metze
(This used to be commit b85d5cb7a4931d1d43a0ec73f1de1519c720f1af)
|
|
To activate it you must modify the @INDEXLIST object adding
the attribute @IDXONE: 1
Ldb test included
Simo.
(This used to be commit ea111795f4016916473ccc05d23c6655e6af1207)
|
|
(This used to be commit a2520bcfa918977f2139a963e9817370789cf077)
|
|
(This used to be commit cc1bcb814844e8a03dfa9a310d26ce3f3441e7bb)
|
|
(This used to be commit 879dfed8d8356aae6a11352b89bdc0f2d9f28970)
|
|
(This used to be commit 4f07542143ddf5066f0360d965f26a8470504047)
|
|
Never commit before testing
Never commit before testing
:-)
(This used to be commit fdd6ce6b7e288137aeaf62f9869441c73bedbd45)
|
|
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)
|
|
metze
(This used to be commit 01e3a5080a38c93c4bbf249b03135314b7e0b3f1)
|
|
metze
(This used to be commit 98ab0af4ae0d716f27bc48b699f52d34dc2f8507)
|
|
metze
(This used to be commit 8655db41c1e776261ac61a975ca1883b7b59c6aa)
|
|
metze
(This used to be commit f129d78256d965d52e80aedfa76c7c079e611c5f)
|
|
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)
|
|
its faster this way (another 2-4%s)
(This used to be commit 8bbbfa3467c00543b0b330aec14e22b7e796fea7)
|
|
(This used to be commit b1197dbeebff062b8ea1e8466d436be82b0b61e0)
|
|
(This used to be commit 67b88e49b896f1d783619b8f96554adaeabe80df)
|
|
use a binary search to get the right handler
(This used to be commit 789e1088c9ce923ca5a6d703b69810eba3bcd4d0)
|
|
remove unneded overhead of a function call
(This used to be commit 3ca25867621af049c6cc52e919fa46dd26c31918)
|
|
(This used to be commit 32a6b6c75b041bf829ecf272a9b10164f7ffe12b)
|
|
(This used to be commit 49d1559d3670de4a4f9eace99600c37cf039bae2)
|
|
(This used to be commit 75e6fb9654f10a076ed49b0582b40368e149d30a)
|
|
(This used to be commit 44e6d39e0ef17ed5a801f95edaa6fbf5efa21a26)
|
|
list more DN attributes as part of samba attribute handlers
(nCName moved here)
(This used to be commit 627ed8b5165c9a1cc0e2c67329b364f9cd8a1726)
|
|
(This used to be commit 056f90798f6d2cea1debc50f31fea3d740c4a837)
|
|
(This used to be commit 505afb18fb8ba427bc3d03f41eb309b27bad68f7)
|
|
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)
|
|
metze
(This used to be commit 6b76a7be4ac5443d68a1253dc9ec430dcdc327f1)
|
|
(This used to be commit e9ddb18c83518703f987bf141807639956612dbf)
|
|
(This used to be commit c1737f9a52d9e4d118f969a0953a458188143d0d)
|
|
(This used to be commit 3a662a2d985bf801284c5dc1123dec6705e6d092)
|
|
running
of the pidl testsuite as part of the testsuite.
(This used to be commit db237ad52f3a42c7b35753df99549ed6d540cec2)
|
|
- ldb_dn_get_linearized
returns a const string
- ldb_dn_alloc_linearized
allocs astring with the linearized dn
(This used to be commit 3929c086d5d0b3f08b1c4f2f3f9602c3f4a9a4bd)
|
|
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)
|
|
remove old unused schema module
metze
(This used to be commit 3c16951b0d88013b34a0213ced79087653713ddf)
|
|
metze
(This used to be commit 4edeef56dcd185869812bf622c5b496360eb6223)
|
|
metze
(This used to be commit 666e674504c514033390bf69746fb3c35baf4b2a)
|
|
map_attr_find_local() always returns, which is exactly what we don't
want. Instead, rely on the overwrite behaviour.
Andrew Bartlett
(This used to be commit 9b9b7bae16a635d9a9ba72d21a4a4718d294c9b0)
|
|
attributes to backend (remote) attributes.
We can't do a reverse mapping safely where the remote attribute may be
a source for multiple local attributes. (We end up with the wrong
attributes returned).
In doing this, I've modified the samba3sam.js test to be more
realistic, and fixed some failures in the handling of primaryGroupID.
I've added a new (private) helper function ldb_msg_remove_element() to
avoid a double lookup of the element name.
I've also re-formatted many of the function headers, to fit into
standard editor widths.
Andrew Bartlett
(This used to be commit 186766e3095e71ba716c69e681592e217a3bc420)
|
|
as it's ugly when it free's the callers memory on failure!
- only steal the controls on a LDB_REPLY_EXTENDED, LDB_REPLY_DONE
and ignore them on LDB_REPLY_ENTRY, LDB_REPLY_REFERRAL as we currently
have not way to return them in a ldb_result (we should fix this!)
metze
(This used to be commit 47da62b15abf48f97ce6fc8dc4627792728349ae)
|