1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

s3-build: only use ndr_security.h where needed.

Guenther
This commit is contained in:
Günther Deschner
2010-05-28 02:19:32 +02:00
parent c00407bd35
commit f9f8007361
22 changed files with 23 additions and 0 deletions

View File

@ -19,6 +19,7 @@
#define TALLOC_DEPRECATED 1 #define TALLOC_DEPRECATED 1
#include "includes.h" #include "includes.h"
#include "librpc/gen_ndr/ndr_misc.h" #include "librpc/gen_ndr/ndr_misc.h"
#include "../librpc/gen_ndr/ndr_security.h"
#include "../libgpo/gpo.h" #include "../libgpo/gpo.h"
#if _SAMBA_BUILD_ == 4 #if _SAMBA_BUILD_ == 4
#include "system/filesys.h" #include "system/filesys.h"

View File

@ -21,6 +21,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "../librpc/gen_ndr/ndr_security.h"
/* Map generic permissions to file object specific permissions */ /* Map generic permissions to file object specific permissions */

View File

@ -18,6 +18,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "../librpc/gen_ndr/ndr_security.h"
/******************************************************************* /*******************************************************************
Create the share security tdb. Create the share security tdb.

View File

@ -23,6 +23,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "../librpc/gen_ndr/ndr_security.h"
/* /*
* Some useful sids, more well known sids can be found at * Some useful sids, more well known sids can be found at

View File

@ -18,6 +18,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "../librpc/gen_ndr/ndr_security.h"
NTSTATUS cli_get_quota_handle(struct cli_state *cli, uint16_t *quota_fnum) NTSTATUS cli_get_quota_handle(struct cli_state *cli, uint16_t *quota_fnum)
{ {

View File

@ -19,6 +19,8 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>. * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/ */
#include "../librpc/gen_ndr/ndr_security.h"
static NTSTATUS create_acl_blob(const struct security_descriptor *psd, static NTSTATUS create_acl_blob(const struct security_descriptor *psd,
DATA_BLOB *pblob, DATA_BLOB *pblob,
uint16_t hash_type, uint16_t hash_type,

View File

@ -20,6 +20,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "../librpc/gen_ndr/ndr_security.h"
/***************************************************************** /*****************************************************************
Dissect a user-provided name into domain, name, sid and type. Dissect a user-provided name into domain, name, sid and type.

View File

@ -24,6 +24,7 @@
#include "printing/pcap.h" #include "printing/pcap.h"
#include "registry.h" #include "registry.h"
#include "registry/reg_objects.h" #include "registry/reg_objects.h"
#include "../librpc/gen_ndr/ndr_security.h"
static TDB_CONTEXT *tdb_forms; /* used for forms files */ static TDB_CONTEXT *tdb_forms; /* used for forms files */
static TDB_CONTEXT *tdb_drivers; /* used for driver files */ static TDB_CONTEXT *tdb_drivers; /* used for driver files */

View File

@ -71,6 +71,7 @@
#include "reg_dispatcher.h" #include "reg_dispatcher.h"
#include "reg_util_marshalling.h" #include "reg_util_marshalling.h"
#include "reg_objects.h" #include "reg_objects.h"
#include "../librpc/gen_ndr/ndr_security.h"
#undef DBGC_CLASS #undef DBGC_CLASS
#define DBGC_CLASS DBGC_REGISTRY #define DBGC_CLASS DBGC_REGISTRY

View File

@ -20,6 +20,7 @@
#include "includes.h" #include "includes.h"
#include "regfio.h" #include "regfio.h"
#include "reg_objects.h" #include "reg_objects.h"
#include "../librpc/gen_ndr/ndr_security.h"
#undef DBGC_CLASS #undef DBGC_CLASS
#define DBGC_CLASS DBGC_REGISTRY #define DBGC_CLASS DBGC_REGISTRY

View File

@ -23,6 +23,7 @@
#include "srv_spoolss_util.h" #include "srv_spoolss_util.h"
#include "../librpc/gen_ndr/srv_winreg.h" #include "../librpc/gen_ndr/srv_winreg.h"
#include "../librpc/gen_ndr/cli_winreg.h" #include "../librpc/gen_ndr/cli_winreg.h"
#include "../librpc/gen_ndr/ndr_security.h"
#define TOP_LEVEL_PRINT_KEY "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Print" #define TOP_LEVEL_PRINT_KEY "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Print"
#define TOP_LEVEL_PRINT_PRINTERS_KEY TOP_LEVEL_PRINT_KEY "\\Printers" #define TOP_LEVEL_PRINT_PRINTERS_KEY TOP_LEVEL_PRINT_KEY "\\Printers"

View File

@ -26,6 +26,7 @@
#include "includes.h" #include "includes.h"
#include "../librpc/gen_ndr/srv_srvsvc.h" #include "../librpc/gen_ndr/srv_srvsvc.h"
#include "librpc/gen_ndr/messaging.h" #include "librpc/gen_ndr/messaging.h"
#include "../librpc/gen_ndr/ndr_security.h"
extern const struct generic_mapping file_generic_mapping; extern const struct generic_mapping file_generic_mapping;

View File

@ -27,6 +27,7 @@
#include "services/services.h" #include "services/services.h"
#include "registry.h" #include "registry.h"
#include "registry/reg_objects.h" #include "registry/reg_objects.h"
#include "../librpc/gen_ndr/ndr_security.h"
#undef DBGC_CLASS #undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV #define DBGC_CLASS DBGC_RPC_SRV

View File

@ -19,6 +19,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "../librpc/gen_ndr/ndr_security.h"
#undef DBGC_CLASS #undef DBGC_CLASS
#define DBGC_CLASS DBGC_ACLS #define DBGC_CLASS DBGC_ACLS

View File

@ -20,6 +20,7 @@
#include "includes.h" #include "includes.h"
#include "smbd/globals.h" #include "smbd/globals.h"
#include "../librpc/gen_ndr/ndr_security.h"
extern const struct generic_mapping file_generic_mapping; extern const struct generic_mapping file_generic_mapping;

View File

@ -22,6 +22,7 @@
#include "includes.h" #include "includes.h"
#include "smbd/globals.h" #include "smbd/globals.h"
#include "librpc/gen_ndr/messaging.h" #include "librpc/gen_ndr/messaging.h"
#include "../librpc/gen_ndr/ndr_security.h"
extern const struct generic_mapping file_generic_mapping; extern const struct generic_mapping file_generic_mapping;

View File

@ -22,6 +22,7 @@
#include "includes.h" #include "includes.h"
#include "smbd/globals.h" #include "smbd/globals.h"
#include "../libcli/smb/smb_common.h" #include "../libcli/smb/smb_common.h"
#include "../librpc/gen_ndr/ndr_security.h"
int map_smb2_oplock_levels_to_samba(uint8_t in_oplock_level) int map_smb2_oplock_levels_to_samba(uint8_t in_oplock_level)
{ {

View File

@ -28,6 +28,7 @@
#include "smbd/globals.h" #include "smbd/globals.h"
#include "../libcli/auth/libcli_auth.h" #include "../libcli/auth/libcli_auth.h"
#include "../librpc/gen_ndr/xattr.h" #include "../librpc/gen_ndr/xattr.h"
#include "../librpc/gen_ndr/ndr_security.h"
#define DIR_ENTRY_SAFETY_MARGIN 4096 #define DIR_ENTRY_SAFETY_MARGIN 4096

View File

@ -24,6 +24,7 @@
#include "librpc/gen_ndr/ndr_ntprinting.h" #include "librpc/gen_ndr/ndr_ntprinting.h"
#include "librpc/gen_ndr/cli_spoolss.h" #include "librpc/gen_ndr/cli_spoolss.h"
#include "rpc_client/cli_spoolss.h" #include "rpc_client/cli_spoolss.h"
#include "../librpc/gen_ndr/ndr_security.h"
#define FORMS_PREFIX "FORMS/" #define FORMS_PREFIX "FORMS/"
#define DRIVERS_PREFIX "DRIVERS/" #define DRIVERS_PREFIX "DRIVERS/"

View File

@ -25,6 +25,7 @@
#include "../librpc/gen_ndr/cli_winreg.h" #include "../librpc/gen_ndr/cli_winreg.h"
#include "registry/reg_util_marshalling.h" #include "registry/reg_util_marshalling.h"
#include "registry/reg_objects.h" #include "registry/reg_objects.h"
#include "../librpc/gen_ndr/ndr_security.h"
/******************************************************************* /*******************************************************************
connect to a registry hive root (open a registry policy) connect to a registry hive root (open a registry policy)

View File

@ -20,6 +20,7 @@
#include "includes.h" #include "includes.h"
#include "winbindd.h" #include "winbindd.h"
#include "librpc/gen_ndr/cli_wbint.h" #include "librpc/gen_ndr/cli_wbint.h"
#include "../librpc/gen_ndr/ndr_security.h"
/* /*
* We have 3 sets of routines here: * We have 3 sets of routines here:

View File

@ -20,6 +20,7 @@
#include "includes.h" #include "includes.h"
#include "winbindd.h" #include "winbindd.h"
#include "../librpc/gen_ndr/ndr_netlogon.h" #include "../librpc/gen_ndr/ndr_netlogon.h"
#include "../librpc/gen_ndr/ndr_security.h"
#undef DBGC_CLASS #undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND #define DBGC_CLASS DBGC_WINBIND