From 781bb3617b9cf28dd001b919f970e60e74aac91d Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 6 Mar 2012 07:34:16 +1100 Subject: s4-smb_server: Put error from share_get_config() into the logs --- source4/smb_server/smb/service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/smb_server') 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; } -- cgit