svn commit: samba r16671 - in branches/SAMBA_4_0/source/smb_server: .

metze at samba.org metze at samba.org
Thu Jun 29 12:39:41 GMT 2006


Author: metze
Date: 2006-06-29 12:39:41 +0000 (Thu, 29 Jun 2006)
New Revision: 16671

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

Log:
allow usage of smbsrv_pull_passthru_sfileinfo() without,
a smbsrv_request given...

the RENAME level is not supported in this mode, but that will be fixed later

metze
Modified:
   branches/SAMBA_4_0/source/smb_server/blob.c


Changeset:
Modified: branches/SAMBA_4_0/source/smb_server/blob.c
===================================================================
--- branches/SAMBA_4_0/source/smb_server/blob.c	2006-06-29 11:17:37 UTC (rev 16670)
+++ branches/SAMBA_4_0/source/smb_server/blob.c	2006-06-29 12:39:41 UTC (rev 16671)
@@ -544,6 +544,13 @@
 		return NT_STATUS_OK;
 
 	case RAW_SFILEINFO_RENAME_INFORMATION:
+		if (!req) {
+			/* 
+			 * TODO: get rid of smbsrv_request argument of
+			 * smbsrv_blob_pull_string()
+			 */
+			return NT_STATUS_NOT_IMPLEMENTED;
+		}
 		BLOB_CHECK_MIN_SIZE(blob, 12);
 
 		st->rename_information.in.overwrite = CVAL(blob->data, 0);



More information about the samba-cvs mailing list