libcli: Add error log if insufficient SMB2 credits
commitbf229de7926f12e329cdb3201f68f20ae776fe32
authorTim Beale <timbeale@catalyst.net.nz>
Sun, 6 Jan 2019 23:06:15 +0000 (7 12:06 +1300)
committerStefan Metzmacher <metze@samba.org>
Wed, 9 Jan 2019 21:39:26 +0000 (9 22:39 +0100)
tree365fee88aed2df1cacb3458a7d651063fc79d463
parent08867de2efde05e4730b41a335d13f775e44e397
libcli: Add error log if insufficient SMB2 credits

Although it's unusual to hit this case, I was seeing it happen while
working on the SMB python bindings. Even with debug level 10, there was
nothing coming out to help pin down the source of the
NT_STATUS_INTERNAL_ERROR.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13736

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
libcli/smb/smbXcli_base.c