summaryrefslogtreecommitdiff
path: root/source4/libcli/auth/spnego.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-07-06 15:03:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:53 -0500
commit1432bb01f38b3791356bb5e45193452a0770da96 (patch)
tree93103c85b11cf1620207b35d67e877ad880be946 /source4/libcli/auth/spnego.c
parentf9c7b6303ceeeb69bcd4dda41ebae52780f00817 (diff)
downloadsamba-1432bb01f38b3791356bb5e45193452a0770da96.tar.gz
samba-1432bb01f38b3791356bb5e45193452a0770da96.tar.bz2
samba-1432bb01f38b3791356bb5e45193452a0770da96.zip
r1360: - remove unused state SPNEGO_CLIENT_SEND_MECHS
- remove unsed gensec_user forward, it's done by the gensec layer know metze (This used to be commit e19e5a91f2fd988546f42473bf241dff3c2fe198)
Diffstat (limited to 'source4/libcli/auth/spnego.c')
-rw-r--r--source4/libcli/auth/spnego.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source4/libcli/auth/spnego.c b/source4/libcli/auth/spnego.c
index 59ccbc7ba7..5ba0e239c5 100644
--- a/source4/libcli/auth/spnego.c
+++ b/source4/libcli/auth/spnego.c
@@ -30,7 +30,6 @@
enum spnego_state_position {
SPNEGO_SERVER_START,
SPNEGO_CLIENT_START,
- SPNEGO_CLIENT_SEND_MECHS,
SPNEGO_TARG,
SPNEGO_FALLBACK,
SPNEGO_DONE
@@ -263,10 +262,6 @@ static NTSTATUS gensec_spnego_update(struct gensec_security *gensec_security, TA
if (!NT_STATUS_IS_OK(nt_status)) {
break;
}
- /* forward the user info to the sub context */
- spnego_state->sub_sec_security->user = gensec_security->user;
- spnego_state->sub_sec_security->password_callback = gensec_security->password_callback;
- spnego_state->sub_sec_security->password_callback_private = gensec_security->password_callback_private;
/* select the sub context */
nt_status = gensec_start_mech_by_oid(spnego_state->sub_sec_security,
mechType[i]);