s3:nmbd: implement a MAILSLOT => CLDAP proxy for NETLOGON_SAMLOGON requests
[ira/wip.git] / source3 / nmbd / nmbd.c
index 3279466602aa3756e716de901d996a617aad1de5..daf4c295a667e5e26726333c0414119747fabb3b 100644 (file)
@@ -988,6 +988,12 @@ static bool open_sockets(bool isdaemon, int port)
                exit(1);
        }
 
+       if (!initialize_nmbd_proxy_logon()) {
+               DEBUG(0,("ERROR: Failed setup nmbd_proxy_logon.\n"));
+               kill_async_dns_child();
+               exit(1);
+       }
+
        TALLOC_FREE(frame);
        process();