git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81bb8f6
)
libcli/auth: print the error in the debug message
author
Stefan Metzmacher
<metze@samba.org>
Fri, 26 Feb 2010 09:09:36 +0000
(10:09 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 26 Feb 2010 09:43:46 +0000
(10:43 +0100)
metze
libcli/auth/schannel_state_tdb.c
patch
|
blob
|
history
diff --git
a/libcli/auth/schannel_state_tdb.c
b/libcli/auth/schannel_state_tdb.c
index fd61b0a38a8350e73ae0cdaae9875fa6b6bd57a9..0ec928f9d154a4fb5568714e8aa17da447d12428 100644
(file)
--- 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;
}