SMB NTIOCTL samba4

Stefan Metzmacher metze at metzemix.de
Mon Jan 5 07:49:27 GMT 2004


Hi tridge,

	/* struct for NT ioctl call */
	struct {
		enum ioctl_level level;
		struct {
			uint32 function;
			uint16 fnum;
			BOOL fsctl;
			uint8 filter;
		} in;
		struct {
			DATA_BLOB blob;
		} out;
	} ntioctl;

there should be a DATA_BLOB blob; in the 'in' struct too!
the FSCTL_FIND_FILES_BY_SID call has input data.

maybe this also applies to
	/* struct for SMBioctl */
	struct {
		enum ioctl_level level;
		struct {
			uint16 fnum;
			uint32 request;
		} in;
		struct {
			DATA_BLOB blob;
		} out;
	} ioctl;

but have not checked
-- 

metze

-------------------------------------------
Stefan (metze) Metzmacher <metze at metzemix.de>


More information about the samba-technical mailing list