summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2004-08-24 13:26:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:28 -0500
commite091cd81480ca14118dab1ae76c37f7bf891c295 (patch)
treed0191e963074b8f3aa2734e5315b23491dfc6c75
parentba183f876ecb3bfcf534752e8ab5f8c1373ddac7 (diff)
downloadsamba-e091cd81480ca14118dab1ae76c37f7bf891c295.tar.gz
samba-e091cd81480ca14118dab1ae76c37f7bf891c295.tar.bz2
samba-e091cd81480ca14118dab1ae76c37f7bf891c295.zip
r2016: Add message to ease access-control-debugging.
Guenther (This used to be commit bc64bb0d206c54487e372824a14c38a4ba8f3c5a)
-rw-r--r--source3/smbd/uid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index de2f96450f..77dc19b87b 100644
--- a/source3/smbd/uid.c
+++ b/source3/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)) {