Age | Commit message (Collapse) | Author | Files | Lines |
|
instead of a search expression. This allows our ldap server to pass
its ASN.1 parsed search expressions straight to ldb, instead of going
via strings.
- updated all the ldb modules code to handle the new interface
- got rid of the separate ldb_parse.h now that the ldb_parse
structures are exposed externally
- moved to C99 structure initialisation in ldb
- switched ldap server to using ldb_search_bytree()
(This used to be commit 96620ab2ee5d440bbbc51c1bc0cad9977770f897)
|
|
metze
(This used to be commit 03b1ff48f97fa81c515f90a398c6f8cde579cb51)
|
|
(This used to be commit a97eb63c11be6ce2bb94bca61078b303f15c9b9a)
|
|
rest of the code
(This used to be commit 9f0963c97f94687a1226d224f80b2aac1128d1a0)
|
|
Just use talloc_free() to release the memory after an ldb_search().
(This used to be commit 4f0948dab0aa5e8b6a4ce486f3668ca8dfae23db)
|
|
(This used to be commit 5a598f5da17b60ad52b2ae9d8e4484286e492a1f)
|
|
(This used to be commit 80dfac3640443a41f7e45e9164ca1a6749494011)
|
|
rectify the test schema
correct a glitch in schema module
(This used to be commit 0579b5f7adfe160be8ecf124934b6593a02ed06f)
|
|
changes:
- ldb_wrap disappears from code and become a private structure of db_wrap.c
thanks to our move to talloc in ldb code, we do not need to expose it anymore
- removal of ldb_close() function form the code
thanks to our move to talloc in ldb code, we do not need it anymore
use talloc_free() to close and free an ldb database
- some minor updates to ldb modules code to cope with the change and fix some
bugs I found out during the process
(This used to be commit d58be9e74b786a11a57e89df36081d55730dfe0a)
|
|
(This used to be commit e7262dccce1ccc563fad48023c733c1d13929b4b)
|
|
- fix check for deletion of required attributes on modify
removed by mistake with the previous commits
(This used to be commit 0315159daf157b64ef3452372dd74199600e24b8)
|
|
- Try to no tcopy memory if not necessary
- let the searches hang around until we finish the operation
- greatly simplify the modify operation
still todo:
- check attributes syntax
- check objectclasses type, we cannot allow to add a new structural
objectclass to an exixting entry unless the existing one is a parent
- more tests
(This used to be commit c6257379e094881987cd11e05502129b2ce1c5a0)
|
|
- Change 0 to NULL when checking allocations
- Introduce the schema_attr_cmp hepler function
- Do not allow auxiliary classes to be missing
- Try to ease code readability and try to get
main code out of loops when possibile.
(This used to be commit a30f647b8abe6b77ef73018f58af2f8a11689b91)
|
|
(This used to be commit b221c3dbb9a7af88f917562b6f907fd0617eb05f)
|
|
control entries
(This used to be commit e895fcf4a33aeaf228d8b4b367c4e768506275bb)
|
|
add the new test-schema test
(This used to be commit 42a20f6fa4073fc5ea1ca6254137a4ef53caee01)
|
|
"distinguishedName" checking in that module is incorrect and should be
removed, but meanwhile, lets not make it slow down the compile of
every other module.
(This used to be commit 6534ce650bef7405e0926c9b75b185943429ed18)
|
|
dn/distinguishedName case alias
(This used to be commit 18cd6cb67404830b8a5d28fa4106dadb275a5222)
|
|
check required attributes are not deleted on modify operation
if the objectclass is deleted then deny the operation if
orphan atributes are left behind
(This used to be commit 8c11038d67c495f8d5f06cf1fdfe976088864b45)
|
|
this helps standalone building of ldb
renew the schema module
split code into functions to improve readability and code reuse
add and modify works correctly but we need a proper testsuite
Simo
(This used to be commit a681ae365ff1b5a2771b42ebd90336651ce1e513)
|
|
still not complete but works with add and replace, not tested with delete
lot of duplicated code to remove
(This used to be commit ea051f6cd39d0e729bb425eb08034a0eee0996dc)
|
|
metze
(This used to be commit 1c6accd7cbf9ccb7f642b85200671b9d4fe23f47)
|
|
To use it you should provide a schema.ldb file where the schema is stored
and load the module in the ldb you want to have schema check activated
more info soon.
currently schema checks are performed only on new object creation not on modifications
Simo.
(This used to be commit b8bb62f14419efd434a344606fb3f753384761a0)
|
|
(This used to be commit d11732f4f7f9bc535222aa7a6dd2f15cf5002a4d)
|
|
(This used to be commit 985a58a16d04f3b92b4bbff86f6c466385f01321)
|
|
- added gcov flags to Makefile.ldb
- expanded ldb test suite to get more coverage
(This used to be commit 0ab98f50a7e0fe15347a99e5c29a6590a87729a0)
|
|
(This used to be commit a99c0adb09e2bc77b876d23cb2d0711ccffd83ca)
|
|
- split ldh.h out of samba's includes.h
- make ldb_context and ldb_module private to the subsystem
- use ltdb_ prefix for all ldb_tdb functions
metze
(This used to be commit f5ee40d6ce8224e280070975efc9911558fe675c)
|
|
(This used to be commit 0b715b6ce21d23970d207d57e90133be17790d15)
|