summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorLuk Claes <luk@debian.org>2012-05-19 18:44:48 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-28 14:49:48 +0200
commit5f10bd9fe4d8738564ea9674645b6521c131dccf (patch)
tree92812c089eb4aeee2bd28c4474b868b7b0c9b491 /source3/libsmb
parent2be7e23b99db92cf55421607a67911f0ecae3790 (diff)
downloadsamba-5f10bd9fe4d8738564ea9674645b6521c131dccf.tar.gz
samba-5f10bd9fe4d8738564ea9674645b6521c131dccf.tar.bz2
samba-5f10bd9fe4d8738564ea9674645b6521c131dccf.zip
s3:libsmb: get rid of cli_state_server_gss_blob
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
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);