libcli/cldap: don't pass tevent_context to cldap_socket_init()
[metze/samba/wip.git] / source3 / nmbd / nmbd_processlogon.c
index f00a8d8e16c2b59cce98b9741e91f70b77a3135d..43ffd726c677e166345b546d52e6a26ca3f5bfa7 100644 (file)
@@ -120,8 +120,7 @@ bool initialize_nmbd_proxy_logon(void)
        }
 
        /* we create a connected udp socket */
-       status = cldap_socket_init(ctx, nmbd_event_context(), NULL,
-                                  server_addr, &ctx->cldap_sock);
+       status = cldap_socket_init(ctx, NULL, server_addr, &ctx->cldap_sock);
        TALLOC_FREE(server_addr);
        if (!NT_STATUS_IS_OK(status)) {
                TALLOC_FREE(ctx);