1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-03 01:18:10 +03:00

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
This commit is contained in:
Andrew Bartlett 2010-10-12 15:27:50 +11:00
parent 5742f5115c
commit f768b32e37
156 changed files with 158 additions and 61 deletions

View File

@ -19,9 +19,7 @@
*/
#include "includes.h"
#include "librpc/gen_ndr/security.h"
#include "libcli/security/secace.h"
#include "libcli/security/dom_sid.h"
#include "libcli/security/security.h"
#include "librpc/ndr/libndr.h"
/****************************************************************************

View File

@ -20,7 +20,7 @@
*/
#include "includes.h"
#include "libcli/security/dom_sid.h"
#include "libcli/security/security.h"
#include "librpc/gen_ndr/ndr_misc.h"
#include "system/locale.h"

View File

@ -22,7 +22,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_security.h"
#include "libcli/security/dom_sid.h"
#include "libcli/security/security.h"
#include "lib/util/tsort.h"
#define SEC_ACE_HEADER_SIZE (2 * sizeof(uint8_t) + sizeof(uint16_t) + sizeof(uint32_t))

View File

@ -36,10 +36,13 @@ struct object_tree {
#include "libcli/security/dom_sid.h"
#include "libcli/security/secace.h"
#include "libcli/security/secacl.h"
#include "libcli/security/proto.h"
#include "libcli/security/security_descriptor.h"
#include "libcli/security/security_token.h"
#include "libcli/security/sddl.h"
#include "libcli/security/privileges.h"
#if _SAMBA_BUILD_ >= 4
#include "libcli/security/proto.h"
#endif
#endif

View File

@ -20,8 +20,7 @@
*/
#include "includes.h"
#include "libcli/security/security_descriptor.h"
#include "libcli/security/dom_sid.h"
#include "libcli/security/security.h"
/*
return a blank security descriptor (no owners, dacl or sacl)

View File

@ -23,6 +23,7 @@
#include "libgpo/gpo_s4.h"
#include "source4/libgpo/ads_convenience.h"
#endif
#include "../libcli/security/security.h"
/****************************************************************
parse the raw extension string into a GP_EXT structure

View File

@ -18,7 +18,7 @@
*/
#include "includes.h"
#include "libcli/security/dom_sid.h"
#include "libcli/security/security.h"
#include "../libgpo/gpo.h"
#if _SAMBA_BUILD_ == 4
#include "libgpo/ads_convenience.h"

View File

@ -21,6 +21,7 @@
#include "librpc/gen_ndr/ndr_misc.h"
#include "../librpc/gen_ndr/ndr_security.h"
#include "../libgpo/gpo.h"
#include "../libcli/security/security.h"
#if _SAMBA_BUILD_ == 4
#include "system/filesys.h"
#include "auth/auth.h"

View File

@ -23,10 +23,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_security.h"
#include "../libcli/security/dom_sid.h"
#if _SAMBA_BUILD_ == 4
#include "libcli/security/security.h"
#endif
#include "../libcli/security/security.h"
/*
return the wire size of a security_ace

View File

@ -26,7 +26,7 @@
#include "../libcli/auth/libcli_auth.h"
#include "../lib/crypto/arcfour.h"
#include "rpc_client/init_lsa.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_AUTH

View File

@ -20,7 +20,7 @@
#include "includes.h"
#include "../lib/crypto/arcfour.h"
#include "../librpc/gen_ndr/netlogon.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_AUTH

View File

@ -27,8 +27,8 @@
#include "includes.h"
#include "secrets.h"
#include "memcache.h"
#include "../libcli/security/dom_sid.h"
#include "../librpc/gen_ndr/netlogon.h"
#include "../libcli/security/security.h"
/****************************************************************************
Check for a SID in an struct security_token

View File

@ -28,6 +28,7 @@
#include "../lib/util/select.h"
#include "system/readline.h"
#include "../libcli/smbreadline/smbreadline.h"
#include "../libcli/security/security.h"
#ifndef REGISTER
#define REGISTER 0

View File

@ -22,6 +22,7 @@
#include "includes.h"
#include "groupdb/mapping.h"
#include "../libcli/security/security.h"
static const struct mapping_backend *backend;

View File

@ -23,7 +23,7 @@
#include "includes.h"
#include "groupdb/mapping.h"
#include "dbwrap.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
static struct db_context *db; /* used for driver files */

View File

@ -22,6 +22,7 @@
#include "includes.h"
#include "lib/eventlog/eventlog.h"
#include "../libcli/security/security.h"
/* maintain a list of open eventlog tdbs with reference counts */

View File

@ -19,6 +19,7 @@
#include "includes.h"
#include "idmap_cache.h"
#include "../libcli/security/security.h"
/**
* Find a sid2uid mapping

View File

@ -25,7 +25,7 @@
#include "lib/netapi/libnetapi.h"
#include "../librpc/gen_ndr/cli_samr.h"
#include "rpc_client/init_lsa.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
/****************************************************************
****************************************************************/

View File

@ -27,7 +27,7 @@
#include "../librpc/gen_ndr/cli_lsa.h"
#include "rpc_client/cli_lsarpc.h"
#include "rpc_client/init_lsa.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
static NTSTATUS libnetapi_samr_lookup_and_open_alias(TALLOC_CTX *mem_ctx,
struct rpc_pipe_client *pipe_cli,

View File

@ -23,6 +23,7 @@
#include "../librpc/gen_ndr/cli_samr.h"
#include "rpc_client/cli_samr.h"
#include "rpc_client/init_lsa.h"
#include "../libcli/security/security.h"
/****************************************************************
****************************************************************/

View File

@ -20,6 +20,7 @@
#include "includes.h"
#include "lib/netapi/netapi.h"
#include "../libcli/security/security.h"
/****************************************************************
****************************************************************/

View File

@ -27,7 +27,7 @@
#include "rpc_client/init_samr.h"
#include "../libds/common/flags.h"
#include "rpc_client/init_lsa.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
/****************************************************************
****************************************************************/

View File

@ -24,6 +24,7 @@
#include "includes.h"
#include "dbwrap.h"
#include "libcli/security/privileges_private.h"
#include "../libcli/security/security.h"
#define PRIVPREFIX "PRIV_"

View File

@ -22,7 +22,7 @@
#include "includes.h"
#include "../librpc/gen_ndr/ndr_security.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
#define ALL_SECURITY_INFORMATION (SECINFO_OWNER|SECINFO_GROUP|\
SECINFO_DACL|SECINFO_SACL|\

View File

@ -18,6 +18,7 @@
*/
#include "includes.h"
#include "../libcli/security/security.h"
#include "../librpc/gen_ndr/ndr_security.h"
#include "dbwrap.h"

View File

@ -25,6 +25,7 @@
#include "includes.h"
#include "smbldap.h"
#include "secrets.h"
#include "../libcli/security/security.h"
/* Try not to hit the up or down server forever */

View File

@ -20,6 +20,7 @@
#include "includes.h"
#include "tldap.h"
#include "tldap_util.h"
#include "../libcli/security/security.h"
bool tldap_entry_values(struct tldap_message *msg, const char *attribute,
int *num_values, DATA_BLOB **values)

View File

@ -26,7 +26,7 @@
/* function(s) moved from auth/auth_util.c to minimize linker deps */
#include "includes.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
/****************************************************************************
Duplicate a SID token.

View File

@ -21,6 +21,7 @@
*/
#include "includes.h"
#include "libcli/security/security.h"
/* Map generic access rights to object specific rights. This technique is
used to give meaning to assigning read, write, execute and all access to

View File

@ -19,6 +19,7 @@
*/
#include "includes.h"
#include "../libcli/security/security.h"
#if defined(WITH_WINBIND)

View File

@ -28,6 +28,7 @@
#include "libads/dns.h"
#include "../libds/common/flags.h"
#include "smbldap.h"
#include "../libcli/security/security.h"
#ifdef HAVE_LDAP

View File

@ -25,6 +25,7 @@
#include "registry/reg_backend_db.h"
#include "registry/reg_api_util.h"
#include "registry/reg_init_basic.h"
#include "../libcli/security/security.h"
/****************************************************************

View File

@ -35,7 +35,7 @@
#include "secrets.h"
#include "rpc_client/init_lsa.h"
#include "krb5_env.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
/****************************************************************
****************************************************************/

View File

@ -28,7 +28,7 @@
#include "../libcli/auth/libcli_auth.h"
#include "../librpc/gen_ndr/ndr_netlogon.h"
#include "../librpc/gen_ndr/cli_netlogon.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
/**
* Fix up the delta, dealing with encryption issues so that the final

View File

@ -25,7 +25,7 @@
#include "includes.h"
#include "libnet/libnet_samsync.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
/* Convert a struct samu_DELTA to a struct samu. */
#define STRING_CHANGED (old_string && !new_string) ||\

View File

@ -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)
{

View File

@ -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.

View File

@ -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.

View File

@ -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"

View File

@ -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 */

View File

@ -39,6 +39,7 @@
#include "librpc/gen_ndr/messaging.h"
#include "smbd/globals.h"
#include "dbwrap.h"
#include "../libcli/security/security.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_LOCKING

View File

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

View File

@ -22,7 +22,7 @@
#include "includes.h"
#include "../lib/crypto/crypto.h"
#include "vfs_smb_traffic_analyzer.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
#include "secrets.h"
#include "../librpc/gen_ndr/ndr_netlogon.h"

View File

@ -27,7 +27,7 @@
#include "../libcli/netlogon.h"
#include "../libcli/cldap/cldap.h"
#include "../lib/tsocket/tsocket.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
#include "secrets.h"
#include "nmbd/nmbd.h"

View File

@ -21,6 +21,7 @@
#include "includes.h"
#include "dbwrap.h"
#include "../libcli/security/security.h"
static struct db_context *db;
/* cache all entries for 60 seconds for to save ldap-queries (cache is updated

View File

@ -24,7 +24,7 @@
#include "secrets.h"
#include "memcache.h"
#include "idmap_cache.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
/*****************************************************************
Dissect a user-provided name into domain, name, sid and type.

View File

@ -23,7 +23,7 @@
#include "includes.h"
#include "secrets.h"
#include "dbwrap.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
/* NOTE! the global_sam_sid is the SID of our local SAM. This is only
equal to the domain SID when we are a DC, otherwise its our

View File

@ -25,6 +25,7 @@
#include "includes.h"
#include "../libcli/auth/libcli_auth.h"
#include "secrets.h"
#include "../libcli/security/security.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_PASSDB

View File

@ -24,6 +24,7 @@
#include "secrets.h"
#include "../librpc/gen_ndr/samr.h"
#include "../libcli/ldap/ldap_ndr.h"
#include "../libcli/security/security.h"
struct pdb_ads_state {
struct sockaddr_un socket_address;

View File

@ -22,6 +22,7 @@
*/
#include "includes.h"
#include "../libcli/security/security.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_PASSDB

View File

@ -23,7 +23,7 @@
#include "includes.h"
#include "../libcli/auth/libcli_auth.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_PASSDB

View File

@ -25,7 +25,7 @@
#include "../librpc/gen_ndr/samr.h"
#include "memcache.h"
#include "nsswitch/winbind_client.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_PASSDB

View File

@ -47,7 +47,7 @@
#include "../libcli/auth/libcli_auth.h"
#include "secrets.h"
#include "idmap_cache.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_PASSDB

View File

@ -22,7 +22,7 @@
#include "includes.h"
#include "../librpc/gen_ndr/samr.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_PASSDB

View File

@ -24,6 +24,7 @@
#include "includes.h"
#include "dbwrap.h"
#include "../libcli/security/security.h"
#if 0 /* when made a module use this */

View File

@ -27,6 +27,7 @@
#include "librpc/gen_ndr/ndr_secrets.h"
#include "secrets.h"
#include "dbwrap.h"
#include "../libcli/security/security.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_PASSDB

View File

@ -18,7 +18,7 @@
*/
#include "includes.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
struct rid_name_map {
uint32 rid;

View File

@ -18,7 +18,7 @@
*/
#include "includes.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
bool sid_check_is_unix_users(const struct dom_sid *sid)
{

View File

@ -21,7 +21,7 @@
*/
#include "includes.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
struct rid_name_map {
uint32 rid;

View File

@ -32,6 +32,7 @@
#include "nt_printing.h"
#include "secrets.h"
#include "../librpc/gen_ndr/netlogon.h"
#include "../libcli/security/security.h"
/* Map generic permissions to printer object specific permissions */

View File

@ -24,6 +24,7 @@
#include "printing/nt_printing_tdb.h"
#include "librpc/gen_ndr/spoolss.h"
#include "librpc/gen_ndr/ndr_security.h"
#include "libcli/security/security.h"
#define FORMS_PREFIX "FORMS/"
#define DRIVERS_PREFIX "DRIVERS/"

View File

@ -22,6 +22,7 @@
#include "../librpc/gen_ndr/cli_spoolss.h"
#include "rpc_server/rpc_ncacn_np.h"
#include "smbd/globals.h"
#include "../libcli/security/security.h"
void print_spool_terminate(struct connection_struct *conn,
struct print_file_data *print_file);

View File

@ -26,6 +26,7 @@
#include "includes.h"
#include "registry.h"
#include "reg_dispatcher.h"
#include "../libcli/security/security.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_REGISTRY

View File

@ -19,6 +19,7 @@
#include "includes.h"
#include "reg_util_token.h"
#include "../libcli/security/security.h"
/*
* create a fake token just with enough rights to

View File

@ -26,7 +26,7 @@
#include "../librpc/gen_ndr/cli_lsa.h"
#include "rpc_client/cli_lsarpc.h"
#include "rpc_client/init_lsa.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
/** @defgroup lsa LSA - Local Security Architecture
* @ingroup rpc_client

View File

@ -26,6 +26,7 @@
#include "registry.h"
#include "registry/reg_api.h"
#include "registry/reg_api_util.h"
#include "../libcli/security/security.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV

View File

@ -34,7 +34,7 @@
#include "secrets.h"
#include "../librpc/gen_ndr/netlogon.h"
#include "rpc_client/init_lsa.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV

View File

@ -36,7 +36,7 @@
#include "../lib/crypto/md4.h"
#include "rpc_client/init_lsa.h"
#include "rpc_server/rpc_ncacn_np.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
extern userdom_struct current_user_info;

View File

@ -39,7 +39,7 @@
#include "../lib/crypto/arcfour.h"
#include "secrets.h"
#include "rpc_client/init_lsa.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV

View File

@ -34,6 +34,7 @@
#include "../librpc/gen_ndr/cli_spoolss.h"
#include "rpc_client/init_spoolss.h"
#include "librpc/gen_ndr/messaging.h"
#include "../libcli/security/security.h"
#include "librpc/gen_ndr/ndr_security.h"
#include "registry.h"
#include "registry/reg_objects.h"

View File

@ -28,7 +28,7 @@
#include "../librpc/gen_ndr/ndr_security.h"
#include "secrets.h"
#include "rpc_server/rpc_ncacn_np.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
#define TOP_LEVEL_PRINT_KEY "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Print"
#define TOP_LEVEL_PRINT_PRINTERS_KEY TOP_LEVEL_PRINT_KEY "\\Printers"

View File

@ -26,6 +26,7 @@
#include "includes.h"
#include "../librpc/gen_ndr/srv_srvsvc.h"
#include "librpc/gen_ndr/messaging.h"
#include "../libcli/security/security.h"
#include "../librpc/gen_ndr/ndr_security.h"
#include "dbwrap.h"

View File

@ -25,6 +25,7 @@
#include "includes.h"
#include "../librpc/gen_ndr/srv_svcctl.h"
#include "services/services.h"
#include "../libcli/security/security.h"
#include "../librpc/gen_ndr/ndr_security.h"
#undef DBGC_CLASS

View File

@ -27,6 +27,7 @@
#include "libnet/libnet_join.h"
#include "../libcli/auth/libcli_auth.h"
#include "../librpc/gen_ndr/srv_wkssvc.h"
#include "../libcli/security/security.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV

View File

@ -27,6 +27,7 @@
#include "../librpc/gen_ndr/cli_lsa.h"
#include "rpc_client/cli_lsarpc.h"
#include "rpc_client/init_lsa.h"
#include "../libcli/security/security.h"
/* useful function to allow entering a name instead of a SID and
* looking it up automatically */

View File

@ -30,7 +30,7 @@
#include "rpc_client/cli_samr.h"
#include "rpc_client/init_samr.h"
#include "rpc_client/init_lsa.h"
#include "../libcli/security/dom_sid.h"
#include "../libcli/security/security.h"
extern struct dom_sid domain_sid;

View File

@ -28,6 +28,7 @@
#include "../librpc/gen_ndr/ndr_netlogon.h"
#include "rpc_client/cli_netlogon.h"
#include "../libcli/smbreadline/smbreadline.h"
#include "../libcli/security/security.h"
enum pipe_auth_type_spnego {
PIPE_AUTH_TYPE_SPNEGO_NONE = 0,

View File

@ -25,6 +25,7 @@
#include "registry.h"
#include "registry/reg_api.h"
#include "registry/reg_api_util.h"
#include "../libcli/security/security.h"
struct rcinit_file_information {
char *description;

View File

@ -20,6 +20,7 @@
#include "includes.h"
#include "smbd/globals.h"
#include "libcli/security/security.h"
/*
This module implements directory related functions for Samba.

View File

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

View File

@ -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))

View File

@ -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

View File

@ -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;

View File

@ -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;

View File

@ -27,6 +27,7 @@
#include "includes.h"
#include "smbd/globals.h"
#include "libcli/security/security.h"
#define PIPE "\\PIPE\\"
#define PIPELEN strlen(PIPE)

View File

@ -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;

View File

@ -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

View File

@ -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;

View File

@ -19,6 +19,7 @@
#include "includes.h"
#include "smbd/globals.h"
#include "../libcli/security/security.h"
/*
* No prefix means direct username

View File

@ -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,

View File

@ -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,

View File

@ -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

View File

@ -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;

View File

@ -21,6 +21,7 @@
#include "includes.h"
#include "torture/proto.h"
#include "../libcli/security/security.h"
#define MAX_FILES 1000

View File

@ -19,6 +19,7 @@
#include "includes.h"
#include "torture/proto.h"
#include "../libcli/security/security.h"
/*
* Make sure that GENERIC_WRITE does not trigger append. See

View File

@ -21,7 +21,7 @@
#include "includes.h"
#include "nsswitch/libwbclient/wbc_async.h"
#include "torture/proto.h"
#include "libcli/security/dom_sid.h"
#include "libcli/security/security.h"
#include "tldap.h"
#include "tldap_util.h"
#include "../librpc/gen_ndr/svcctl.h"

View File

@ -19,6 +19,7 @@
#include "includes.h"
#include "torture/proto.h"
#include "../libcli/security/security.h"
bool torture_utable(int dummy)
{

View File

@ -45,6 +45,7 @@
#include "utils/net.h"
#include "secrets.h"
#include "lib/netapi/netapi.h"
#include "../libcli/security/security.h"
extern bool AllowDebugChange;

View File

@ -34,6 +34,7 @@
#include "smb_krb5.h"
#include "secrets.h"
#include "krb5_env.h"
#include "../libcli/security/security.h"
#ifdef HAVE_ADS

View File

@ -23,6 +23,7 @@
#include "includes.h"
#include "utils/net.h"
#include "../libcli/security/security.h"
/*********************************************************
Figure out if the input was an NT group or a SID string.

Some files were not shown because too many files have changed in this diff Show More