diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-06-22 15:07:43 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-06-22 07:35:17 +0200 |
commit | 9d97bf3f47a591a71e96cad8a87ef13a2b277c9c (patch) | |
tree | f78151ab3e9a9ea72f89f933652669035272ff88 /source3/lib/dbwrap | |
parent | 1acf548eb75c9641e4e2c07167b42bc4380f9158 (diff) | |
download | samba-9d97bf3f47a591a71e96cad8a87ef13a2b277c9c.tar.gz samba-9d97bf3f47a591a71e96cad8a87ef13a2b277c9c.tar.bz2 samba-9d97bf3f47a591a71e96cad8a87ef13a2b277c9c.zip |
dbwrap: dbwrap_local_open()
This simply opens a tdb: it will eventually switch depending on the
extension.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'source3/lib/dbwrap')
-rw-r--r-- | source3/lib/dbwrap/dbwrap_open.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/dbwrap/dbwrap_open.c b/source3/lib/dbwrap/dbwrap_open.c index b7e6bd586f..e5adab7eaa 100644 --- a/source3/lib/dbwrap/dbwrap_open.c +++ b/source3/lib/dbwrap/dbwrap_open.c @@ -119,9 +119,9 @@ struct db_context *db_open(TALLOC_CTX *mem_ctx, if (result == NULL) { struct loadparm_context *lp_ctx = loadparm_init_s3(mem_ctx, loadparm_s3_context()); - result = db_open_tdb(mem_ctx, lp_ctx, name, hash_size, - tdb_flags, open_flags, mode, - lock_order); + result = dbwrap_local_open(mem_ctx, lp_ctx, name, hash_size, + tdb_flags, open_flags, mode, + lock_order); talloc_unlink(mem_ctx, lp_ctx); } return result; |