Merge tag 'upstream/4.0.5+dfsg1' into samba_4.0_ivo
[abartlet/samba-debian.git] / source4 / smb_server / smb / service.c
index 7be21c14bd0c2b1ef38f3f522ddad27816048712..9ad0f3894ed3f852b37add476984880d3cb6c35f 100644 (file)
@@ -124,7 +124,7 @@ static NTSTATUS make_connection(struct smbsrv_request *req,
 
        status = share_get_config(req, req->smb_conn->share_context, service, &scfg);
        if (!NT_STATUS_IS_OK(status)) {
-               DEBUG(0,("make_connection: couldn't find service %s\n", service));
+               DEBUG(0,("make_connection: couldn't find service %s: %s\n", service, nt_errstr(status)));
                return NT_STATUS_BAD_NETWORK_NAME;
        }