summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}