Ignore:
Timestamp:
Nov 24, 2016, 1:14:11 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/include/local.h

    r746 r988  
    55#ifndef _LOCAL_H
    66#define _LOCAL_H
    7 
    8 /* The default workgroup - usually overridden in smb.conf */
    9 #ifndef WORKGROUP
    10 #define WORKGROUP "WORKGROUP"
    11 #endif
    12 
    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 will
    21    refer to the special "homes" service */
    22 #define HOMES_NAME "homes"
    23 
    24 /* This defines the section name in the configuration file that will
    25    refer to the special "printers" service */
    26 #define PRINTERS_NAME "printers"
    277
    288/* Yves Gaige <yvesg@hptnodur.grenoble.hp.com> requested this set this       */
     
    4828
    4929#ifndef MAX_OPEN_FUDGEFACTOR
    50 #define MAX_OPEN_FUDGEFACTOR 20
     30#define MAX_OPEN_FUDGEFACTOR 40
    5131#endif
    5232
     
    10080   NT file manager window? */
    10181#define FSTYPE_STRING "NTFS"
    102 
    103 /* the default guest account - normally set in the Makefile or smb.conf */
    104 #ifndef GUEST_ACCOUNT
    105 #define GUEST_ACCOUNT "nobody"
    106 #endif
    10782
    10883/* user to test password server with as invalid in security=server mode. */
     
    172147#define USE_READ_PREDICTION 0
    173148
    174 /*
    175  * Default passwd chat script.
    176  */
    177 
    178 #define DEFAULT_PASSWD_CHAT "*new*password* %n\\n *new*password* %n\\n *changed*"
    179 
    180149/* Minimum length of allowed password when changing UNIX password. */
    181150#define MINPASSWDLENGTH 5
    182151
    183 /* maximum ID number used for session control. This cannot be larger
    184    than 62*62 for the current code */
    185 #define MAX_SESSION_ID 3000
    186 
    187 /* For the benifit of PAM and the 'session exec' scripts, we fake up a terminal
    188    name. This can be in one of two forms:  The first for systems not using
    189    utmp (and therefore not constrained as to length or the need for a number
    190    < 3000 or so) and the second for systems with this 'well behaved terminal
    191    like name' constraint.
    192 */
    193 
    194 #ifndef SESSION_TEMPLATE
    195 /* Paramaters are 'pid' and 'vuid' */
    196 #define SESSION_TEMPLATE "smb/%lu/%d"
    197 #endif
    198 
    199 #ifndef SESSION_UTMP_TEMPLATE
    200 #define SESSION_UTMP_TEMPLATE "smb/%d"
    201 #endif
    202 
    203152/* the maximum age in seconds of a password. Should be a lp_ parameter */
    204153#define MAX_PASSWORD_AGE (21*24*60*60)
     
    212161/* this enables the "rabbit pellet" fix for SMBwritebraw */
    213162#define RABBIT_PELLET_FIX 1
    214 
    215 /* Max number of jobs per print queue. */
    216 #define PRINT_MAX_JOBID 10000
    217163
    218164/* Max number of open RPC pipes. */
     
    248194
    249195/* Seconds between connection attempts to a remote server. */
    250 #define FAILED_CONNECTION_CACHE_TIMEOUT 30
     196#define FAILED_CONNECTION_CACHE_TIMEOUT (LONG_CONNECT_TIMEOUT * 2 / 1000)
    251197
    252198/* Default hash size for the winbindd cache. */
     
    259205#define MAX_RPC_DATA_SIZE (15*1024*1024)
    260206
    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.