svn commit: samba r20478 - in branches/SAMBA_3_0/source: script/tests smbd

vlendec at samba.org vlendec at samba.org
Tue Jan 2 15:01:43 GMT 2007


Author: vlendec
Date: 2007-01-02 15:01:43 +0000 (Tue, 02 Jan 2007)
New Revision: 20478

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

Log:
Make us survive & activate RAW-UNLINK
Modified:
   branches/SAMBA_3_0/source/script/tests/selftest.sh
   branches/SAMBA_3_0/source/script/tests/test_posix_s3.sh
   branches/SAMBA_3_0/source/smbd/reply.c


Changeset:
Modified: branches/SAMBA_3_0/source/script/tests/selftest.sh
===================================================================
--- branches/SAMBA_3_0/source/script/tests/selftest.sh	2007-01-02 14:53:45 UTC (rev 20477)
+++ branches/SAMBA_3_0/source/script/tests/selftest.sh	2007-01-02 15:01:43 UTC (rev 20478)
@@ -142,6 +142,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/source/script/tests/test_posix_s3.sh
===================================================================
--- branches/SAMBA_3_0/source/script/tests/test_posix_s3.sh	2007-01-02 14:53:45 UTC (rev 20477)
+++ branches/SAMBA_3_0/source/script/tests/test_posix_s3.sh	2007-01-02 15:01:43 UTC (rev 20478)
@@ -46,7 +46,7 @@
 skipped="$skipped RAW-ACLS RAW-CLOSE RAW-COMPOSITE RAW-CONTEXT RAW-EAS"
 skipped="$skipped RAW-IOCTL 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/source/smbd/reply.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/reply.c	2007-01-02 14:53:45 UTC (rev 20477)
+++ branches/SAMBA_3_0/source/smbd/reply.c	2007-01-02 15:01:43 UTC (rev 20478)
@@ -2074,7 +2074,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