gensec: move event context from gensec_*_init() to gensec_update()
authorAndrew Bartlett <abartlet@samba.org>
Mon, 17 Oct 2011 07:22:33 +0000 (09:22 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 18 Oct 2011 02:13:33 +0000 (13:13 +1100)
commite7d5f0a357c42593a015b80390dedf920117a7e2
treea4fa1a53f0294607b4abeb6f389ce719502fe849
parent0f2b27e7d428e75b8e6079ee5f36a0cccd4d1785
gensec: move event context from gensec_*_init() to gensec_update()

This avoids keeping the event context around on a the gensec_security
context structure long term.

In the Samba3 server, the event context we either supply is a NULL
pointer as no server-side modules currently use the event context.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
24 files changed:
auth/gensec/gensec.c
auth/gensec/gensec.h
auth/gensec/gensec_start.c
source3/auth/auth_ntlmssp.c
source3/libsmb/ntlmssp_wrap.c
source4/auth/gensec/gensec_gssapi.c
source4/auth/gensec/gensec_krb5.c
source4/auth/gensec/pygensec.c
source4/auth/gensec/schannel.c
source4/auth/gensec/spnego.c
source4/auth/ntlmssp/ntlmssp.c
source4/auth/samba_server_gensec.c
source4/kdc/kpasswdd.c
source4/ldap_server/ldap_bind.c
source4/libcli/ldap/ldap_bind.c
source4/libcli/smb2/session.c
source4/libcli/smb_composite/sesssetup.c
source4/librpc/rpc/dcerpc_auth.c
source4/rpc_server/dcesrv_auth.c
source4/smb_server/smb/negprot.c
source4/smb_server/smb2/negprot.c
source4/torture/auth/ntlmssp.c
source4/torture/rpc/remote_pac.c
source4/utils/ntlm_auth.c