diff options
author | Jeremy Allison <jra@samba.org> | 1998-01-29 08:25:46 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-01-29 08:25:46 +0000 |
commit | 89652787c3894c7a79345a2ea67a4de741a0f760 (patch) | |
tree | 2357832bc8bbb9e24642ff4fa9d266242df7543a /source3/include/local.h | |
parent | e525e29487dcc5e3e5a504dfae5d83def25f58e6 (diff) | |
download | samba-89652787c3894c7a79345a2ea67a4de741a0f760.tar.gz samba-89652787c3894c7a79345a2ea67a4de741a0f760.tar.bz2 samba-89652787c3894c7a79345a2ea67a4de741a0f760.zip |
Makefile: Fix for OSF1 typo.
asyncdns.c: Fixes that went into 1.9.18p2 - allow unclocking of sigterm.
chgpasswd.c: char -> unsigned char fixes.
includes.h: AIX fix to get prototype for inet_ntoa.
local.h: Tune size of shared memory based on MAX_OPEN_FILES.
nmbd_mynames.c: Fix for nmbd repeated refresh bug.
nmbd_responserecordsdb.c: Fix for nmbd repeated refresh bug.
nmbd_winsserver.c: Fix for multi-homed registration optimisation.
smb.h: Moved default shared memory size to local.h
Jeremy.
(This used to be commit fa5466805685d461564054d7d9947948fc56ae93)
Diffstat (limited to 'source3/include/local.h')
-rw-r--r-- | source3/include/local.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/local.h b/source3/include/local.h index 10906d1ff1..0e2a927d2e 100644 --- a/source3/include/local.h +++ b/source3/include/local.h @@ -39,6 +39,11 @@ #define MAX_CONNECTIONS 127 #define MAX_OPEN_FILES 100 +/* Default size of shared memory used for share mode locking */ +#ifndef SHMEM_SIZE +#define SHMEM_SIZE (1024*MAX_OPEN_FILES) +#endif + /* the max number of connections that the smbstatus program will show */ #define MAXSTATUS 1000 |