From e20c66d78099bcf5d965bd9d59669fe393481517 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 18 Sep 2013 09:40:08 +0200 Subject: s3:libsmb: remove unused cli_state->dfsroot Bug: https://bugzilla.samba.org/show_bug.cgi?id=10200 Signed-off-by: Stefan Metzmacher Reviewed-by: Michael Adam --- source3/include/client.h | 1 - source3/libsmb/cliconnect.c | 6 ------ 2 files changed, 7 deletions(-) (limited to 'source3') diff --git a/source3/include/client.h b/source3/include/client.h index f6a4a8158d..babcfb8a66 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -76,7 +76,6 @@ struct cli_state { uint32_t server_posix_capabilities; /* What the client requested. */ uint32_t requested_posix_capabilities; - bool dfsroot; bool backup_intent; /* The list of pipes currently open on this connection. */ diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index ad3570b7ae..81bc028b26 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -2570,16 +2570,10 @@ static void cli_tcon_andx_done(struct tevent_req *subreq) * Avoids issues when connecting to Win9x boxes sharing files */ - cli->dfsroot = false; - if ((wct > 2) && (smbXcli_conn_protocol(cli->conn) >= PROTOCOL_LANMAN2)) { optional_support = SVAL(vwv+2, 0); } - if (optional_support & SMB_SHARE_IN_DFS) { - cli->dfsroot = true; - } - if (optional_support & SMB_EXTENDED_SIGNATURES) { smb1cli_session_protect_session_key(cli->smb1.session); } -- cgit