From 13ac664a6d264564da16078f0b5fb9b7df6e185f Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 19 Jun 2012 12:43:10 +0930 Subject: libcli: use tdb directly, not tdb_compat. Signed-off-by: Rusty Russell --- libcli/auth/schannel_state_tdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libcli/auth') diff --git a/libcli/auth/schannel_state_tdb.c b/libcli/auth/schannel_state_tdb.c index 5d5ddcc45d..6abb69b2e1 100644 --- a/libcli/auth/schannel_state_tdb.c +++ b/libcli/auth/schannel_state_tdb.c @@ -23,7 +23,7 @@ #include "includes.h" #include "system/filesys.h" -#include "../lib/tdb_compat/tdb_compat.h" +#include "../lib/tdb/include/tdb.h" #include "../lib/util/util_tdb.h" #include "../lib/param/param.h" #include "../libcli/auth/schannel.h" @@ -101,7 +101,7 @@ NTSTATUS schannel_store_session_key_tdb(struct tdb_wrap *tdb_sc, ret = tdb_store_bystring(tdb_sc->tdb, keystr, value, TDB_REPLACE); if (ret != TDB_SUCCESS) { DEBUG(0,("Unable to add %s to session key db - %s\n", - keystr, tdb_errorstr_compat(tdb_sc->tdb))); + keystr, tdb_errorstr(tdb_sc->tdb))); talloc_free(keystr); return NT_STATUS_INTERNAL_DB_CORRUPTION; } -- cgit