first cut at adding full transactions for ctdb to samba3
[samba.git] / source3 / nmbd / nmbd.c
index 46c3f1dd3c90c7e1914e4f3facf45dc9d0ec8d52..83005f05bda8a6cee9250d20a0f9d69d9555a971 100644 (file)
@@ -765,8 +765,6 @@ static bool open_sockets(bool isdaemon, int port)
        };
        TALLOC_CTX *frame = talloc_stackframe(); /* Setup tos. */
 
-       db_tdb2_setup_messaging(NULL, false);
-
        load_case_tables();
 
        global_nmb_port = NMB_PORT;
@@ -861,8 +859,6 @@ static bool open_sockets(bool isdaemon, int port)
                return 1;
        }
 
-       db_tdb2_setup_messaging(nmbd_messaging_context(), true);
-
        if ( !reload_nmbd_services(False) )
                return(-1);