summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-02-26 10:09:36 +0100
committerStefan Metzmacher <metze@samba.org>2010-02-26 10:43:46 +0100
commitd671b80cf5ebd4a4a2d832d90aeef27cacfb521a (patch)
tree6443cf3ea4bae5829a7ee70454d492d923c3f771 /libcli
parent81bb8f67fa50acb914a428b5468fe39643cecb78 (diff)
downloadsamba-d671b80cf5ebd4a4a2d832d90aeef27cacfb521a.tar.gz
samba-d671b80cf5ebd4a4a2d832d90aeef27cacfb521a.tar.bz2
samba-d671b80cf5ebd4a4a2d832d90aeef27cacfb521a.zip
libcli/auth: print the error in the debug message
metze
Diffstat (limited to 'libcli')
-rw-r--r--libcli/auth/schannel_state_tdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcli/auth/schannel_state_tdb.c b/libcli/auth/schannel_state_tdb.c
index fd61b0a38a..0ec928f9d1 100644
--- a/libcli/auth/schannel_state_tdb.c
+++ b/libcli/auth/schannel_state_tdb.c
@@ -57,7 +57,8 @@ static struct tdb_wrap *open_schannel_session_store(TALLOC_CTX *mem_ctx,
tdb_sc = tdb_wrap_open(mem_ctx, fname, 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
if (!tdb_sc) {
- DEBUG(0,("open_schannel_session_store: Failed to open %s\n", fname));
+ DEBUG(0,("open_schannel_session_store: Failed to open %s - %s\n",
+ fname, strerror(errno)));
TALLOC_FREE(fname);
return NULL;
}