mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
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@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Thu Jul 16 20:24:47 CEST 2015 on sn-devel-104
This commit is contained in:
parent
5b3ed904ca
commit
f58ecfdbfc
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user