diff options
author | Richard Sharpe <realrichardsharpe@gmail.com> | 2015-03-24 07:16:26 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2015-03-27 01:24:47 +0100 |
commit | f0e9ba91c0610b038cb2c3d7a487e0d904855dc5 (patch) | |
tree | 0494690a143a7c38cb9ca966b1f43f0cc56bcfde /libcli | |
parent | 70d20da561088a04bf8d87f31771228a8ffccea8 (diff) | |
download | samba-f0e9ba91c0610b038cb2c3d7a487e0d904855dc5.tar.gz |
Rename SMB2_OP_FIND to SMB2_OP_QUERY_DIRECTORY so that it conforms with the MS document MS-SMB2.
Signed-off-by: Richard Sharpe <rsharpe@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Mar 27 01:24:47 CET 2015 on sn-devel-104
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/smb/smb2_constants.h | 38 | ||||
-rw-r--r-- | libcli/smb/smb2cli_query_directory.c | 2 |
2 files changed, 20 insertions, 20 deletions
diff --git a/libcli/smb/smb2_constants.h b/libcli/smb/smb2_constants.h index 1a6c5ad16e0..baee847b10d 100644 --- a/libcli/smb/smb2_constants.h +++ b/libcli/smb/smb2_constants.h @@ -67,25 +67,25 @@ #define SMB2_HDR_FLAG_REPLAY_OPERATION 0x20000000 /* SMB2 opcodes */ -#define SMB2_OP_NEGPROT 0x00 -#define SMB2_OP_SESSSETUP 0x01 -#define SMB2_OP_LOGOFF 0x02 -#define SMB2_OP_TCON 0x03 -#define SMB2_OP_TDIS 0x04 -#define SMB2_OP_CREATE 0x05 -#define SMB2_OP_CLOSE 0x06 -#define SMB2_OP_FLUSH 0x07 -#define SMB2_OP_READ 0x08 -#define SMB2_OP_WRITE 0x09 -#define SMB2_OP_LOCK 0x0a -#define SMB2_OP_IOCTL 0x0b -#define SMB2_OP_CANCEL 0x0c -#define SMB2_OP_KEEPALIVE 0x0d -#define SMB2_OP_FIND 0x0e -#define SMB2_OP_NOTIFY 0x0f -#define SMB2_OP_GETINFO 0x10 -#define SMB2_OP_SETINFO 0x11 -#define SMB2_OP_BREAK 0x12 +#define SMB2_OP_NEGPROT 0x00 +#define SMB2_OP_SESSSETUP 0x01 +#define SMB2_OP_LOGOFF 0x02 +#define SMB2_OP_TCON 0x03 +#define SMB2_OP_TDIS 0x04 +#define SMB2_OP_CREATE 0x05 +#define SMB2_OP_CLOSE 0x06 +#define SMB2_OP_FLUSH 0x07 +#define SMB2_OP_READ 0x08 +#define SMB2_OP_WRITE 0x09 +#define SMB2_OP_LOCK 0x0a +#define SMB2_OP_IOCTL 0x0b +#define SMB2_OP_CANCEL 0x0c +#define SMB2_OP_KEEPALIVE 0x0d +#define SMB2_OP_QUERY_DIRECTORY 0x0e +#define SMB2_OP_NOTIFY 0x0f +#define SMB2_OP_GETINFO 0x10 +#define SMB2_OP_SETINFO 0x11 +#define SMB2_OP_BREAK 0x12 #define SMB2_MAGIC 0x424D53FE /* 0xFE 'S' 'M' 'B' */ diff --git a/libcli/smb/smb2cli_query_directory.c b/libcli/smb/smb2cli_query_directory.c index bccc5294552..d1ccdb808e7 100644 --- a/libcli/smb/smb2cli_query_directory.c +++ b/libcli/smb/smb2cli_query_directory.c @@ -87,7 +87,7 @@ struct tevent_req *smb2cli_query_directory_send(TALLOC_CTX *mem_ctx, dyn_len = sizeof(state->dyn_pad); } - subreq = smb2cli_req_send(state, ev, conn, SMB2_OP_FIND, + subreq = smb2cli_req_send(state, ev, conn, SMB2_OP_QUERY_DIRECTORY, 0, 0, /* flags */ timeout_msec, tcon, |