summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-06-25 13:29:00 -0700
committerJeremy Allison <jra@samba.org>2010-06-25 13:29:00 -0700
commitafc6d2f46d6aed07f828ef2f0aa6b62250468132 (patch)
treed20f21224b75c36f713a6428e9aea2cbd504aa11 /source3
parent86be54ec61153d6ecd6967fa0f8c65880bbb088c (diff)
downloadsamba-afc6d2f46d6aed07f828ef2f0aa6b62250468132.tar.gz
samba-afc6d2f46d6aed07f828ef2f0aa6b62250468132.tar.bz2
samba-afc6d2f46d6aed07f828ef2f0aa6b62250468132.zip
Don't use frame as the talloc ctx in open_schannel_session_store(), as this breaks running from inetd
(we free frame below). Use NULL instead. 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 24788a95b1..1b00f2ca4e 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(frame, lp_private_dir())) {
+ if (!open_schannel_session_store(NULL, lp_private_dir())) {
DEBUG(0,("ERROR: Samba cannot open schannel store for secured NETLOGON operations.\n"));
exit(1);
}