summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/domain.c1
-rw-r--r--source4/libnet/libnet_join.c2
-rw-r--r--source4/libnet/libnet_passwd.c1
-rw-r--r--source4/libnet/libnet_rpc.c1
-rw-r--r--source4/libnet/libnet_share.c1
-rw-r--r--source4/libnet/libnet_time.c1
-rw-r--r--source4/libnet/libnet_vampire.c1
-rw-r--r--source4/libnet/userinfo.c1
-rw-r--r--source4/libnet/userman.c1
9 files changed, 10 insertions, 0 deletions
diff --git a/source4/libnet/domain.c b/source4/libnet/domain.c
index 342b92f403..e48454f0e1 100644
--- a/source4/libnet/domain.c
+++ b/source4/libnet/domain.c
@@ -25,6 +25,7 @@
#include "includes.h"
#include "libcli/composite/composite.h"
#include "libnet/composite.h"
+#include "librpc/gen_ndr/ndr_samr_c.h"
static void domain_open_handler(struct rpc_request*);
diff --git a/source4/libnet/libnet_join.c b/source4/libnet/libnet_join.c
index 914c2bfbb1..3b0d861e01 100644
--- a/source4/libnet/libnet_join.c
+++ b/source4/libnet/libnet_join.c
@@ -23,6 +23,7 @@
#include "includes.h"
#include "libnet/libnet.h"
#include "librpc/gen_ndr/ndr_drsuapi.h"
+#include "librpc/gen_ndr/ndr_drsuapi_c.h"
#include "lib/ldb/include/ldb.h"
#include "lib/ldb/include/ldb_errors.h"
#include "passdb/secrets.h"
@@ -30,6 +31,7 @@
#include "db_wrap.h"
#include "libcli/security/proto.h"
#include "auth/credentials/credentials.h"
+#include "librpc/gen_ndr/ndr_samr_c.h"
/*
* complete a domain join, when joining to a AD domain:
diff --git a/source4/libnet/libnet_passwd.c b/source4/libnet/libnet_passwd.c
index 30012282e0..e5059c5f08 100644
--- a/source4/libnet/libnet_passwd.c
+++ b/source4/libnet/libnet_passwd.c
@@ -24,6 +24,7 @@
#include "libnet/libnet.h"
#include "lib/crypto/crypto.h"
#include "libcli/auth/libcli_auth.h"
+#include "librpc/gen_ndr/ndr_samr_c.h"
/*
* do a password change using DCERPC/SAMR calls
diff --git a/source4/libnet/libnet_rpc.c b/source4/libnet/libnet_rpc.c
index 5b63f482df..3e9f069fb5 100644
--- a/source4/libnet/libnet_rpc.c
+++ b/source4/libnet/libnet_rpc.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "libnet/libnet.h"
#include "libcli/libcli.h"
+#include "librpc/gen_ndr/ndr_lsa_c.h"
/**
* Connects rpc pipe on remote server
diff --git a/source4/libnet/libnet_share.c b/source4/libnet/libnet_share.c
index 2fbf2c2f44..35980fdcbb 100644
--- a/source4/libnet/libnet_share.c
+++ b/source4/libnet/libnet_share.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "libnet/libnet.h"
+#include "librpc/gen_ndr/ndr_srvsvc_c.h"
NTSTATUS libnet_ListShares(struct libnet_context *ctx,
diff --git a/source4/libnet/libnet_time.c b/source4/libnet/libnet_time.c
index c7f8c79db5..d1d8298e3c 100644
--- a/source4/libnet/libnet_time.c
+++ b/source4/libnet/libnet_time.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "libnet/libnet.h"
#include "system/time.h"
+#include "librpc/gen_ndr/ndr_srvsvc_c.h"
/*
* get the remote time of a server via srvsvc_NetRemoteTOD
diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c
index 93e752311f..352dde27e6 100644
--- a/source4/libnet/libnet_vampire.c
+++ b/source4/libnet/libnet_vampire.c
@@ -25,6 +25,7 @@
#include "libnet/libnet.h"
#include "libcli/auth/libcli_auth.h"
#include "auth/gensec/schannel_proto.h"
+#include "librpc/gen_ndr/ndr_netlogon_c.h"
/**
diff --git a/source4/libnet/userinfo.c b/source4/libnet/userinfo.c
index 8f473b862b..5fcdd614e2 100644
--- a/source4/libnet/userinfo.c
+++ b/source4/libnet/userinfo.c
@@ -27,6 +27,7 @@
#include "libcli/security/proto.h"
#include "libnet/composite.h"
#include "libnet/userinfo.h"
+#include "librpc/gen_ndr/ndr_samr_c.h"
static void userinfo_handler(struct rpc_request *req);
diff --git a/source4/libnet/userman.c b/source4/libnet/userman.c
index 36fcf75783..94358f1c0c 100644
--- a/source4/libnet/userman.c
+++ b/source4/libnet/userman.c
@@ -27,6 +27,7 @@
#include "libnet/composite.h"
#include "libnet/userman.h"
#include "libnet/userinfo.h"
+#include "librpc/gen_ndr/ndr_samr_c.h"
/*
* Composite USER ADD functionality