git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3/libsmb: Use smbXcli_conn_nt_smbs_supported instead of SMB1 specific test
[obnox/samba/samba-obnox.git]
/
source3
/
libsmb
/
libsmb_file.c
diff --git
a/source3/libsmb/libsmb_file.c
b/source3/libsmb/libsmb_file.c
index 9521542cb274a3c84fd4ff7d7b75dd450218f37a..14080fe1c79a2c06d1d331378066511701adec5e 100644
(file)
--- a/
source3/libsmb/libsmb_file.c
+++ b/
source3/libsmb/libsmb_file.c
@@
-551,7
+551,7
@@
SMBC_getatr(SMBCCTX * context,
}
/* if this is NT then don't bother with the getatr */
- if (smb
1cli_conn_capabilities(targetcli->conn) & CAP_NT_SMBS
) {
+ if (smb
Xcli_conn_nt_smbs_supported(targetcli->conn)
) {
errno = EPERM;
TALLOC_FREE(frame);
return False;