diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-12-15 20:25:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:47:25 -0500 |
commit | 984860f922a02acec1ef0cd080900f037dbbeada (patch) | |
tree | 958b7f1b73a8060370ae145dfdc6589b09cefb9a /source4/smbd/process_single.c | |
parent | 76ec239ccd53f0e37569d85af4363123eea7db1a (diff) | |
download | samba-984860f922a02acec1ef0cd080900f037dbbeada.tar.gz samba-984860f922a02acec1ef0cd080900f037dbbeada.tar.bz2 samba-984860f922a02acec1ef0cd080900f037dbbeada.zip |
r12267: Try to avoid segfault in kerberos libs, because we talloc_free()'ed
the old event context in the standard process modal child.
Andrew Bartlett
(This used to be commit 0f52a9ab071c181c7f764adc8be83e162e649931)
Diffstat (limited to 'source4/smbd/process_single.c')
-rw-r--r-- | source4/smbd/process_single.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/smbd/process_single.c b/source4/smbd/process_single.c index 8c9dd2f7fa..d46ee48718 100644 --- a/source4/smbd/process_single.c +++ b/source4/smbd/process_single.c @@ -28,12 +28,17 @@ #include "smb_server/smb_server.h" #include "system/filesys.h" +/* For sepecifiying event context to GSSAPI below */ +#include "heimdal/lib/gssapi/gssapi_locl.h" + /* called when the process model is selected */ static void single_model_init(struct event_context *ev) { + /* Hack to ensure that GSSAPI uses the right event context */ + gssapi_krb5_init_ev(ev); } /* |