summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-04-02 12:50:43 +0200
committerJeremy Allison <jra@samba.org>2013-04-11 14:35:14 -0700
commitdc796331caab6dec1d4fc9883e6dfc4317105d24 (patch)
tree327a841060d78f0000d3616f40f23e600a1b140e /source3/libsmb
parent26359c25ef1c31b350d82588d628aa8a6b6bd911 (diff)
downloadsamba-dc796331caab6dec1d4fc9883e6dfc4317105d24.tar.gz
samba-dc796331caab6dec1d4fc9883e6dfc4317105d24.tar.bz2
samba-dc796331caab6dec1d4fc9883e6dfc4317105d24.zip
libsmbclient: Remove unused cli_session_setup_ntlmssp()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cliconnect.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 7d7c55ac7d..233f824bbd 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -1829,35 +1829,6 @@ static NTSTATUS cli_session_setup_ntlmssp_recv(struct tevent_req *req)
return NT_STATUS_OK;
}
-static NTSTATUS cli_session_setup_ntlmssp(struct cli_state *cli,
- const char *user,
- const char *pass,
- const char *domain)
-{
- struct tevent_context *ev;
- struct tevent_req *req;
- NTSTATUS status = NT_STATUS_NO_MEMORY;
-
- if (smbXcli_conn_has_async_calls(cli->conn)) {
- return NT_STATUS_INVALID_PARAMETER;
- }
- ev = samba_tevent_context_init(talloc_tos());
- if (ev == NULL) {
- goto fail;
- }
- req = cli_session_setup_ntlmssp_send(ev, ev, cli, user, pass, domain);
- if (req == NULL) {
- goto fail;
- }
- if (!tevent_req_poll_ntstatus(req, ev, &status)) {
- goto fail;
- }
- status = cli_session_setup_ntlmssp_recv(req);
-fail:
- TALLOC_FREE(ev);
- return status;
-}
-
#ifdef HAVE_KRB5
static char *cli_session_setup_get_principal(