git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60936e6
)
s3/libsmb: Use smbXcli_conn_use_status32 instead of SMB1 specific test
author
Luk Claes
<luk@debian.org>
Sun, 19 May 2013 17:25:12 +0000
(19:25 +0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 11 Jun 2013 12:46:00 +0000
(14:46 +0200)
Signed-off-by: Luk Claes <luk@debian.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/libsmb/clidfs.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clidfs.c
b/source3/libsmb/clidfs.c
index 1cc3dff63a46a557b20fb9265f44369e9f2b072c..0e084d09c814cac906501b21ea4cbc5b93ee36e2 100644
(file)
--- a/
source3/libsmb/clidfs.c
+++ b/
source3/libsmb/clidfs.c
@@
-603,7
+603,7
@@
static bool cli_dfs_check_error(struct cli_state *cli, NTSTATUS expected,
if (!(smbXcli_conn_use_unicode(cli->conn))) {
return false;
}
- if (!(smb
1cli_conn_capabilities(cli->conn) & CAP_STATUS32
)) {
+ if (!(smb
Xcli_conn_use_status32(cli->conn)
)) {
return false;
}
if (NT_STATUS_EQUAL(status, expected)) {