1
0
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:
Andreas Schneider 2010-08-05 10:49:53 +02:00
parent c136b84f0d
commit ce2a086119
38 changed files with 36 additions and 7 deletions

View File

@ -22,6 +22,7 @@
*/
#include "includes.h"
#include "popt_common.h"
#include "winbind_client.h"
#include "libwbclient/wbclient.h"
#include "lib/popt/popt.h"

View File

@ -22,6 +22,7 @@
*/
#include "includes.h"
#include "popt_common.h"
#include "client/client_proto.h"
#include "../librpc/gen_ndr/cli_srvsvc.h"

View File

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

View File

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

View File

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

View File

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

View File

@ -18,6 +18,7 @@
*/
#include "includes.h"
#include "popt_common.h"
#include "lib/netapi/netapi.h"
#include "lib/netapi/netapi_private.h"

View File

@ -21,6 +21,7 @@
*/
#include "includes.h"
#include "popt_common.h"
/* Handle command line options:
* -d,--debuglevel

View File

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

View File

@ -22,6 +22,7 @@
*/
#include "includes.h"
#include "popt_common.h"
#include "secrets.h"
extern char *global_clobber_region_function;

View File

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

View File

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

View File

@ -21,6 +21,7 @@
*/
#include "includes.h"
#include "popt_common.h"
#include "librpc/gen_ndr/messaging.h"
int ClientNMB = -1;

View File

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

View File

@ -22,6 +22,7 @@
*/
#include "includes.h"
#include "popt_common.h"
#include "smbd/globals.h"
#include "librpc/gen_ndr/messaging.h"
#include "registry.h"

View File

@ -21,6 +21,7 @@
#include "includes.h"
#include "popt_common.h"
static bool samu_correct(struct samu *s1, struct samu *s2)
{

View File

@ -21,6 +21,7 @@
*/
#include "includes.h"
#include "popt_common.h"
#undef realloc
static int

View File

@ -24,6 +24,7 @@
*/
#include "includes.h"
#include "popt_common.h"
#include "vfstest.h"
/* List to hold groups of commands */

View File

@ -20,6 +20,7 @@
*/
#include "includes.h"
#include "popt_common.h"
#if 0
#include "lib/events/events.h"

View File

@ -51,6 +51,7 @@
*/
#include "includes.h"
#include "popt_common.h"
/* We don't care about the paranoid malloc checker in this standalone
program */

View File

@ -41,6 +41,7 @@
/*****************************************************/
#include "includes.h"
#include "popt_common.h"
#include "utils/net.h"
#include "secrets.h"

View File

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

View File

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

View File

@ -19,6 +19,7 @@
#include "includes.h"
#include "popt_common.h"
#include "utils/net.h"
#include "../librpc/gen_ndr/ndr_samr.h"

View File

@ -20,6 +20,7 @@
*/
#include "includes.h"
#include "popt_common.h"
extern bool AllowDebugChange;

View File

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

View File

@ -21,6 +21,7 @@
*/
#include "includes.h"
#include "popt_common.h"
#define BIT_BACKEND 0x00000004
#define BIT_VERBOSE 0x00000008

View File

@ -20,6 +20,7 @@
*/
#include "includes.h"
#include "popt_common.h"
#include "registry/reg_objects.h"
#include "regfio.h"

View File

@ -23,6 +23,7 @@
#include "includes.h"
#include "popt_common.h"
static TALLOC_CTX *ctx;

View File

@ -22,6 +22,7 @@
*/
#include "includes.h"
#include "popt_common.h"
#include "../librpc/gen_ndr/ndr_lsa.h"
#include "rpc_client/cli_lsarpc.h"

View File

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

View File

@ -22,6 +22,7 @@
*/
#include "includes.h"
#include "popt_common.h"
#include "../librpc/gen_ndr/ndr_lsa.h"
#include "rpc_client/cli_lsarpc.h"

View File

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

View File

@ -20,6 +20,7 @@
*/
#include "includes.h"
#include "popt_common.h"
#include "../librpc/gen_ndr/cli_srvsvc.h"
static int use_bcast;

View File

@ -31,6 +31,7 @@
*/
#include "includes.h"
#include "popt_common.h"
#define SMB_MAXPIDS 2048
static uid_t Ucrit_uid = 0; /* added by OH */

View File

@ -32,6 +32,7 @@
*/
#include "includes.h"
#include "popt_common.h"
extern bool AllowDebugChange;

View File

@ -28,6 +28,7 @@
**/
#include "includes.h"
#include "popt_common.h"
#include "web/swat_proto.h"
static int demo_mode = False;

View File

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