summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/printing/nt_printing.c1
-rw-r--r--source3/printing/nt_printing_ads.c1
-rw-r--r--source3/printing/nt_printing_migrate.c1
-rw-r--r--source3/printing/printing.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index af790203d2..f82256d794 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -35,6 +35,7 @@
#include "../libcli/security/security.h"
#include "passdb/machine_sid.h"
#include "smbd/smbd.h"
+#include "auth.h"
/* Map generic permissions to printer object specific permissions */
diff --git a/source3/printing/nt_printing_ads.c b/source3/printing/nt_printing_ads.c
index 56e68439ed..ea41471613 100644
--- a/source3/printing/nt_printing_ads.c
+++ b/source3/printing/nt_printing_ads.c
@@ -27,6 +27,7 @@
#include "secrets.h"
#include "krb5_env.h"
#include "../libcli/registry/util_reg.h"
+#include "auth.h"
#ifdef HAVE_ADS
/*****************************************************************
diff --git a/source3/printing/nt_printing_migrate.c b/source3/printing/nt_printing_migrate.c
index a15c41beea..c62d1c8de5 100644
--- a/source3/printing/nt_printing_migrate.c
+++ b/source3/printing/nt_printing_migrate.c
@@ -27,6 +27,7 @@
#include "rpc_client/cli_spoolss.h"
#include "librpc/gen_ndr/ndr_security.h"
#include "rpc_server/rpc_ncacn_np.h"
+#include "auth.h"
#define FORMS_PREFIX "FORMS/"
#define DRIVERS_PREFIX "DRIVERS/"
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index a32c20281b..1dd053f69e 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -31,6 +31,7 @@
#include "printing/pcap.h"
#include "serverid.h"
#include "smbd/smbd.h"
+#include "auth.h"
extern struct current_user current_user;
extern userdom_struct current_user_info;