summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-10-12 15:27:50 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-10-12 05:54:10 +0000
commitf768b32e37788e6722217148b0a73e54c04bc03a (patch)
treecfbd8582766d35dc9fd7627e987ea58740679d6c /source3/libsmb
parent5742f5115cc5102a668f8debc86deec23a4081f1 (diff)
downloadsamba-f768b32e37788e6722217148b0a73e54c04bc03a.tar.gz
samba-f768b32e37788e6722217148b0a73e54c04bc03a.tar.bz2
samba-f768b32e37788e6722217148b0a73e54c04bc03a.zip
libcli/security Provide a common, top level libcli/security/security.h
This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cliquota.c1
-rw-r--r--source3/libsmb/libsmb_server.c1
-rw-r--r--source3/libsmb/libsmb_xattr.c3
-rw-r--r--source3/libsmb/samlogon_cache.c1
-rw-r--r--source3/libsmb/trustdom_cache.c1
5 files changed, 5 insertions, 2 deletions
diff --git a/source3/libsmb/cliquota.c b/source3/libsmb/cliquota.c
index 002200ddaa..32be011db9 100644
--- a/source3/libsmb/cliquota.c
+++ b/source3/libsmb/cliquota.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "../librpc/gen_ndr/ndr_security.h"
#include "fake_file.h"
+#include "../libcli/security/security.h"
NTSTATUS cli_get_quota_handle(struct cli_state *cli, uint16_t *quota_fnum)
{
diff --git a/source3/libsmb/libsmb_server.c b/source3/libsmb/libsmb_server.c
index 2150768341..369e03781a 100644
--- a/source3/libsmb/libsmb_server.c
+++ b/source3/libsmb/libsmb_server.c
@@ -28,6 +28,7 @@
#include "libsmb_internal.h"
#include "../librpc/gen_ndr/ndr_lsa.h"
#include "rpc_client/cli_lsarpc.h"
+#include "libcli/security/security.h"
/*
* Check a server for being alive and well.
diff --git a/source3/libsmb/libsmb_xattr.c b/source3/libsmb/libsmb_xattr.c
index bc329bf226..7086808f3c 100644
--- a/source3/libsmb/libsmb_xattr.c
+++ b/source3/libsmb/libsmb_xattr.c
@@ -27,8 +27,7 @@
#include "libsmb_internal.h"
#include "../librpc/gen_ndr/ndr_lsa.h"
#include "rpc_client/cli_lsarpc.h"
-#include "../libcli/security/dom_sid.h"
-
+#include "../libcli/security/security.h"
/*
* Find an lsa pipe handle associated with a cli struct.
diff --git a/source3/libsmb/samlogon_cache.c b/source3/libsmb/samlogon_cache.c
index 45354f1c77..2e7a9c6b03 100644
--- a/source3/libsmb/samlogon_cache.c
+++ b/source3/libsmb/samlogon_cache.c
@@ -23,6 +23,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_krb5pac.h"
+#include "../libcli/security/security.h"
#define NETSAMLOGON_TDB "netsamlogon_cache.tdb"
diff --git a/source3/libsmb/trustdom_cache.c b/source3/libsmb/trustdom_cache.c
index 8c8f05f90e..56f60114b6 100644
--- a/source3/libsmb/trustdom_cache.c
+++ b/source3/libsmb/trustdom_cache.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "../libcli/security/security.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_ALL /* there's no proper class yet */