diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-12-30 14:20:31 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-03-24 17:34:56 +0100 |
commit | 2dfc78a41a34e181ba9dcacf58010ddb0883a619 (patch) | |
tree | c2cd4e24191e89ec3e674f3e5939db54dc2007dc | |
parent | 9f895ea236fb2e6a5ed93656f75ea853f20fd102 (diff) | |
download | samba-2dfc78a41a34e181ba9dcacf58010ddb0883a619.tar.gz samba-2dfc78a41a34e181ba9dcacf58010ddb0883a619.tar.bz2 samba-2dfc78a41a34e181ba9dcacf58010ddb0883a619.zip |
s3:ntlmssp: remove unused ntlmssp_set_workstation()
metze
Signed-off-by: Günther Deschner <gd@samba.org>
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/libsmb/ntlmssp.c | 13 |
2 files changed, 0 insertions, 14 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index c696cb87ea..f45e745f32 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -3203,7 +3203,6 @@ NTSTATUS ntlmssp_set_hashes(struct ntlmssp_state *ntlmssp_state, const unsigned char nt_hash[16]) ; NTSTATUS ntlmssp_set_password(struct ntlmssp_state *ntlmssp_state, const char *password) ; NTSTATUS ntlmssp_set_domain(struct ntlmssp_state *ntlmssp_state, const char *domain) ; -NTSTATUS ntlmssp_set_workstation(struct ntlmssp_state *ntlmssp_state, const char *workstation) ; void ntlmssp_want_feature_list(struct ntlmssp_state *ntlmssp_state, char *feature_list); void ntlmssp_want_feature(struct ntlmssp_state *ntlmssp_state, uint32 feature); NTSTATUS ntlmssp_update(struct ntlmssp_state *ntlmssp_state, diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c index 4c1fd24e3b..58935ed19b 100644 --- a/source3/libsmb/ntlmssp.c +++ b/source3/libsmb/ntlmssp.c @@ -211,19 +211,6 @@ NTSTATUS ntlmssp_set_domain(struct ntlmssp_state *ntlmssp_state, const char *dom } /** - * Set a workstation on an NTLMSSP context - ensures it is talloc()ed - * - */ -NTSTATUS ntlmssp_set_workstation(struct ntlmssp_state *ntlmssp_state, const char *workstation) -{ - ntlmssp_state->workstation = talloc_strdup(ntlmssp_state, workstation); - if (!ntlmssp_state->workstation) { - return NT_STATUS_NO_MEMORY; - } - return NT_STATUS_OK; -} - -/** * Request features for the NTLMSSP negotiation * * @param ntlmssp_state NTLMSSP state |