git.samba.org
/
mat
/
samba.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_use_unicode instead of smb1 specific test
[mat/samba.git]
/
source3
/
libsmb
/
clidfs.c
diff --git
a/source3/libsmb/clidfs.c
b/source3/libsmb/clidfs.c
index 57126e62338b46c78ae8febe77d6256f5d29c434..e311adab27351478046d38e5592f50b0b507c957 100644
(file)
--- a/
source3/libsmb/clidfs.c
+++ b/
source3/libsmb/clidfs.c
@@
-622,7
+622,7
@@
static bool cli_dfs_check_error(struct cli_state *cli, NTSTATUS expected,
{
/* only deal with DS when we negotiated NT_STATUS codes and UNICODE */
{
/* only deal with DS when we negotiated NT_STATUS codes and UNICODE */
- if (!(smb
1cli_conn_capabilities(cli->conn) & CAP_UNICODE
)) {
+ if (!(smb
Xcli_conn_use_unicode(cli->conn)
)) {
return false;
}
if (!(smb1cli_conn_capabilities(cli->conn) & CAP_STATUS32)) {
return false;
}
if (!(smb1cli_conn_capabilities(cli->conn) & CAP_STATUS32)) {