summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_pipe.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-10-14 18:49:24 +0000
committerLuke Leighton <lkcl@samba.org>1999-10-14 18:49:24 +0000
commit09e6f6eb9cdd14dcd63c828eddef92abdcc5819c (patch)
treef39361979f9df112d218e3f1e1649196188436c0 /source3/rpc_client/cli_pipe.c
parentcba7662da1fd9ed8bd9f9969417adf1fe5f0d33b (diff)
downloadsamba-09e6f6eb9cdd14dcd63c828eddef92abdcc5819c.tar.gz
samba-09e6f6eb9cdd14dcd63c828eddef92abdcc5819c.tar.bz2
samba-09e6f6eb9cdd14dcd63c828eddef92abdcc5819c.zip
adding CAP_EXTENDED_SECURITY support in a hurry last week. forgot to
deal with linking issues in other binaries (This used to be commit 57f95a01988fb4035b2e4448f4fd3ef0d652c106)
Diffstat (limited to 'source3/rpc_client/cli_pipe.c')
-rw-r--r--source3/rpc_client/cli_pipe.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 0453bb3125..6b50fa53ad 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -481,35 +481,6 @@ static BOOL create_rpc_bind_req(prs_struct *rhdr,
- caller is expected to free the header data structure once used.
********************************************************************/
-void create_ntlmssp_resp(struct pwd_info *pwd,
- char *domain, char *user_name, char *my_name,
- uint32 ntlmssp_cli_flgs,
- prs_struct *auth_resp)
-{
- RPC_AUTH_NTLMSSP_RESP ntlmssp_resp;
- unsigned char lm_owf[24];
- unsigned char nt_owf[128];
- size_t nt_owf_len;
-
- pwd_get_lm_nt_owf(pwd, lm_owf, nt_owf, &nt_owf_len);
-
- make_rpc_auth_ntlmssp_resp(&ntlmssp_resp,
- lm_owf, nt_owf, nt_owf_len,
- domain, user_name, my_name,
- ntlmssp_cli_flgs);
-
- smb_io_rpc_auth_ntlmssp_resp("ntlmssp_resp", &ntlmssp_resp, auth_resp, 0);
- mem_realloc_data(auth_resp->data, auth_resp->offset);
-}
-
-/*******************************************************************
- creates a DCE/RPC bind authentication response
-
- - initialises the parse structure.
- - dynamically allocates the header data structure
- - caller is expected to free the header data structure once used.
-
- ********************************************************************/
BOOL create_rpc_bind_resp(struct pwd_info *pwd,
char *domain, char *user_name, char *my_name,
uint32 ntlmssp_cli_flgs,