1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

libcli/auth: print the error in the debug message

metze
This commit is contained in:
Stefan Metzmacher 2010-02-26 10:09:36 +01:00
parent 81bb8f67fa
commit d671b80cf5

View File

@ -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;
}