[SCM] Samba Shared Repository - branch master updated
Ralph Böhme
slow at samba.org
Thu Jul 16 18:25:06 UTC 2015
The branch, master has been updated
via f58ecfd s3:smbd: change a loglevel from 0 to 1 when SMB_VFS_CONNECT fails
via 5b3ed90 vfs_shadow_copy2: change log level from 0 to 1 and log share path
from 2c1c567 winbindd: shorten client list scan
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit f58ecfdbfc70ea76ca330e9fc551df0d22b6baa4
Author: Ralph Boehme <slow at samba.org>
Date: Thu Jun 25 18:44:44 2015 +0200
s3:smbd: change a loglevel from 0 to 1 when SMB_VFS_CONNECT fails
Logging at level 0 may result in log flooding. Additionally log the
share name that failed in SMB_VFS_CONNECT.
Signed-off-by: Ralph Boehme <slow at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
Autobuild-User(master): Ralph Böhme <slow at samba.org>
Autobuild-Date(master): Thu Jul 16 20:24:47 CEST 2015 on sn-devel-104
commit 5b3ed904ca6689801dacc79ba6983ef3a41a14f6
Author: Ralph Boehme <slow at samba.org>
Date: Thu Jun 25 18:43:50 2015 +0200
vfs_shadow_copy2: change log level from 0 to 1 and log share path
Signed-off-by: Ralph Boehme <slow at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
-----------------------------------------------------------------------
Summary of changes:
source3/modules/vfs_shadow_copy2.c | 5 +++--
source3/smbd/service.c | 4 +++-
2 files changed, 6 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c
index e522686..4d2ec54 100644
--- a/source3/modules/vfs_shadow_copy2.c
+++ b/source3/modules/vfs_shadow_copy2.c
@@ -1875,8 +1875,9 @@ static int shadow_copy2_connect(struct vfs_handle_struct *handle,
config->mount_point = shadow_copy2_find_mount_point(config,
handle);
if (config->mount_point == NULL) {
- DEBUG(0, (__location__ ": shadow_copy2_find_mount_point"
- " failed: %s\n", strerror(errno)));
+ DBG_WARNING("shadow_copy2_find_mount_point "
+ "of the share root '%s' failed: %s\n",
+ handle->conn->connectpath, strerror(errno));
return -1;
}
}
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 0544967..ba8946d 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -669,7 +669,9 @@ static NTSTATUS make_connection_snum(struct smbXsrv_connection *xconn,
if (SMB_VFS_CONNECT(conn, lp_servicename(talloc_tos(), snum),
conn->session_info->unix_info->unix_name) < 0) {
- DEBUG(0,("make_connection: VFS make connection failed!\n"));
+ DBG_WARNING("SMB_VFS_CONNECT for service '%s' at '%s' failed: %s\n",
+ lp_servicename(talloc_tos(), snum), conn->connectpath,
+ strerror(errno));
status = NT_STATUS_UNSUCCESSFUL;
goto err_root_exit;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list