svn commit: samba r2016 - branches/SAMBA_3_0/source/smbd trunk/source/smbd

gd at samba.org gd at samba.org
Tue Aug 24 13:26:31 GMT 2004


Author: gd
Date: 2004-08-24 13:26:31 +0000 (Tue, 24 Aug 2004)
New Revision: 2016

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=2016&nolog=1

Log:
Add message to ease access-control-debugging.

Guenther

Modified:
   branches/SAMBA_3_0/source/smbd/uid.c
   trunk/source/smbd/uid.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/uid.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/uid.c	2004-08-24 13:02:56 UTC (rev 2015)
+++ branches/SAMBA_3_0/source/smbd/uid.c	2004-08-24 13:26:31 UTC (rev 2016)
@@ -130,6 +130,7 @@
 		/* 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)) {

Modified: trunk/source/smbd/uid.c
===================================================================
--- trunk/source/smbd/uid.c	2004-08-24 13:02:56 UTC (rev 2015)
+++ trunk/source/smbd/uid.c	2004-08-24 13:26:31 UTC (rev 2016)
@@ -130,6 +130,7 @@
 		/* 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)) {



More information about the samba-cvs mailing list