r25463: revert accidently committed type changes for now, broke the build.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 2 Oct 2007 15:02:19 +0000 (15:02 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:07:41 +0000 (15:07 -0500)
(This used to be commit ce4fbb4f44a5f84cf516b4de9861e3fd498cc6c4)

source4/param/loadparm.c

index 043e7d2ba8cf240862e15bb381bef4aa382d8848..809a9173c48f12eed2299a2cb5d1dbb8c746cafe 100644 (file)
@@ -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)