summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-06 07:34:16 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-03-07 12:46:13 +0100
commit781bb3617b9cf28dd001b919f970e60e74aac91d (patch)
tree37e0a9da7441e42b75fd2361f0fb7b848cb2c5e8 /source4/smb_server
parent8466b3c85e4b835e57e41776853093f4a0edc8b8 (diff)
downloadsamba-781bb3617b9cf28dd001b919f970e60e74aac91d.tar.gz
samba-781bb3617b9cf28dd001b919f970e60e74aac91d.tar.bz2
samba-781bb3617b9cf28dd001b919f970e60e74aac91d.zip
s4-smb_server: Put error from share_get_config() into the logs
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/smb/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb/service.c b/source4/smb_server/smb/service.c
index 7be21c14bd..9ad0f3894e 100644
--- a/source4/smb_server/smb/service.c
+++ b/source4/smb_server/smb/service.c
@@ -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;
}