summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/auth_anonymous.c2
-rw-r--r--source4/auth/auth_developer.c2
-rw-r--r--source4/auth/auth_sam.c2
-rw-r--r--source4/auth/auth_sam_reply.c5
-rw-r--r--source4/auth/auth_unix.c2
-rw-r--r--source4/auth/auth_util.c3
-rw-r--r--source4/auth/auth_winbind.c1
-rw-r--r--source4/auth/credentials/credentials.c1
-rw-r--r--source4/auth/credentials/credentials_ntlm.c1
-rw-r--r--source4/auth/gensec/gensec_gssapi.c1
-rw-r--r--source4/auth/gensec/gensec_krb5.c2
-rw-r--r--source4/auth/gensec/schannel_state.c2
-rw-r--r--source4/auth/ntlm_check.c1
-rw-r--r--source4/auth/ntlmssp/ntlmssp.c1
14 files changed, 0 insertions, 26 deletions
diff --git a/source4/auth/auth_anonymous.c b/source4/auth/auth_anonymous.c
index 82aa69c72a..ce960062eb 100644
--- a/source4/auth/auth_anonymous.c
+++ b/source4/auth/auth_anonymous.c
@@ -22,8 +22,6 @@
#include "includes.h"
#include "auth/auth.h"
-#include "librpc/gen_ndr/ndr_samr.h"
-#include "librpc/gen_ndr/ndr_security.h"
/**
* Return a anonymous logon for anonymous users (username = "")
diff --git a/source4/auth/auth_developer.c b/source4/auth/auth_developer.c
index a961d7efa1..14e005efc9 100644
--- a/source4/auth/auth_developer.c
+++ b/source4/auth/auth_developer.c
@@ -22,8 +22,6 @@
#include "includes.h"
#include "auth/auth.h"
-#include "librpc/gen_ndr/ndr_samr.h"
-#include "librpc/gen_ndr/ndr_security.h"
/**
* Return an error based on username
diff --git a/source4/auth/auth_sam.c b/source4/auth/auth_sam.c
index a013a2051c..2c41ff4df9 100644
--- a/source4/auth/auth_sam.c
+++ b/source4/auth/auth_sam.c
@@ -21,10 +21,8 @@
*/
#include "includes.h"
-#include "librpc/gen_ndr/ndr_samr.h"
#include "system/time.h"
#include "auth/auth.h"
-#include "lib/ldb/include/ldb.h"
#include "dsdb/samdb/samdb.h"
#include "libcli/ldap/ldap.h"
diff --git a/source4/auth/auth_sam_reply.c b/source4/auth/auth_sam_reply.c
index 2918dfd499..89b389aa83 100644
--- a/source4/auth/auth_sam_reply.c
+++ b/source4/auth/auth_sam_reply.c
@@ -22,12 +22,7 @@
*/
#include "includes.h"
-#include "librpc/gen_ndr/ndr_netlogon.h"
-#include "rpc_server/dcerpc_server.h"
-#include "rpc_server/common/common.h"
-#include "librpc/gen_ndr/ndr_dcom.h"
#include "auth/auth.h"
-#include "lib/ldb/include/ldb.h"
NTSTATUS auth_convert_server_info_sambaseinfo(TALLOC_CTX *mem_ctx,
struct auth_serversupplied_info *server_info,
diff --git a/source4/auth/auth_unix.c b/source4/auth/auth_unix.c
index f49a92a35f..c68aa159fc 100644
--- a/source4/auth/auth_unix.c
+++ b/source4/auth/auth_unix.c
@@ -22,8 +22,6 @@
#include "includes.h"
#include "auth/auth.h"
-#include "system/passwd.h"
-#include "system/iconv.h"
/* TODO: look at how to best fill in parms retrieveing a struct passwd info
* except in case USER_INFO_DONT_CHECK_UNIX_ACCOUNT is set
diff --git a/source4/auth/auth_util.c b/source4/auth/auth_util.c
index dbedde9190..5660787ee8 100644
--- a/source4/auth/auth_util.c
+++ b/source4/auth/auth_util.c
@@ -23,9 +23,6 @@
*/
#include "includes.h"
-#include "librpc/gen_ndr/ndr_samr.h"
-#include "librpc/gen_ndr/ndr_netlogon.h"
-#include "librpc/gen_ndr/ndr_security.h"
#include "auth/auth.h"
/* this default function can be used by mostly all backends
diff --git a/source4/auth/auth_winbind.c b/source4/auth/auth_winbind.c
index bda9602926..86854dfcec 100644
--- a/source4/auth/auth_winbind.c
+++ b/source4/auth/auth_winbind.c
@@ -23,7 +23,6 @@
*/
#include "includes.h"
-#include "librpc/gen_ndr/ndr_netlogon.h"
#include "auth/auth.h"
#include "nsswitch/winbind_client.h"
diff --git a/source4/auth/credentials/credentials.c b/source4/auth/credentials/credentials.c
index 0ea2a01ea1..a6bfb15dec 100644
--- a/source4/auth/credentials/credentials.c
+++ b/source4/auth/credentials/credentials.c
@@ -23,7 +23,6 @@
*/
#include "includes.h"
-#include "lib/ldb/include/ldb.h"
#include "librpc/gen_ndr/ndr_samr.h" /* for struct samrPassword */
diff --git a/source4/auth/credentials/credentials_ntlm.c b/source4/auth/credentials/credentials_ntlm.c
index 9fd4c09473..c7932e6f1a 100644
--- a/source4/auth/credentials/credentials_ntlm.c
+++ b/source4/auth/credentials/credentials_ntlm.c
@@ -23,7 +23,6 @@
*/
#include "includes.h"
-#include "lib/ldb/include/ldb.h"
#include "librpc/gen_ndr/ndr_samr.h" /* for struct samrPassword */
#include "lib/crypto/crypto.h"
diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c
index 68da2567da..b71bee03ea 100644
--- a/source4/auth/gensec/gensec_gssapi.c
+++ b/source4/auth/gensec/gensec_gssapi.c
@@ -24,7 +24,6 @@
#include "includes.h"
#include "system/kerberos.h"
-#include "system/network.h"
#include "auth/kerberos/kerberos.h"
#include "librpc/gen_ndr/ndr_krb5pac.h"
#include "auth/auth.h"
diff --git a/source4/auth/gensec/gensec_krb5.c b/source4/auth/gensec/gensec_krb5.c
index c8640dde8c..161690f665 100644
--- a/source4/auth/gensec/gensec_krb5.c
+++ b/source4/auth/gensec/gensec_krb5.c
@@ -26,8 +26,6 @@
#include "includes.h"
#include "system/kerberos.h"
-#include "system/time.h"
-#include "system/network.h"
#include "auth/kerberos/kerberos.h"
#include "librpc/gen_ndr/ndr_krb5pac.h"
#include "auth/auth.h"
diff --git a/source4/auth/gensec/schannel_state.c b/source4/auth/gensec/schannel_state.c
index 43391b3a69..7ef64ca00b 100644
--- a/source4/auth/gensec/schannel_state.c
+++ b/source4/auth/gensec/schannel_state.c
@@ -21,11 +21,9 @@
*/
#include "includes.h"
-#include "system/time.h"
#include "auth/auth.h"
#include "lib/ldb/include/ldb.h"
#include "lib/ldb/include/ldb_errors.h"
-#include "db_wrap.h"
#include "dsdb/samdb/samdb.h"
/*
diff --git a/source4/auth/ntlm_check.c b/source4/auth/ntlm_check.c
index 42748f0530..5a08cf5f09 100644
--- a/source4/auth/ntlm_check.c
+++ b/source4/auth/ntlm_check.c
@@ -22,7 +22,6 @@
#include "includes.h"
#include "lib/crypto/crypto.h"
-#include "librpc/gen_ndr/ndr_samr.h"
#include "librpc/gen_ndr/ndr_netlogon.h"
/****************************************************************************
diff --git a/source4/auth/ntlmssp/ntlmssp.c b/source4/auth/ntlmssp/ntlmssp.c
index ef870af3bf..e2fce5856d 100644
--- a/source4/auth/ntlmssp/ntlmssp.c
+++ b/source4/auth/ntlmssp/ntlmssp.c
@@ -24,7 +24,6 @@
#include "includes.h"
#include "auth/auth.h"
-#include "lib/crypto/crypto.h"
#include "auth/ntlmssp/ntlmssp.h"
/**