summaryrefslogtreecommitdiff
path: root/source3/libsmb/libsmb_stat.c
diff options
context:
space:
mode:
authorLuk Claes <luk@debian.org>2013-05-17 20:46:24 +0200
committerMichael Adam <obnox@samba.org>2013-10-17 16:15:05 +0200
commit114e33717df8b49239ac08399a379a8363d33b85 (patch)
treed09c8ecdfbcbf4ee3fde71861df5569f5d45b23f /source3/libsmb/libsmb_stat.c
parent451b11251f7f3a517f94c5d57dab327a30bab52f (diff)
downloadsamba-114e33717df8b49239ac08399a379a8363d33b85.tar.gz
samba-114e33717df8b49239ac08399a379a8363d33b85.tar.bz2
samba-114e33717df8b49239ac08399a379a8363d33b85.zip
s3/libsmb: Use smbXcli_conn_dfs_supported instead of test on CAP_DFS
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10200 Signed-off-by: Luk Claes <luk@debian.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/libsmb/libsmb_stat.c')
-rw-r--r--source3/libsmb/libsmb_stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/libsmb_stat.c b/source3/libsmb/libsmb_stat.c
index fbbd887edf..dc59f9cc82 100644
--- a/source3/libsmb/libsmb_stat.c
+++ b/source3/libsmb/libsmb_stat.c
@@ -469,7 +469,7 @@ SMBC_fstatvfs_ctx(SMBCCTX *context,
}
/* See if DFS is supported */
- if ((smb1cli_conn_capabilities(cli->conn) & CAP_DFS) && cli->dfsroot) {
+ if (smbXcli_conn_dfs_supported(cli->conn) && cli->dfsroot) {
flags |= SMBC_VFS_FEATURE_DFS;
}