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.c3
-rw-r--r--source4/libnet/libnet_lookup.c3
-rw-r--r--source4/libnet/libnet_passwd.c1
-rw-r--r--source4/libnet/libnet_samdump.c2
-rw-r--r--source4/libnet/libnet_samdump_keytab.c3
-rw-r--r--source4/libnet/libnet_samsync_ldb.c4
-rw-r--r--source4/libnet/libnet_share.c1
-rw-r--r--source4/libnet/libnet_time.c1
-rw-r--r--source4/libnet/libnet_vampire.c2
-rw-r--r--source4/libnet/userinfo.c1
-rw-r--r--source4/libnet/userman.c1
12 files changed, 0 insertions, 23 deletions
diff --git a/source4/libnet/domain.c b/source4/libnet/domain.c
index 3a5aecb92e..342b92f403 100644
--- a/source4/libnet/domain.c
+++ b/source4/libnet/domain.c
@@ -24,7 +24,6 @@
#include "includes.h"
#include "libcli/composite/composite.h"
-#include "librpc/gen_ndr/ndr_samr.h"
#include "libnet/composite.h"
static void domain_open_handler(struct rpc_request*);
diff --git a/source4/libnet/libnet_join.c b/source4/libnet/libnet_join.c
index af15d81797..a1aa00c5c2 100644
--- a/source4/libnet/libnet_join.c
+++ b/source4/libnet/libnet_join.c
@@ -22,14 +22,11 @@
#include "includes.h"
#include "libnet/libnet.h"
-#include "librpc/gen_ndr/ndr_samr.h"
-#include "librpc/gen_ndr/ndr_lsa.h"
#include "librpc/gen_ndr/ndr_drsuapi.h"
#include "lib/ldb/include/ldb.h"
#include "lib/ldb/include/ldb_errors.h"
#include "libcli/cldap/cldap.h"
#include "include/secrets.h"
-#include "librpc/gen_ndr/drsuapi.h"
#include "dsdb/samdb/samdb.h"
/*
diff --git a/source4/libnet/libnet_lookup.c b/source4/libnet/libnet_lookup.c
index 67c102a3e2..e64ab6a291 100644
--- a/source4/libnet/libnet_lookup.c
+++ b/source4/libnet/libnet_lookup.c
@@ -23,12 +23,9 @@
*/
#include "includes.h"
-#include "libcli/raw/libcliraw.h"
#include "lib/events/events.h"
#include "libnet/libnet.h"
#include "libcli/composite/composite.h"
-#include "libnet/composite.h"
-#include "librpc/gen_ndr/ndr_nbt.h"
struct lookup_state {
diff --git a/source4/libnet/libnet_passwd.c b/source4/libnet/libnet_passwd.c
index db54935a78..ec97eea838 100644
--- a/source4/libnet/libnet_passwd.c
+++ b/source4/libnet/libnet_passwd.c
@@ -21,7 +21,6 @@
#include "includes.h"
#include "libnet/libnet.h"
-#include "librpc/gen_ndr/ndr_samr.h"
#include "lib/crypto/crypto.h"
/*
diff --git a/source4/libnet/libnet_samdump.c b/source4/libnet/libnet_samdump.c
index 8936407972..a5d060c5eb 100644
--- a/source4/libnet/libnet_samdump.c
+++ b/source4/libnet/libnet_samdump.c
@@ -23,8 +23,6 @@
#include "includes.h"
#include "libnet/libnet.h"
-#include "librpc/gen_ndr/ndr_netlogon.h"
-#include "librpc/gen_ndr/ndr_samr.h"
#include "dlinklist.h"
diff --git a/source4/libnet/libnet_samdump_keytab.c b/source4/libnet/libnet_samdump_keytab.c
index deaa282801..e267cfdc2e 100644
--- a/source4/libnet/libnet_samdump_keytab.c
+++ b/source4/libnet/libnet_samdump_keytab.c
@@ -23,10 +23,7 @@
#include "includes.h"
#include "libnet/libnet.h"
-#include "librpc/gen_ndr/ndr_netlogon.h"
-#include "librpc/gen_ndr/ndr_samr.h"
#include "system/kerberos.h"
-#include "auth/kerberos/kerberos.h"
static NTSTATUS samdump_keytab_handle_user(TALLOC_CTX *mem_ctx,
const char *keytab_name,
diff --git a/source4/libnet/libnet_samsync_ldb.c b/source4/libnet/libnet_samsync_ldb.c
index c97d9013c9..d07002691f 100644
--- a/source4/libnet/libnet_samsync_ldb.c
+++ b/source4/libnet/libnet_samsync_ldb.c
@@ -25,11 +25,7 @@
#include "includes.h"
#include "libnet/libnet.h"
-#include "librpc/gen_ndr/ndr_netlogon.h"
-#include "librpc/gen_ndr/ndr_samr.h"
-#include "dlinklist.h"
#include "libcli/ldap/ldap.h"
-#include "lib/ldb/include/ldb.h"
#include "dsdb/samdb/samdb.h"
#include "auth/auth.h"
diff --git a/source4/libnet/libnet_share.c b/source4/libnet/libnet_share.c
index 0473658da8..9422cdd306 100644
--- a/source4/libnet/libnet_share.c
+++ b/source4/libnet/libnet_share.c
@@ -20,7 +20,6 @@
#include "includes.h"
#include "libnet/libnet.h"
-#include "librpc/gen_ndr/ndr_srvsvc.h"
NTSTATUS libnet_ListShares(struct libnet_context *ctx,
diff --git a/source4/libnet/libnet_time.c b/source4/libnet/libnet_time.c
index 655a475503..7d480a5348 100644
--- a/source4/libnet/libnet_time.c
+++ b/source4/libnet/libnet_time.c
@@ -20,7 +20,6 @@
#include "includes.h"
#include "libnet/libnet.h"
-#include "librpc/gen_ndr/ndr_srvsvc.h"
#include "system/time.h"
/*
diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c
index d0b7722c08..d9c25d053e 100644
--- a/source4/libnet/libnet_vampire.c
+++ b/source4/libnet/libnet_vampire.c
@@ -23,8 +23,6 @@
#include "includes.h"
#include "libnet/libnet.h"
-#include "librpc/gen_ndr/ndr_netlogon.h"
-#include "librpc/gen_ndr/ndr_samr.h"
/**
diff --git a/source4/libnet/userinfo.c b/source4/libnet/userinfo.c
index 65781cd1b3..ff5f08c6c1 100644
--- a/source4/libnet/userinfo.c
+++ b/source4/libnet/userinfo.c
@@ -24,7 +24,6 @@
#include "includes.h"
#include "libcli/composite/composite.h"
-#include "librpc/gen_ndr/ndr_samr.h"
#include "libnet/composite.h"
#include "libnet/userinfo.h"
diff --git a/source4/libnet/userman.c b/source4/libnet/userman.c
index 9c9884831e..8d46f3fde8 100644
--- a/source4/libnet/userman.c
+++ b/source4/libnet/userman.c
@@ -24,7 +24,6 @@
#include "includes.h"
#include "libcli/composite/composite.h"
-#include "librpc/gen_ndr/ndr_samr.h"
#include "libnet/composite.h"
#include "libnet/userman.h"
#include "libnet/userinfo.h"