diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-10-12 15:27:50 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-10-12 05:54:10 +0000 |
commit | f768b32e37788e6722217148b0a73e54c04bc03a (patch) | |
tree | cfbd8582766d35dc9fd7627e987ea58740679d6c /source3/smbd | |
parent | 5742f5115cc5102a668f8debc86deec23a4081f1 (diff) | |
download | samba-f768b32e37788e6722217148b0a73e54c04bc03a.tar.gz samba-f768b32e37788e6722217148b0a73e54c04bc03a.tar.xz 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/smbd')
-rw-r--r-- | source3/smbd/dir.c | 1 | ||||
-rw-r--r-- | source3/smbd/file_access.c | 1 | ||||
-rw-r--r-- | source3/smbd/files.c | 1 | ||||
-rw-r--r-- | source3/smbd/lanman.c | 1 | ||||
-rw-r--r-- | source3/smbd/nttrans.c | 1 | ||||
-rw-r--r-- | source3/smbd/open.c | 1 | ||||
-rw-r--r-- | source3/smbd/pipes.c | 1 | ||||
-rw-r--r-- | source3/smbd/posix_acls.c | 2 | ||||
-rw-r--r-- | source3/smbd/reply.c | 1 | ||||
-rw-r--r-- | source3/smbd/service.c | 1 | ||||
-rw-r--r-- | source3/smbd/share_access.c | 1 | ||||
-rw-r--r-- | source3/smbd/smb2_read.c | 1 | ||||
-rw-r--r-- | source3/smbd/smb2_tcon.c | 1 | ||||
-rw-r--r-- | source3/smbd/trans2.c | 1 | ||||
-rw-r--r-- | source3/smbd/uid.c | 1 |
15 files changed, 15 insertions, 1 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index cd8d6a26e80..b49b89396c0 100644 --- a/source3/smbd/dir.c +++ b/source3/smbd/dir.c @@ -20,6 +20,7 @@ #include "includes.h" #include "smbd/globals.h" +#include "libcli/security/security.h" /* This module implements directory related functions for Samba. diff --git a/source3/smbd/file_access.c b/source3/smbd/file_access.c index 1d1776218eb..28d028fcb1a 100644 --- a/source3/smbd/file_access.c +++ b/source3/smbd/file_access.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "../libcli/security/security.h" #include "../librpc/gen_ndr/ndr_security.h" #undef DBGC_CLASS diff --git a/source3/smbd/files.c b/source3/smbd/files.c index 19a22e2b1e4..7275868ffae 100644 --- a/source3/smbd/files.c +++ b/source3/smbd/files.c @@ -19,6 +19,7 @@ #include "includes.h" #include "smbd/globals.h" +#include "libcli/security/security.h" #define VALID_FNUM(fnum) (((fnum) >= 0) && ((fnum) < real_max_open_files)) diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c index 2b01e89d6cb..e5527a58124 100644 --- a/source3/smbd/lanman.c +++ b/source3/smbd/lanman.c @@ -39,6 +39,7 @@ #include "../libcli/auth/libcli_auth.h" #include "rpc_client/init_lsa.h" #include "rpc_server/rpc_ncacn_np.h" +#include "../libcli/security/security.h" #ifdef CHECK_TYPES #undef CHECK_TYPES diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 017703ee975..3a9f6813ecd 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -21,6 +21,7 @@ #include "includes.h" #include "smbd/globals.h" #include "fake_file.h" +#include "../libcli/security/security.h" #include "../librpc/gen_ndr/ndr_security.h" extern const struct generic_mapping file_generic_mapping; diff --git a/source3/smbd/open.c b/source3/smbd/open.c index d3953319fe9..77f33b1cb30 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -24,6 +24,7 @@ #include "smbd/globals.h" #include "fake_file.h" #include "librpc/gen_ndr/messaging.h" +#include "../libcli/security/security.h" #include "../librpc/gen_ndr/ndr_security.h" extern const struct generic_mapping file_generic_mapping; diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c index dfe8756a19c..9f31abe569c 100644 --- a/source3/smbd/pipes.c +++ b/source3/smbd/pipes.c @@ -27,6 +27,7 @@ #include "includes.h" #include "smbd/globals.h" +#include "libcli/security/security.h" #define PIPE "\\PIPE\\" #define PIPELEN strlen(PIPE) diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index 9713ec0b301..fa715fb6733 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -20,7 +20,7 @@ */ #include "includes.h" -#include "../libcli/security/dom_sid.h" +#include "../libcli/security/security.h" extern const struct generic_mapping file_generic_mapping; diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index c84c077d581..5af5dacc9b1 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -32,6 +32,7 @@ #include "rpc_client/cli_spoolss.h" #include "rpc_client/init_spoolss.h" #include "rpc_server/rpc_ncacn_np.h" +#include "libcli/security/security.h" /**************************************************************************** Ensure we check the path in *exactly* the same way as W2K for a findfirst/findnext diff --git a/source3/smbd/service.c b/source3/smbd/service.c index 675ae2b0d56..ab68cb783e5 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -20,6 +20,7 @@ #include "includes.h" #include "smbd/globals.h" #include "../librpc/gen_ndr/netlogon.h" +#include "../libcli/security/security.h" extern userdom_struct current_user_info; diff --git a/source3/smbd/share_access.c b/source3/smbd/share_access.c index 72e7abe66a7..387d988a4d9 100644 --- a/source3/smbd/share_access.c +++ b/source3/smbd/share_access.c @@ -19,6 +19,7 @@ #include "includes.h" #include "smbd/globals.h" +#include "../libcli/security/security.h" /* * No prefix means direct username diff --git a/source3/smbd/smb2_read.c b/source3/smbd/smb2_read.c index 7f3bc356160..b1866d14811 100644 --- a/source3/smbd/smb2_read.c +++ b/source3/smbd/smb2_read.c @@ -21,6 +21,7 @@ #include "includes.h" #include "smbd/globals.h" #include "../libcli/smb/smb_common.h" +#include "libcli/security/security.h" static struct tevent_req *smbd_smb2_read_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, diff --git a/source3/smbd/smb2_tcon.c b/source3/smbd/smb2_tcon.c index 8f80a56a42c..1cfb4ceaa61 100644 --- a/source3/smbd/smb2_tcon.c +++ b/source3/smbd/smb2_tcon.c @@ -21,6 +21,7 @@ #include "includes.h" #include "smbd/globals.h" #include "../libcli/smb/smb_common.h" +#include "../libcli/security/security.h" static NTSTATUS smbd_smb2_tree_connect(struct smbd_smb2_request *req, const char *in_path, diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index ac6f8cd9e36..7ca5f5057a3 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -29,6 +29,7 @@ #include "../libcli/auth/libcli_auth.h" #include "../librpc/gen_ndr/xattr.h" #include "../librpc/gen_ndr/ndr_security.h" +#include "libcli/security/security.h" #define DIR_ENTRY_SAFETY_MARGIN 4096 diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c index c52a819ba3b..2b16d05b7c9 100644 --- a/source3/smbd/uid.c +++ b/source3/smbd/uid.c @@ -20,6 +20,7 @@ #include "includes.h" #include "smbd/globals.h" #include "../librpc/gen_ndr/netlogon.h" +#include "libcli/security/security.h" /* what user is current? */ extern struct current_user current_user; |