summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-24 14:12:42 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:09 +0200
commit3061f44fc9f6cf5b532cd59598d166e52c8cef36 (patch)
treec3cf998049d406764ef6ea2901b206742fd771eb /source3
parentaf300a9fcb96f99b37cbf3a47332a135bfe9722f (diff)
downloadsamba-3061f44fc9f6cf5b532cd59598d166e52c8cef36.tar.gz
samba-3061f44fc9f6cf5b532cd59598d166e52c8cef36.tar.bz2
samba-3061f44fc9f6cf5b532cd59598d166e52c8cef36.zip
s3-auth: printing needs auth.h
Guenther
Diffstat (limited to 'source3')
-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;