1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +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:
Jelmer Vernooij 2015-12-28 19:01:54 +00:00 committed by Jelmer Vernooij
parent ce32f26647
commit 773cfba9af
26 changed files with 27 additions and 5 deletions

View File

@ -34,6 +34,7 @@
#include "auth/gensec/gensec_internal.h"
#include "auth/common_auth.h"
#include "param/param.h"
#include "libds/common/roles.h"
/**

View File

@ -27,6 +27,7 @@
#include "lib/tsocket/tsocket.h"
#include "dfs_server/dfs_server_ad.h"
#include "lib/util/util_net.h"
#include "libds/common/roles.h"
#define MAX_DFS_RESPONSE 56*1024 /* 56 Kb */

View File

@ -68,6 +68,7 @@
#include "libcli/smb/smb_constants.h"
#include "tdb.h"
#include "librpc/gen_ndr/nbt.h"
#include "libds/common/roles.h"
#ifdef HAVE_HTTPCONNECTENCRYPT
#include <cups/http.h>

View File

@ -39,8 +39,6 @@ struct smbsrv_connection;
#define Auto (2)
#include "libds/common/roles.h"
struct loadparm_context;
struct loadparm_service;
struct smbcli_options;

View File

@ -32,6 +32,7 @@
#include "lib/param/loadparm.h"
#include "lib/param/param_global.h"
#include "libcli/smb/smb_constants.h"
#include "libds/common/roles.h"
#ifndef N_
#define N_(x) x

View File

@ -28,6 +28,7 @@
#include "system/filesys.h"
#include "system/dir.h"
#include "param/param.h"
#include "libds/common/roles.h"
/**
* @file

View File

@ -35,6 +35,7 @@
#include "netlogon_creds_cli.h"
#include "source3/include/messages.h"
#include "source3/include/g_lock.h"
#include "libds/common/roles.h"
struct netlogon_creds_cli_locked_state;

View File

@ -2,6 +2,6 @@
bld.SAMBA_LIBRARY('flag_mapping',
public_deps='talloc replace',
source='flag_mapping.c',
private_library=True,
public_headers='roles.h',
deps='samba-util')
private_library=True,
private_headers='roles.h',
deps='samba-util')

View File

@ -32,6 +32,7 @@
#include "system/kerberos.h"
#include "auth/kerberos/kerberos.h"
#include "auth/kerberos/kerberos_util.h"
#include "libds/common/roles.h"
static NTSTATUS auth_generate_session_info_wrapper(struct auth4_context *auth_context,
TALLOC_CTX *mem_ctx,

View File

@ -34,6 +34,7 @@
#include "librpc/gen_ndr/ndr_irpc_c.h"
#include "lib/messaging/irpc.h"
#include "libcli/auth/libcli_auth.h"
#include "libds/common/roles.h"
NTSTATUS auth_sam_init(void);

View File

@ -34,6 +34,7 @@
#include "auth/auth.h"
#include "param/param.h"
#include "../lib/tsocket/tsocket.h"
#include "libds/common/roles.h"
NTSTATUS server_service_cldapd_init(void);

View File

@ -47,6 +47,7 @@
#include "auth/credentials/credentials.h"
#include "librpc/gen_ndr/ndr_irpc.h"
#include "lib/messaging/irpc.h"
#include "libds/common/roles.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_DNS

View File

@ -39,6 +39,7 @@
#include "libcli/composite/composite.h"
#include "libcli/security/dom_sid.h"
#include "librpc/gen_ndr/ndr_irpc.h"
#include "libds/common/roles.h"
NTSTATUS server_service_dnsupdate_init(void);

View File

@ -34,6 +34,7 @@
#include "librpc/gen_ndr/ndr_drsuapi.h"
#include "librpc/gen_ndr/ndr_drsblobs.h"
#include "param/param.h"
#include "libds/common/roles.h"
/*
establish system creds

View File

@ -33,6 +33,7 @@
#include "librpc/gen_ndr/ndr_drsblobs.h"
#include "librpc/gen_ndr/ndr_irpc.h"
#include "param/param.h"
#include "libds/common/roles.h"
/**
* Call-back data for _drepl_replica_sync_done_cb()

View File

@ -31,6 +31,7 @@
#include "libcli/util/ntstatus.h"
/* tsocket-related functions */
#include "lib/tsocket/tsocket.h"
#include "libds/common/roles.h"
NTSTATUS server_service_echo_init(void);

View File

@ -35,6 +35,7 @@
#include "kdc/pac-glue.h"
#include "dsdb/samdb/samdb.h"
#include "auth/session.h"
#include "libds/common/roles.h"
NTSTATUS server_service_kdc_init(void);

View File

@ -46,6 +46,7 @@
#include "../lib/tsocket/tsocket.h"
#include "../lib/util/tevent_ntstatus.h"
#include "../libcli/util/tstream.h"
#include "libds/common/roles.h"
static void ldapsrv_terminate_connection_done(struct tevent_req *subreq);

View File

@ -31,6 +31,7 @@
#include "dsdb/samdb/ldb_modules/util.h"
#include "libcli/security/security.h"
#include "nbt_server/dgram/proto.h"
#include "libds/common/roles.h"
/*
reply to a GETDC request

View File

@ -30,6 +30,7 @@
#include "librpc/gen_ndr/ndr_nbt.h"
#include "dsdb/samdb/samdb.h"
#include "param/param.h"
#include "libds/common/roles.h"
static void nbtd_start_refresh_timer(struct nbtd_iface_name *iname);

View File

@ -22,6 +22,7 @@
#include "param/param.h"
#include "torture/torture.h"
#include "torture/local/proto.h"
#include "libds/common/roles.h"
static bool test_create(struct torture_context *tctx)
{

View File

@ -41,6 +41,7 @@
#include "../libcli/security/security.h"
#include "librpc/gen_ndr/ndr_security.h"
#include "lib/crypto/arcfour.h"
#include "libds/common/roles.h"
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>
#if defined(HAVE_GCRYPT_H) && !defined(HAVE_GNUTLS3)

View File

@ -27,6 +27,7 @@
#include "param/param.h"
#include "rpc_server/common/common.h"
#include "rpc_server/common/share.h"
#include "libds/common/roles.h"
/*
Here are common server info functions used by some dcerpc server interfaces

View File

@ -33,6 +33,7 @@
#include "libcli/security/session.h"
#include "libcli/lsarpc/util_lsarpc.h"
#include "lib/messaging/irpc.h"
#include "libds/common/roles.h"
/*
this type allows us to distinguish handle types

View File

@ -20,6 +20,7 @@
*/
#include "param/param.h"
#include "libds/common/roles.h"
/*
this type allows us to distinguish handle types

View File

@ -44,6 +44,7 @@
#include "dynconfig/dynconfig.h"
#include "lib/util/samba_modules.h"
#include "nsswitch/winbind_client.h"
#include "libds/common/roles.h"
/*
recursively delete a directory tree