summaryrefslogtreecommitdiff
path: root/libcli/auth
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-06-19 12:43:10 +0930
committerRusty Russell <rusty@rustcorp.com.au>2012-06-19 05:38:07 +0200
commit13ac664a6d264564da16078f0b5fb9b7df6e185f (patch)
tree2524f8d37282d0f19defa9c9bee940d9b55c30c0 /libcli/auth
parent316e5e376c793d1f9882eebddbbd855cf121cce4 (diff)
downloadsamba-13ac664a6d264564da16078f0b5fb9b7df6e185f.tar.gz
samba-13ac664a6d264564da16078f0b5fb9b7df6e185f.tar.bz2
samba-13ac664a6d264564da16078f0b5fb9b7df6e185f.zip
libcli: use tdb directly, not tdb_compat.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'libcli/auth')
-rw-r--r--libcli/auth/schannel_state_tdb.c4
1 files changed, 2 insertions, 2 deletions
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;
}