Fix the mess with ldb includes.
[metze/samba/wip.git] / source4 / smb_server / smb_samba3.c
index ea589a0579f4d2124d4c6e1e836b0f3528f5e1b7..1c84392b0c5adc8673c3b81005a5b3f857805512 100644 (file)
@@ -31,7 +31,6 @@
 #include "system/network.h"
 #include "lib/socket/netif.h"
 #include "param/share.h"
-#include "dsdb/samdb/samdb.h"
 #include "param/param.h"
 #include "dynconfig/dynconfig.h"
 #include "smbd/process_model.h"
@@ -95,7 +94,7 @@ static const struct stream_server_ops samba3_smb_stream_ops = {
 /*
   setup a listening socket on all the SMB ports for a particular address
 */
-static NTSTATUS samba3_add_socket(struct event_context *event_context,
+static NTSTATUS samba3_add_socket(struct tevent_context *event_context,
                                  struct loadparm_context *lp_ctx,
                                  const struct model_ops *model_ops,
                                  const char *address)