diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-11-30 18:04:42 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-12-01 00:14:40 +0100 |
commit | 29c4f3fa61c7bea39abecbd52f7170b97a9d53d3 (patch) | |
tree | c2dda5f004d1d654ed038f8f439520e663e49663 | |
parent | 4ea840c3a50557a5c084694d5d30fc3d0532f4ff (diff) | |
download | samba-29c4f3fa61c7bea39abecbd52f7170b97a9d53d3.tar.gz samba-29c4f3fa61c7bea39abecbd52f7170b97a9d53d3.tar.bz2 samba-29c4f3fa61c7bea39abecbd52f7170b97a9d53d3.zip |
s4-smb_server Return why the ntvfs_connect() failed.
Andrew Bartlett
-rw-r--r-- | source4/smb_server/smb2/tcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb2/tcon.c b/source4/smb_server/smb2/tcon.c index 4247ef8723..0dac29cf57 100644 --- a/source4/smb_server/smb2/tcon.c +++ b/source4/smb_server/smb2/tcon.c @@ -345,7 +345,7 @@ static NTSTATUS smb2srv_tcon_backend(struct smb2srv_request *req, union smb_tcon /* Invoke NTVFS connection hook */ status = ntvfs_connect(req->ntvfs, io); if (!NT_STATUS_IS_OK(status)) { - DEBUG(0,("smb2srv_tcon_backend: NTVFS ntvfs_connect() failed!\n")); + DEBUG(0,("smb2srv_tcon_backend: NTVFS ntvfs_connect() failed: %s!\n", nt_errstr(status))); goto failed; } |