From 49650a226ec561f721151fac5f36b1229bd72936 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 20 Oct 2009 15:38:03 +1100 Subject: [PATCH] s4: ran minimal_includes.pl on source4/auth/ntlm --- source4/auth/ntlm/auth_developer.c | 1 - source4/auth/ntlm/auth_sam.c | 3 --- source4/auth/ntlm/auth_server.c | 2 -- source4/auth/ntlm/auth_simple.c | 3 --- source4/auth/ntlm/auth_util.c | 4 ---- source4/auth/ntlm/pam_errors.c | 1 - 6 files changed, 14 deletions(-) diff --git a/source4/auth/ntlm/auth_developer.c b/source4/auth/ntlm/auth_developer.c index 3b8c83c349b..c9048310c34 100644 --- a/source4/auth/ntlm/auth_developer.c +++ b/source4/auth/ntlm/auth_developer.c @@ -23,7 +23,6 @@ #include "auth/auth.h" #include "auth/ntlm/auth_proto.h" #include "libcli/security/security.h" -#include "librpc/gen_ndr/ndr_samr.h" static NTSTATUS name_to_ntstatus_want_check(struct auth_method_context *ctx, TALLOC_CTX *mem_ctx, diff --git a/source4/auth/ntlm/auth_sam.c b/source4/auth/ntlm/auth_sam.c index 58a21d2d22b..46cdd8d24ea 100644 --- a/source4/auth/ntlm/auth_sam.c +++ b/source4/auth/ntlm/auth_sam.c @@ -20,7 +20,6 @@ */ #include "includes.h" -#include "librpc/gen_ndr/ndr_netlogon.h" #include "system/time.h" #include "lib/ldb/include/ldb.h" #include "../lib/util/util_ldb.h" @@ -29,8 +28,6 @@ #include "auth/ntlm/auth_proto.h" #include "auth/auth_sam.h" #include "dsdb/samdb/samdb.h" -#include "libcli/security/security.h" -#include "libcli/ldap/ldap_ndr.h" #include "param/param.h" extern const char *user_attrs[]; diff --git a/source4/auth/ntlm/auth_server.c b/source4/auth/ntlm/auth_server.c index fd0ef0fe4ad..12849aa4202 100644 --- a/source4/auth/ntlm/auth_server.c +++ b/source4/auth/ntlm/auth_server.c @@ -21,10 +21,8 @@ #include "includes.h" #include "auth/auth.h" -#include "auth/ntlm/auth_proto.h" #include "auth/credentials/credentials.h" #include "libcli/security/security.h" -#include "librpc/gen_ndr/ndr_samr.h" #include "libcli/smb_composite/smb_composite.h" #include "param/param.h" #include "libcli/resolve/resolve.h" diff --git a/source4/auth/ntlm/auth_simple.c b/source4/auth/ntlm/auth_simple.c index ccf677bf516..1de74ec2e29 100644 --- a/source4/auth/ntlm/auth_simple.c +++ b/source4/auth/ntlm/auth_simple.c @@ -23,9 +23,6 @@ #include "includes.h" #include "auth/auth.h" -#include "lib/events/events.h" -#include "param/param.h" -#include "auth/session_proto.h" /* It's allowed to pass NULL as session_info, diff --git a/source4/auth/ntlm/auth_util.c b/source4/auth/ntlm/auth_util.c index 2f8ef10e05a..5543cbebeac 100644 --- a/source4/auth/ntlm/auth_util.c +++ b/source4/auth/ntlm/auth_util.c @@ -23,11 +23,7 @@ #include "includes.h" #include "auth/auth.h" -#include "auth/auth_proto.h" -#include "libcli/security/security.h" #include "libcli/auth/libcli_auth.h" -#include "dsdb/samdb/samdb.h" -#include "auth/credentials/credentials.h" #include "param/param.h" /* this default function can be used by mostly all backends diff --git a/source4/auth/ntlm/pam_errors.c b/source4/auth/ntlm/pam_errors.c index 29fa4a81331..9774ad87275 100644 --- a/source4/auth/ntlm/pam_errors.c +++ b/source4/auth/ntlm/pam_errors.c @@ -18,7 +18,6 @@ */ #include "includes.h" -#include "auth/ntlm/pam_errors.h" #ifdef WITH_HAVE_SECURITY_PAM_APPL_H #include -- 2.34.1