From 3c9c06ac05635dc0af3b29b15c3f568cbf57afdd Mon Sep 17 00:00:00 2001 From: Luk Claes Date: Sat, 19 May 2012 18:23:40 +0200 Subject: s3:libsmb: get rid of cli_state_capabilities Signed-off-by: Luk Claes Signed-off-by: Stefan Metzmacher --- source3/libsmb/libsmb_file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/libsmb/libsmb_file.c') diff --git a/source3/libsmb/libsmb_file.c b/source3/libsmb/libsmb_file.c index c09011bb0a..9521542cb2 100644 --- a/source3/libsmb/libsmb_file.c +++ b/source3/libsmb/libsmb_file.c @@ -26,7 +26,7 @@ #include "libsmb/libsmb.h" #include "libsmbclient.h" #include "libsmb_internal.h" - +#include "../libcli/smb/smbXcli_base.h" /* * Routine to open() a file ... @@ -551,7 +551,7 @@ SMBC_getatr(SMBCCTX * context, } /* if this is NT then don't bother with the getatr */ - if (cli_state_capabilities(targetcli) & CAP_NT_SMBS) { + if (smb1cli_conn_capabilities(targetcli->conn) & CAP_NT_SMBS) { errno = EPERM; TALLOC_FREE(frame); return False; -- cgit