summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-05-25 08:44:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:54 -0500
commit6d52f4a63f89f771707cd617a19b4162dabbd88a (patch)
treeea9c436f65afdfad6d5e06f2ac0d6256a5e783b3 /source4/auth
parentfb213858adb65297b3689cb71660ac84e16343c3 (diff)
downloadsamba-6d52f4a63f89f771707cd617a19b4162dabbd88a.tar.gz
samba-6d52f4a63f89f771707cd617a19b4162dabbd88a.tar.bz2
samba-6d52f4a63f89f771707cd617a19b4162dabbd88a.zip
r23136: Set the event context onto the credentials in more places.
This helps ensure that the kerberos code uses the right event context. Andrew Bartlett (This used to be commit cbdce358ae8f86c9b76a50537b931e56b07ee213)
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/gensec/gensec_gssapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c
index b8040df7eb..5596949eda 100644
--- a/source4/auth/gensec/gensec_gssapi.c
+++ b/source4/auth/gensec/gensec_gssapi.c
@@ -1342,6 +1342,7 @@ static NTSTATUS gensec_gssapi_session_info(struct gensec_security *gensec_securi
return NT_STATUS_NO_MEMORY;
}
+ cli_credentials_set_event_context(session_info->credentials, gensec_security->event_ctx);
cli_credentials_set_conf(session_info->credentials);
/* Just so we don't segfault trying to get at a username */
cli_credentials_set_anonymous(session_info->credentials);