diff options
author | Jeremy Allison <jra@samba.org> | 2013-08-07 16:47:21 -0700 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-08-15 09:07:07 +0200 |
commit | 2bb3e251d59910d9bf527a73271094702bceefe2 (patch) | |
tree | e583af6b56e275c9547d9a731fe263657f1b960a /source3/libsmb | |
parent | e96309ca1b057d430444531523bb2c9f59fcd624 (diff) | |
download | samba-2bb3e251d59910d9bf527a73271094702bceefe2.tar.gz samba-2bb3e251d59910d9bf527a73271094702bceefe2.tar.bz2 samba-2bb3e251d59910d9bf527a73271094702bceefe2.zip |
s3:libsmb: Plumb cli_smb2_qfileinfo_basic() inside cli_qfileinfo_basic().
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clirap.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c index bb4f3340a0..06dea826ff 100644 --- a/source3/libsmb/clirap.c +++ b/source3/libsmb/clirap.c @@ -1149,6 +1149,18 @@ NTSTATUS cli_qfileinfo_basic(struct cli_state *cli, uint16_t fnum, uint32_t num_rdata; NTSTATUS status; + if (smbXcli_conn_protocol(cli->conn) >= PROTOCOL_SMB2_02) { + return cli_smb2_qfileinfo_basic(cli, + fnum, + mode, + size, + create_time, + access_time, + write_time, + change_time, + ino); + } + /* if its a win95 server then fail this - win95 totally screws it up */ if (cli->win95) { |