summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cliconnect.c2
-rw-r--r--source3/libsmb/clientgen.c5
-rw-r--r--source3/libsmb/proto.h1
3 files changed, 1 insertions, 7 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index f714d3d1b4..03a61e3b25 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -1865,7 +1865,7 @@ static ADS_STATUS cli_session_setup_spnego(struct cli_state *cli,
char *account = NULL;
NTSTATUS status;
- server_blob = cli_state_server_gss_blob(cli);
+ server_blob = smbXcli_conn_server_gss_blob(cli->conn);
if (server_blob) {
blob = data_blob(server_blob->data, server_blob->length);
}
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index 65ceffc0e8..615324faa6 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -437,11 +437,6 @@ uint32_t cli_state_available_size(struct cli_state *cli, uint32_t ofs)
return ret;
}
-const DATA_BLOB *cli_state_server_gss_blob(struct cli_state *cli)
-{
- return smbXcli_conn_server_gss_blob(cli->conn);
-}
-
uint16_t cli_state_security_mode(struct cli_state *cli)
{
return smb1cli_conn_server_security_mode(cli->conn);
diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h
index 2d03814c11..987e372c03 100644
--- a/source3/libsmb/proto.h
+++ b/source3/libsmb/proto.h
@@ -181,7 +181,6 @@ uint16_t cli_state_get_uid(struct cli_state *cli);
uint16_t cli_state_set_uid(struct cli_state *cli, uint16_t uid);
bool cli_set_case_sensitive(struct cli_state *cli, bool case_sensitive);
uint32_t cli_state_available_size(struct cli_state *cli, uint32_t ofs);
-const DATA_BLOB *cli_state_server_gss_blob(struct cli_state *cli);
uint16_t cli_state_security_mode(struct cli_state *cli);
int cli_state_server_time_zone(struct cli_state *cli);
time_t cli_state_server_time(struct cli_state *cli);