svn commit: samba r20527 - in branches/SAMBA_3_0_24/source: script/tests smbd

jra at samba.org jra at samba.org
Thu Jan 4 20:24:15 GMT 2007


Author: jra
Date: 2007-01-04 20:24:15 +0000 (Thu, 04 Jan 2007)
New Revision: 20527

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20527

Log:
Reviewed Volker's unlink change :

"Make us survive & activate RAW-UNLINK"

Jeremy.

Modified:
   branches/SAMBA_3_0_24/source/script/tests/selftest.sh
   branches/SAMBA_3_0_24/source/script/tests/test_posix_s3.sh
   branches/SAMBA_3_0_24/source/smbd/reply.c


Changeset:
Modified: branches/SAMBA_3_0_24/source/script/tests/selftest.sh
===================================================================
--- branches/SAMBA_3_0_24/source/script/tests/selftest.sh	2007-01-04 17:50:34 UTC (rev 20526)
+++ branches/SAMBA_3_0_24/source/script/tests/selftest.sh	2007-01-04 20:24:15 UTC (rev 20527)
@@ -140,6 +140,9 @@
 	path = $PREFIX_ABS/tmp
 	read only = no
 	smbd:sharedelay = 100000
+	map hidden = yes
+	map system = yes
+	create mask = 755
 [hideunread]
 	copy = tmp
 	hide unreadable = yes

Modified: branches/SAMBA_3_0_24/source/script/tests/test_posix_s3.sh
===================================================================
--- branches/SAMBA_3_0_24/source/script/tests/test_posix_s3.sh	2007-01-04 17:50:34 UTC (rev 20526)
+++ branches/SAMBA_3_0_24/source/script/tests/test_posix_s3.sh	2007-01-04 20:24:15 UTC (rev 20527)
@@ -46,7 +46,7 @@
 skipped="$skipped RAW-ACLS RAW-CLOSE RAW-COMPOSITE RAW-CONTEXT RAW-EAS"
 skipped="$skipped RAW-IOCTL RAW-MKDIR RAW-MUX RAW-NOTIFY RAW-OPEN"
 skipped="$skipped RAW-QFILEINFO RAW-QFSINFO RAW-RENAME RAW-SEARCH"
-skipped="$skipped RAW-SFILEINFO RAW-STREAMS RAW-UNLINK RAW-WRITE"
+skipped="$skipped RAW-SFILEINFO RAW-STREAMS RAW-WRITE"
 
 echo "WARNING: Skipping tests $skipped"
 

Modified: branches/SAMBA_3_0_24/source/smbd/reply.c
===================================================================
--- branches/SAMBA_3_0_24/source/smbd/reply.c	2007-01-04 17:50:34 UTC (rev 20526)
+++ branches/SAMBA_3_0_24/source/smbd/reply.c	2007-01-04 20:24:15 UTC (rev 20527)
@@ -2059,7 +2059,7 @@
 				/* Quick check for "." and ".." */
 				if (fname[0] == '.') {
 					if (!fname[1] || (fname[1] == '.' && !fname[2])) {
-						if ((dirtype & FILE_ATTRIBUTE_DIRECTORY) && (dirtype & FILE_ATTRIBUTE_SYSTEM)) {
+						if (dirtype & FILE_ATTRIBUTE_DIRECTORY) {
 							sys_direntry = True;
 						} else {
 							continue;



More information about the samba-cvs mailing list