From e091cd81480ca14118dab1ae76c37f7bf891c295 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 24 Aug 2004 13:26:31 +0000 Subject: r2016: Add message to ease access-control-debugging. Guenther (This used to be commit bc64bb0d206c54487e372824a14c38a4ba8f3c5a) --- source3/smbd/uid.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/smbd') 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)) { -- cgit