mirror of
https://github.com/samba-team/samba.git
synced 2025-11-14 12:23:52 +03:00
r5585: LDB interfaces change:
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 commit is contained in:
committed by
Gerald (Jerry) Carter
parent
e77a070c84
commit
d58be9e74b
@@ -67,16 +67,6 @@ static const char *lldb_option_find(const struct lldb_private *lldb, const char
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
close/free the connection
|
||||
*/
|
||||
static int lldb_close(struct ldb_module *module)
|
||||
{
|
||||
struct ldb_context *ldb = module->ldb;
|
||||
talloc_free(ldb);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
rename a record
|
||||
*/
|
||||
@@ -468,7 +458,6 @@ static const char *lldb_errstring(struct ldb_module *module)
|
||||
|
||||
static const struct ldb_module_ops lldb_ops = {
|
||||
"ldap",
|
||||
lldb_close,
|
||||
lldb_search,
|
||||
lldb_search_free,
|
||||
lldb_add,
|
||||
|
||||
Reference in New Issue
Block a user