[SCM] Samba Shared Repository - branch master updated
Jeremy Allison
jra at samba.org
Wed Jul 30 17:18:04 MDT 2014
The branch, master has been updated
via 9ee7b02 smbd: Change logging level for denied share access
from 27b0d97 s3:param: move a variable into scope in lp_file_list_changed
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 9ee7b022e5cbf13f2fc8c6f8c556553eb2ef9f06
Author: Christof Schmitt <cs at samba.org>
Date: Wed Jul 30 08:42:33 2014 -0700
smbd: Change logging level for denied share access
A user without access in the share acl can easily trigger those
warnings. Change the logging level, so that they do not appear with the
default logging level.
Signed-off-by: Christof Schmitt <cs at samba.org>
Reviewed-by: Jeremy Allison <jra at samba.org>
Autobuild-User(master): Jeremy Allison <jra at samba.org>
Autobuild-Date(master): Thu Jul 31 01:17:30 CEST 2014 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/msdfs.c | 2 +-
source3/smbd/uid.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c
index 1239ade..98e406a 100644
--- a/source3/smbd/msdfs.c
+++ b/source3/smbd/msdfs.c
@@ -312,7 +312,7 @@ static NTSTATUS create_conn_struct_as_root(TALLOC_CTX *ctx,
if ((conn->share_access & FILE_WRITE_DATA) == 0) {
if ((conn->share_access & FILE_READ_DATA) == 0) {
/* No access, read or write. */
- DEBUG(0,("create_conn_struct: connection to %s "
+ DEBUG(3,("create_conn_struct: connection to %s "
"denied due to security "
"descriptor.\n",
servicename));
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index 16c0e3b..6eb5392 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -147,7 +147,7 @@ NTSTATUS check_user_share_access(connection_struct *conn,
if ((share_access & (FILE_READ_DATA|FILE_WRITE_DATA)) == 0) {
/* No access, read or write. */
- DEBUG(0,("user %s connection to %s denied due to share "
+ DEBUG(3,("user %s connection to %s denied due to share "
"security descriptor.\n",
session_info->unix_info->unix_name,
lp_servicename(talloc_tos(), snum)));
--
Samba Shared Repository
More information about the samba-cvs
mailing list