diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-09-18 09:40:08 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-10-17 16:23:33 +0200 |
commit | e20c66d78099bcf5d965bd9d59669fe393481517 (patch) | |
tree | 6866e76759acf4fae7edd2c9988456c19a3f8628 | |
parent | c5c717fe3157224a8aba48a30bace889e7956d31 (diff) | |
download | samba-e20c66d78099bcf5d965bd9d59669fe393481517.tar.gz samba-e20c66d78099bcf5d965bd9d59669fe393481517.tar.bz2 samba-e20c66d78099bcf5d965bd9d59669fe393481517.zip |
s3:libsmb: remove unused cli_state->dfsroot
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10200
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r-- | source3/include/client.h | 1 | ||||
-rw-r--r-- | source3/libsmb/cliconnect.c | 6 |
2 files changed, 0 insertions, 7 deletions
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); } |