schannel_store.tdb: make it schannel_store.ntdb if 'use ntdb'.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 11 Apr 2013 07:42:13 +0000 (17:12 +0930)
committerJeremy Allison <jra@samba.org>
Fri, 12 Apr 2013 21:59:34 +0000 (14:59 -0700)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Jeremy Allison <jra@samba.org>
libcli/auth/schannel_state_tdb.c

index e9435c050184fbecb540b6e69a9d775e37eb6cbc..8f9c1f0687a1edd19142f493328578a3000245a1 100644 (file)
@@ -41,7 +41,7 @@ struct db_context *open_schannel_session_store(TALLOC_CTX *mem_ctx,
                                               struct loadparm_context *lp_ctx)
 {
        struct db_context *db_sc = NULL;
-       char *fname = lpcfg_private_path(mem_ctx, lp_ctx, "schannel_store.tdb");
+       char *fname = lpcfg_private_db_path(mem_ctx, lp_ctx, "schannel_store");
 
        if (!fname) {
                return NULL;