Changeset 988 for vendor/current/source3/include/local.h
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/include/local.h
r746 r988 5 5 #ifndef _LOCAL_H 6 6 #define _LOCAL_H 7 8 /* The default workgroup - usually overridden in smb.conf */9 #ifndef WORKGROUP10 #define WORKGROUP "WORKGROUP"11 #endif12 13 /* This defines the section name in the configuration file that will contain */14 /* global parameters - that is, parameters relating to the whole server, not */15 /* just services. This name is then reserved, and may not be used as a */16 /* a service name. It will default to "global" if not defined here. */17 #define GLOBAL_NAME "global"18 #define GLOBAL_NAME2 "globals"19 20 /* This defines the section name in the configuration file that will21 refer to the special "homes" service */22 #define HOMES_NAME "homes"23 24 /* This defines the section name in the configuration file that will25 refer to the special "printers" service */26 #define PRINTERS_NAME "printers"27 7 28 8 /* Yves Gaige <yvesg@hptnodur.grenoble.hp.com> requested this set this */ … … 48 28 49 29 #ifndef MAX_OPEN_FUDGEFACTOR 50 #define MAX_OPEN_FUDGEFACTOR 2030 #define MAX_OPEN_FUDGEFACTOR 40 51 31 #endif 52 32 … … 100 80 NT file manager window? */ 101 81 #define FSTYPE_STRING "NTFS" 102 103 /* the default guest account - normally set in the Makefile or smb.conf */104 #ifndef GUEST_ACCOUNT105 #define GUEST_ACCOUNT "nobody"106 #endif107 82 108 83 /* user to test password server with as invalid in security=server mode. */ … … 172 147 #define USE_READ_PREDICTION 0 173 148 174 /*175 * Default passwd chat script.176 */177 178 #define DEFAULT_PASSWD_CHAT "*new*password* %n\\n *new*password* %n\\n *changed*"179 180 149 /* Minimum length of allowed password when changing UNIX password. */ 181 150 #define MINPASSWDLENGTH 5 182 151 183 /* maximum ID number used for session control. This cannot be larger184 than 62*62 for the current code */185 #define MAX_SESSION_ID 3000186 187 /* For the benifit of PAM and the 'session exec' scripts, we fake up a terminal188 name. This can be in one of two forms: The first for systems not using189 utmp (and therefore not constrained as to length or the need for a number190 < 3000 or so) and the second for systems with this 'well behaved terminal191 like name' constraint.192 */193 194 #ifndef SESSION_TEMPLATE195 /* Paramaters are 'pid' and 'vuid' */196 #define SESSION_TEMPLATE "smb/%lu/%d"197 #endif198 199 #ifndef SESSION_UTMP_TEMPLATE200 #define SESSION_UTMP_TEMPLATE "smb/%d"201 #endif202 203 152 /* the maximum age in seconds of a password. Should be a lp_ parameter */ 204 153 #define MAX_PASSWORD_AGE (21*24*60*60) … … 212 161 /* this enables the "rabbit pellet" fix for SMBwritebraw */ 213 162 #define RABBIT_PELLET_FIX 1 214 215 /* Max number of jobs per print queue. */216 #define PRINT_MAX_JOBID 10000217 163 218 164 /* Max number of open RPC pipes. */ … … 248 194 249 195 /* Seconds between connection attempts to a remote server. */ 250 #define FAILED_CONNECTION_CACHE_TIMEOUT 30196 #define FAILED_CONNECTION_CACHE_TIMEOUT (LONG_CONNECT_TIMEOUT * 2 / 1000) 251 197 252 198 /* Default hash size for the winbindd cache. */ … … 259 205 #define MAX_RPC_DATA_SIZE (15*1024*1024) 260 206 261 #define CLIENT_NDR_PADDING_SIZE 8 262 #define SERVER_NDR_PADDING_SIZE 8 263 264 #define DEFAULT_SMB2_MAX_READ (64*1024) 265 #define DEFAULT_SMB2_MAX_WRITE (64*1024) 266 #define DEFAULT_SMB2_MAX_TRANSACT (64*1024) 267 #define DEFAULT_SMB2_MAX_CREDITS 8192 268 269 #endif 207 /* A guestimate of how many domains winbindd will be contacting */ 208 #ifndef WINBIND_MAX_DOMAINS_HINT 209 #define WINBIND_MAX_DOMAINS_HINT 10 210 #endif 211 #endif
Note:
See TracChangeset
for help on using the changeset viewer.