From: Günther Deschner Date: Tue, 24 Aug 2004 13:26:31 +0000 (+0000) Subject: r2016: Add message to ease access-control-debugging. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5878 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc64bb0d206c54487e372824a14c38a4ba8f3c5a;p=thirdparty%2Fsamba.git r2016: Add message to ease access-control-debugging. Guenther --- diff --git a/source/smbd/uid.c b/source/smbd/uid.c index de2f96450fc..77dc19b87bf 100644 --- a/source/smbd/uid.c +++ b/source/smbd/uid.c @@ -130,6 +130,7 @@ static BOOL check_user_ok(connection_struct *conn, user_struct *vuser,int snum) /* smb.conf allows r/w, but the security descriptor denies * write. Fall back to looking at readonly. */ readonly_share = True; + DEBUG(5,("falling back to read-only access-evaluation due to security descriptor\n")); } if (!share_access_check(conn, snum, vuser, readonly_share ? FILE_READ_DATA : FILE_WRITE_DATA)) {