summaryrefslogtreecommitdiff
path: root/source4/auth/gensec
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-04-09 17:18:53 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-04-11 13:36:04 +1000
commit2c193fe91af60f29ed4d560496842073097469bb (patch)
tree99b9a777475de9d2d8bb940a4d21e931feeeb38d /source4/auth/gensec
parent18078ec4450a7ee37b613020886ec6bead7a6ead (diff)
downloadsamba-2c193fe91af60f29ed4d560496842073097469bb.tar.gz
samba-2c193fe91af60f29ed4d560496842073097469bb.tar.bz2
samba-2c193fe91af60f29ed4d560496842073097469bb.zip
s4:auth Remove event context from anonymous_session()
This should always return a simple structure with no need to consult a DB, so remove the event context, and simplfy to call helper functions that don't look at privilages. Andrew Bartlett
Diffstat (limited to 'source4/auth/gensec')
-rw-r--r--source4/auth/gensec/schannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/gensec/schannel.c b/source4/auth/gensec/schannel.c
index 939a383a04..7877ea461a 100644
--- a/source4/auth/gensec/schannel.c
+++ b/source4/auth/gensec/schannel.c
@@ -206,7 +206,7 @@ static NTSTATUS schannel_session_info(struct gensec_security *gensec_security,
struct auth_session_info **_session_info)
{
struct schannel_state *state = talloc_get_type(gensec_security->private_data, struct schannel_state);
- return auth_anonymous_session_info(state, gensec_security->event_ctx, gensec_security->settings->lp_ctx, _session_info);
+ return auth_anonymous_session_info(state, gensec_security->settings->lp_ctx, _session_info);
}
static NTSTATUS schannel_start(struct gensec_security *gensec_security)