mirror of
https://github.com/samba-team/samba.git
synced 2025-10-12 23:33:18 +03:00
Avoid including libds/common/roles.h in public loadparm.h header.
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-By: Andrew Bartlett <abartlet@samba.org> Reviewed-By: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
committed by
Jelmer Vernooij
parent
ce32f26647
commit
773cfba9af
@@ -34,6 +34,7 @@
|
|||||||
#include "auth/gensec/gensec_internal.h"
|
#include "auth/gensec/gensec_internal.h"
|
||||||
#include "auth/common_auth.h"
|
#include "auth/common_auth.h"
|
||||||
#include "param/param.h"
|
#include "param/param.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -27,6 +27,7 @@
|
|||||||
#include "lib/tsocket/tsocket.h"
|
#include "lib/tsocket/tsocket.h"
|
||||||
#include "dfs_server/dfs_server_ad.h"
|
#include "dfs_server/dfs_server_ad.h"
|
||||||
#include "lib/util/util_net.h"
|
#include "lib/util/util_net.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
#define MAX_DFS_RESPONSE 56*1024 /* 56 Kb */
|
#define MAX_DFS_RESPONSE 56*1024 /* 56 Kb */
|
||||||
|
|
||||||
|
@@ -68,6 +68,7 @@
|
|||||||
#include "libcli/smb/smb_constants.h"
|
#include "libcli/smb/smb_constants.h"
|
||||||
#include "tdb.h"
|
#include "tdb.h"
|
||||||
#include "librpc/gen_ndr/nbt.h"
|
#include "librpc/gen_ndr/nbt.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
#ifdef HAVE_HTTPCONNECTENCRYPT
|
#ifdef HAVE_HTTPCONNECTENCRYPT
|
||||||
#include <cups/http.h>
|
#include <cups/http.h>
|
||||||
|
@@ -39,8 +39,6 @@ struct smbsrv_connection;
|
|||||||
|
|
||||||
#define Auto (2)
|
#define Auto (2)
|
||||||
|
|
||||||
#include "libds/common/roles.h"
|
|
||||||
|
|
||||||
struct loadparm_context;
|
struct loadparm_context;
|
||||||
struct loadparm_service;
|
struct loadparm_service;
|
||||||
struct smbcli_options;
|
struct smbcli_options;
|
||||||
|
@@ -32,6 +32,7 @@
|
|||||||
#include "lib/param/loadparm.h"
|
#include "lib/param/loadparm.h"
|
||||||
#include "lib/param/param_global.h"
|
#include "lib/param/param_global.h"
|
||||||
#include "libcli/smb/smb_constants.h"
|
#include "libcli/smb/smb_constants.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
#ifndef N_
|
#ifndef N_
|
||||||
#define N_(x) x
|
#define N_(x) x
|
||||||
|
@@ -28,6 +28,7 @@
|
|||||||
#include "system/filesys.h"
|
#include "system/filesys.h"
|
||||||
#include "system/dir.h"
|
#include "system/dir.h"
|
||||||
#include "param/param.h"
|
#include "param/param.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
|
@@ -35,6 +35,7 @@
|
|||||||
#include "netlogon_creds_cli.h"
|
#include "netlogon_creds_cli.h"
|
||||||
#include "source3/include/messages.h"
|
#include "source3/include/messages.h"
|
||||||
#include "source3/include/g_lock.h"
|
#include "source3/include/g_lock.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
struct netlogon_creds_cli_locked_state;
|
struct netlogon_creds_cli_locked_state;
|
||||||
|
|
||||||
|
@@ -2,6 +2,6 @@
|
|||||||
bld.SAMBA_LIBRARY('flag_mapping',
|
bld.SAMBA_LIBRARY('flag_mapping',
|
||||||
public_deps='talloc replace',
|
public_deps='talloc replace',
|
||||||
source='flag_mapping.c',
|
source='flag_mapping.c',
|
||||||
private_library=True,
|
private_library=True,
|
||||||
public_headers='roles.h',
|
private_headers='roles.h',
|
||||||
deps='samba-util')
|
deps='samba-util')
|
||||||
|
@@ -32,6 +32,7 @@
|
|||||||
#include "system/kerberos.h"
|
#include "system/kerberos.h"
|
||||||
#include "auth/kerberos/kerberos.h"
|
#include "auth/kerberos/kerberos.h"
|
||||||
#include "auth/kerberos/kerberos_util.h"
|
#include "auth/kerberos/kerberos_util.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
static NTSTATUS auth_generate_session_info_wrapper(struct auth4_context *auth_context,
|
static NTSTATUS auth_generate_session_info_wrapper(struct auth4_context *auth_context,
|
||||||
TALLOC_CTX *mem_ctx,
|
TALLOC_CTX *mem_ctx,
|
||||||
|
@@ -34,6 +34,7 @@
|
|||||||
#include "librpc/gen_ndr/ndr_irpc_c.h"
|
#include "librpc/gen_ndr/ndr_irpc_c.h"
|
||||||
#include "lib/messaging/irpc.h"
|
#include "lib/messaging/irpc.h"
|
||||||
#include "libcli/auth/libcli_auth.h"
|
#include "libcli/auth/libcli_auth.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
NTSTATUS auth_sam_init(void);
|
NTSTATUS auth_sam_init(void);
|
||||||
|
|
||||||
|
@@ -34,6 +34,7 @@
|
|||||||
#include "auth/auth.h"
|
#include "auth/auth.h"
|
||||||
#include "param/param.h"
|
#include "param/param.h"
|
||||||
#include "../lib/tsocket/tsocket.h"
|
#include "../lib/tsocket/tsocket.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
NTSTATUS server_service_cldapd_init(void);
|
NTSTATUS server_service_cldapd_init(void);
|
||||||
|
|
||||||
|
@@ -47,6 +47,7 @@
|
|||||||
#include "auth/credentials/credentials.h"
|
#include "auth/credentials/credentials.h"
|
||||||
#include "librpc/gen_ndr/ndr_irpc.h"
|
#include "librpc/gen_ndr/ndr_irpc.h"
|
||||||
#include "lib/messaging/irpc.h"
|
#include "lib/messaging/irpc.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
#undef DBGC_CLASS
|
#undef DBGC_CLASS
|
||||||
#define DBGC_CLASS DBGC_DNS
|
#define DBGC_CLASS DBGC_DNS
|
||||||
|
@@ -39,6 +39,7 @@
|
|||||||
#include "libcli/composite/composite.h"
|
#include "libcli/composite/composite.h"
|
||||||
#include "libcli/security/dom_sid.h"
|
#include "libcli/security/dom_sid.h"
|
||||||
#include "librpc/gen_ndr/ndr_irpc.h"
|
#include "librpc/gen_ndr/ndr_irpc.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
NTSTATUS server_service_dnsupdate_init(void);
|
NTSTATUS server_service_dnsupdate_init(void);
|
||||||
|
|
||||||
|
@@ -34,6 +34,7 @@
|
|||||||
#include "librpc/gen_ndr/ndr_drsuapi.h"
|
#include "librpc/gen_ndr/ndr_drsuapi.h"
|
||||||
#include "librpc/gen_ndr/ndr_drsblobs.h"
|
#include "librpc/gen_ndr/ndr_drsblobs.h"
|
||||||
#include "param/param.h"
|
#include "param/param.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
establish system creds
|
establish system creds
|
||||||
|
@@ -33,6 +33,7 @@
|
|||||||
#include "librpc/gen_ndr/ndr_drsblobs.h"
|
#include "librpc/gen_ndr/ndr_drsblobs.h"
|
||||||
#include "librpc/gen_ndr/ndr_irpc.h"
|
#include "librpc/gen_ndr/ndr_irpc.h"
|
||||||
#include "param/param.h"
|
#include "param/param.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Call-back data for _drepl_replica_sync_done_cb()
|
* Call-back data for _drepl_replica_sync_done_cb()
|
||||||
|
@@ -31,6 +31,7 @@
|
|||||||
#include "libcli/util/ntstatus.h"
|
#include "libcli/util/ntstatus.h"
|
||||||
/* tsocket-related functions */
|
/* tsocket-related functions */
|
||||||
#include "lib/tsocket/tsocket.h"
|
#include "lib/tsocket/tsocket.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
NTSTATUS server_service_echo_init(void);
|
NTSTATUS server_service_echo_init(void);
|
||||||
|
|
||||||
|
@@ -35,6 +35,7 @@
|
|||||||
#include "kdc/pac-glue.h"
|
#include "kdc/pac-glue.h"
|
||||||
#include "dsdb/samdb/samdb.h"
|
#include "dsdb/samdb/samdb.h"
|
||||||
#include "auth/session.h"
|
#include "auth/session.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
NTSTATUS server_service_kdc_init(void);
|
NTSTATUS server_service_kdc_init(void);
|
||||||
|
|
||||||
|
@@ -46,6 +46,7 @@
|
|||||||
#include "../lib/tsocket/tsocket.h"
|
#include "../lib/tsocket/tsocket.h"
|
||||||
#include "../lib/util/tevent_ntstatus.h"
|
#include "../lib/util/tevent_ntstatus.h"
|
||||||
#include "../libcli/util/tstream.h"
|
#include "../libcli/util/tstream.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
static void ldapsrv_terminate_connection_done(struct tevent_req *subreq);
|
static void ldapsrv_terminate_connection_done(struct tevent_req *subreq);
|
||||||
|
|
||||||
|
@@ -31,6 +31,7 @@
|
|||||||
#include "dsdb/samdb/ldb_modules/util.h"
|
#include "dsdb/samdb/ldb_modules/util.h"
|
||||||
#include "libcli/security/security.h"
|
#include "libcli/security/security.h"
|
||||||
#include "nbt_server/dgram/proto.h"
|
#include "nbt_server/dgram/proto.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
reply to a GETDC request
|
reply to a GETDC request
|
||||||
|
@@ -30,6 +30,7 @@
|
|||||||
#include "librpc/gen_ndr/ndr_nbt.h"
|
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||||
#include "dsdb/samdb/samdb.h"
|
#include "dsdb/samdb/samdb.h"
|
||||||
#include "param/param.h"
|
#include "param/param.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
static void nbtd_start_refresh_timer(struct nbtd_iface_name *iname);
|
static void nbtd_start_refresh_timer(struct nbtd_iface_name *iname);
|
||||||
|
|
||||||
|
@@ -22,6 +22,7 @@
|
|||||||
#include "param/param.h"
|
#include "param/param.h"
|
||||||
#include "torture/torture.h"
|
#include "torture/torture.h"
|
||||||
#include "torture/local/proto.h"
|
#include "torture/local/proto.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
static bool test_create(struct torture_context *tctx)
|
static bool test_create(struct torture_context *tctx)
|
||||||
{
|
{
|
||||||
|
@@ -41,6 +41,7 @@
|
|||||||
#include "../libcli/security/security.h"
|
#include "../libcli/security/security.h"
|
||||||
#include "librpc/gen_ndr/ndr_security.h"
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
#include "lib/crypto/arcfour.h"
|
#include "lib/crypto/arcfour.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
#include <gnutls/gnutls.h>
|
#include <gnutls/gnutls.h>
|
||||||
#include <gnutls/x509.h>
|
#include <gnutls/x509.h>
|
||||||
#if defined(HAVE_GCRYPT_H) && !defined(HAVE_GNUTLS3)
|
#if defined(HAVE_GCRYPT_H) && !defined(HAVE_GNUTLS3)
|
||||||
|
@@ -27,6 +27,7 @@
|
|||||||
#include "param/param.h"
|
#include "param/param.h"
|
||||||
#include "rpc_server/common/common.h"
|
#include "rpc_server/common/common.h"
|
||||||
#include "rpc_server/common/share.h"
|
#include "rpc_server/common/share.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Here are common server info functions used by some dcerpc server interfaces
|
Here are common server info functions used by some dcerpc server interfaces
|
||||||
|
@@ -33,6 +33,7 @@
|
|||||||
#include "libcli/security/session.h"
|
#include "libcli/security/session.h"
|
||||||
#include "libcli/lsarpc/util_lsarpc.h"
|
#include "libcli/lsarpc/util_lsarpc.h"
|
||||||
#include "lib/messaging/irpc.h"
|
#include "lib/messaging/irpc.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
this type allows us to distinguish handle types
|
this type allows us to distinguish handle types
|
||||||
|
@@ -20,6 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "param/param.h"
|
#include "param/param.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
this type allows us to distinguish handle types
|
this type allows us to distinguish handle types
|
||||||
|
@@ -44,6 +44,7 @@
|
|||||||
#include "dynconfig/dynconfig.h"
|
#include "dynconfig/dynconfig.h"
|
||||||
#include "lib/util/samba_modules.h"
|
#include "lib/util/samba_modules.h"
|
||||||
#include "nsswitch/winbind_client.h"
|
#include "nsswitch/winbind_client.h"
|
||||||
|
#include "libds/common/roles.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
recursively delete a directory tree
|
recursively delete a directory tree
|
||||||
|
Reference in New Issue
Block a user