mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
s3-popt: Only include popt-common.h when needed.
This commit is contained in:
parent
c136b84f0d
commit
ce2a086119
nsswitch
source3
client
include
lib
libsmb
nmbd
rpcclient
smbd
torture
utils
dbwrap_torture.clog2pcaphex.cnet.cnet_rpc_registry.cnet_rpc_sh_acct.cnet_rpc_shell.cnmblookup.cntlm_auth.cpdbedit.cprofiles.csharesec.csmbcacls.csmbcontrol.csmbcquotas.csmbget.csmbtree.cstatus.ctestparm.c
web
winbindd
@ -22,6 +22,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "winbind_client.h"
|
||||
#include "libwbclient/wbclient.h"
|
||||
#include "lib/popt/popt.h"
|
||||
|
@ -22,6 +22,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "client/client_proto.h"
|
||||
#include "../librpc/gen_ndr/cli_srvsvc.h"
|
||||
|
||||
|
@ -659,7 +659,6 @@ struct ntlmssp_state;
|
||||
#include "client.h"
|
||||
|
||||
#include "session.h"
|
||||
#include "popt.h"
|
||||
#include "mangle.h"
|
||||
#include "module.h"
|
||||
#include "nsswitch/winbind_client.h"
|
||||
|
@ -58,4 +58,6 @@ struct user_auth_info {
|
||||
bool use_ccache;
|
||||
};
|
||||
|
||||
void popt_common_set_auth_info(struct user_auth_info *auth_info);
|
||||
|
||||
#endif /* _POPT_COMMON_H */
|
||||
|
@ -655,10 +655,6 @@ pid_t pidfile_pid(const char *name);
|
||||
void pidfile_create(const char *program_name);
|
||||
void pidfile_unlink(void);
|
||||
|
||||
/* The following definitions come from lib/popt_common.c */
|
||||
|
||||
void popt_common_set_auth_info(struct user_auth_info *auth_info);
|
||||
|
||||
/* The following definitions come from lib/privileges.c */
|
||||
|
||||
bool get_privileges_for_sids(SE_PRIV *privileges, struct dom_sid *slist, int scount);
|
||||
|
@ -1859,8 +1859,6 @@ struct unix_error_map {
|
||||
|
||||
#define DEFAULT_TRUST_ACCOUNT_PASSWORD_LENGTH 14
|
||||
|
||||
#include "popt_common.h"
|
||||
|
||||
#define PORT_NONE 0
|
||||
#ifndef LDAP_PORT
|
||||
#define LDAP_PORT 389
|
||||
|
@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
|
||||
#include "lib/netapi/netapi.h"
|
||||
#include "lib/netapi/netapi_private.h"
|
||||
|
@ -21,6 +21,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
|
||||
/* Handle command line options:
|
||||
* -d,--debuglevel
|
||||
|
@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "lib/smbconf/smbconf.h"
|
||||
#include "lib/smbconf/smbconf_init.h"
|
||||
#include "lib/smbconf/smbconf_reg.h"
|
||||
|
@ -22,6 +22,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "secrets.h"
|
||||
|
||||
extern char *global_clobber_region_function;
|
||||
|
@ -19,6 +19,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "../libcli/auth/libcli_auth.h"
|
||||
#include "../libcli/auth/spnego.h"
|
||||
#include "smb_krb5.h"
|
||||
|
@ -23,6 +23,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "libsmbclient.h"
|
||||
#include "libsmb_internal.h"
|
||||
#include "../librpc/gen_ndr/cli_srvsvc.h"
|
||||
|
@ -21,6 +21,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "librpc/gen_ndr/messaging.h"
|
||||
|
||||
int ClientNMB = -1;
|
||||
|
@ -20,6 +20,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "rpcclient.h"
|
||||
#include "../libcli/auth/libcli_auth.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
|
@ -22,6 +22,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "smbd/globals.h"
|
||||
#include "librpc/gen_ndr/messaging.h"
|
||||
#include "registry.h"
|
||||
|
@ -21,6 +21,7 @@
|
||||
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
|
||||
static bool samu_correct(struct samu *s1, struct samu *s2)
|
||||
{
|
||||
|
@ -21,6 +21,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#undef realloc
|
||||
|
||||
static int
|
||||
|
@ -24,6 +24,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "vfstest.h"
|
||||
|
||||
/* List to hold groups of commands */
|
||||
|
@ -20,6 +20,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
|
||||
#if 0
|
||||
#include "lib/events/events.h"
|
||||
|
@ -51,6 +51,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
|
||||
/* We don't care about the paranoid malloc checker in this standalone
|
||||
program */
|
||||
|
@ -41,6 +41,7 @@
|
||||
/*****************************************************/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "utils/net.h"
|
||||
#include "secrets.h"
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "registry.h"
|
||||
#include "utils/net.h"
|
||||
#include "utils/net_registry_util.h"
|
||||
|
@ -17,6 +17,7 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "utils/net.h"
|
||||
#include "../librpc/gen_ndr/cli_samr.h"
|
||||
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "utils/net.h"
|
||||
#include "../librpc/gen_ndr/ndr_samr.h"
|
||||
|
||||
|
@ -20,6 +20,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
|
||||
extern bool AllowDebugChange;
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "utils/ntlm_auth.h"
|
||||
#include "../libcli/auth/libcli_auth.h"
|
||||
#include "../libcli/auth/spnego.h"
|
||||
|
@ -21,6 +21,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
|
||||
#define BIT_BACKEND 0x00000004
|
||||
#define BIT_VERBOSE 0x00000008
|
||||
|
@ -20,6 +20,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "registry/reg_objects.h"
|
||||
#include "regfio.h"
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
|
||||
static TALLOC_CTX *ctx;
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "../librpc/gen_ndr/ndr_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "librpc/gen_ndr/messaging.h"
|
||||
#include "librpc/gen_ndr/spoolss.h"
|
||||
#include "nt_printing.h"
|
||||
|
@ -22,6 +22,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "../librpc/gen_ndr/ndr_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "libsmbclient.h"
|
||||
|
||||
#if _FILE_OFFSET_BITS==64
|
||||
|
@ -20,6 +20,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "../librpc/gen_ndr/cli_srvsvc.h"
|
||||
|
||||
static int use_bcast;
|
||||
|
@ -31,6 +31,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
|
||||
#define SMB_MAXPIDS 2048
|
||||
static uid_t Ucrit_uid = 0; /* added by OH */
|
||||
|
@ -32,6 +32,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
|
||||
extern bool AllowDebugChange;
|
||||
|
||||
|
@ -28,6 +28,7 @@
|
||||
**/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "web/swat_proto.h"
|
||||
|
||||
static int demo_mode = False;
|
||||
|
@ -23,6 +23,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "popt_common.h"
|
||||
#include "winbindd.h"
|
||||
#include "../../nsswitch/libwbclient/wbc_async.h"
|
||||
#include "librpc/gen_ndr/messaging.h"
|
||||
|
Loading…
Reference in New Issue
Block a user