summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-06-25 12:02:08 -0700
committerJeremy Allison <jra@samba.org>2010-06-25 12:02:08 -0700
commit86be54ec61153d6ecd6967fa0f8c65880bbb088c (patch)
treeb009f78252fc44b3df5180864b17a4db82e79bcf /source3
parentc84b74dddd6c74ad28597f069a43a0a3d334b04a (diff)
downloadsamba-86be54ec61153d6ecd6967fa0f8c65880bbb088c.tar.gz
samba-86be54ec61153d6ecd6967fa0f8c65880bbb088c.tar.bz2
samba-86be54ec61153d6ecd6967fa0f8c65880bbb088c.zip
Change talloc_autofree_context() to frame in Andrew's schannel.tdb TDB_CLEAR_IF_FIRST
changes. Using talloc_autofree_context() has undesirable effects when forked subprocesses exit. Jeremy.
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 03fd9aa79d..24788a95b1 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1025,7 +1025,7 @@ extern void build_options(bool screen);
}
if (lp_server_role() == ROLE_DOMAIN_BDC || lp_server_role() == ROLE_DOMAIN_PDC) {
- if (!open_schannel_session_store(talloc_autofree_context(), lp_private_dir())) {
+ if (!open_schannel_session_store(frame, lp_private_dir())) {
DEBUG(0,("ERROR: Samba cannot open schannel store for secured NETLOGON operations.\n"));
exit(1);
}