Don't use frame as the talloc ctx in open_schannel_session_store(), as this breaks...
authorJeremy Allison <jra@samba.org>
Fri, 25 Jun 2010 20:29:00 +0000 (13:29 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 25 Jun 2010 20:29:00 +0000 (13:29 -0700)
(we free frame below). Use NULL instead.

Jeremy.

source3/smbd/server.c

index 24788a95b1d09204625c097e7879f95c5aa29478..1b00f2ca4e5ad4adb368608f1a1f72b96034e3dc 100644 (file)
@@ -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);
                }