svn commit: samba r20660 - in branches/SAMBA_3_0_24/source/smbd: .

jra at samba.org jra at samba.org
Wed Jan 10 18:40:31 GMT 2007


Author: jra
Date: 2007-01-10 18:40:30 +0000 (Wed, 10 Jan 2007)
New Revision: 20660

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

Log:
126 operations - getting close now....
Jeremy.

Modified:
   branches/SAMBA_3_0_24/source/smbd/reply.c


Changeset:
Modified: branches/SAMBA_3_0_24/source/smbd/reply.c
===================================================================
--- branches/SAMBA_3_0_24/source/smbd/reply.c	2007-01-10 18:23:06 UTC (rev 20659)
+++ branches/SAMBA_3_0_24/source/smbd/reply.c	2007-01-10 18:40:30 UTC (rev 20660)
@@ -1838,7 +1838,7 @@
 		struct smb_Dir *dir_hnd = NULL;
 		const char *dname;
 		
-		if (dirtype == aDIR && mask[0] == '*' && mask[1] == '\0') {
+		if (((dirtype & SAMBA_ATTRIBUTES_MASK) == aDIR) && ms_has_wild(mask)) {
 			return NT_STATUS_OBJECT_NAME_INVALID;
 		}
 



More information about the samba-cvs mailing list