summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/param/loadparm.c62
1 files changed, 31 insertions, 31 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index 043e7d2ba8..809a9173c4 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -120,9 +120,9 @@ struct loadparm_global
char *szWinbinddSocketDirectory;
char *szTemplateShell;
char *szTemplateHomedir;
- bool bWinbindSealedPipes;
+ int bWinbindSealedPipes;
char *swat_directory;
- bool tls_enabled;
+ int tls_enabled;
char *tls_keyfile;
char *tls_certfile;
char *tls_cafile;
@@ -135,8 +135,8 @@ struct loadparm_global
int srv_minprotocol;
int cli_maxprotocol;
int cli_minprotocol;
- enum security_types security;
- bool paranoid_server_security;
+ int security;
+ int paranoid_server_security;
int max_wins_ttl;
int min_wins_ttl;
int announce_as; /* This is initialised in init_globals */
@@ -147,35 +147,35 @@ struct loadparm_global
int kpasswd_port;
int web_port;
char *socket_options;
- bool bWINSsupport;
- bool bWINSdnsProxy;
+ int bWINSsupport;
+ int bWINSdnsProxy;
char *szWINSHook;
- bool bLocalMaster;
- bool bPreferredMaster;
- bool bEncryptPasswords;
- bool bNullPasswords;
- bool bObeyPamRestrictions;
- bool bLargeReadwrite;
- bool bReadRaw;
- bool bWriteRaw;
- bool bTimeServer;
- bool bBindInterfacesOnly;
- bool bNTSmbSupport;
- bool bNTStatusSupport;
- bool bLanmanAuth;
- bool bNTLMAuth;
- bool bUseSpnego;
+ int bLocalMaster;
+ int bPreferredMaster;
+ int bEncryptPasswords;
+ int bNullPasswords;
+ int bObeyPamRestrictions;
+ int bLargeReadwrite;
+ int bReadRaw;
+ int bWriteRaw;
+ int bTimeServer;
+ int bBindInterfacesOnly;
+ int bNTSmbSupport;
+ int bNTStatusSupport;
+ int bLanmanAuth;
+ int bNTLMAuth;
+ int bUseSpnego;
int server_signing;
int client_signing;
- bool bClientPlaintextAuth;
- bool bClientLanManAuth;
- bool bClientNTLMv2Auth;
- bool client_use_spnego_principal;
- bool bHostMSDfs;
- bool bUnicode;
- bool bUnixExtensions;
- bool bDisableNetbios;
- bool bRpcBigEndian;
+ int bClientPlaintextAuth;
+ int bClientLanManAuth;
+ int bClientNTLMv2Auth;
+ int client_use_spnego_principal;
+ int bHostMSDfs;
+ int bUnicode;
+ int bUnixExtensions;
+ int bDisableNetbios;
+ int bRpcBigEndian;
struct param_opt *param_opt;
};
@@ -2033,7 +2033,7 @@ static bool do_section(const char *pszSectionName, void *userdata)
/***************************************************************************
- Determine if a particular base parameter is currentl set to the default value.
+ Determine if a partcular base parameter is currentl set to the default value.
***************************************************************************/
static bool is_default(int i)