1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/docs-xml/smbdotconf/misc
Volker Lendecke 26932271a8 smbd: Claim version in g_lock
Protect smbd against version incompatibilities in a cluster.

At first startup smbd locks "samba_version_string" and writes its version
string. It then downgrades the lock to a read lock. Subsequent smbds check
against the version string and also keep the read lock around. If the version
does not match, we try to write our own version. But as there's a read lock,
the lock upgrade to write lock will fail due the read lock being around. So as
long as there's one smbd with this read lock, no other version of smbd will be
able to start.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2017-06-15 13:19:15 +02:00
..
addsharecommand.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
afsshare.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
afstokenlifetime.xml docs:smbdotconf: remove swat-specific flags. 2015-05-02 00:56:31 +02:00
afsusernamemap.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
allowinsecurewidelinks.xml Fix a typo in smb.conf man page 2016-08-10 20:11:54 +02:00
allowunsafeclusterupgrade.xml smbd: Claim version in g_lock 2017-06-15 13:19:15 +02:00
asyncsmbechohandler.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
auto_services.xml docs:smbdotconf: make preload a synonym of 'auto services' 2015-07-31 01:55:31 +02:00
available.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
cachedirectory.xml docs: Clarify description for cache, lock and state directory settings 2016-08-19 09:36:19 +02:00
changenotify.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
changesharecommand.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
clusteraddresses.xml docs:smbdotconf: change type to cmdlist where needed. 2015-07-31 01:55:32 +02:00
clustering.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
configfile.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
copy.xml docs:smbdotconf: add handler info to smbdotconf docs where missing 2015-07-31 01:55:29 +02:00
ctdbdsocket.xml docs:smbdotconf: remove swat-specific flags. 2015-05-02 00:56:31 +02:00
ctdblocktimewarnthreshold.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
ctdbtimeout.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
defaultservice.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
deletereadonly.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
deletesharecommand.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
dfreecachetime.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
dfreecommand.xml docs:smbdotconf: remove swat-specific flags. 2015-05-02 00:56:31 +02:00
directorynamecachesize.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
dmapisupport.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
dontdescend.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
dosfilemode.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
dosfiletimeresolution.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
dosfiletimes.xml Fix various spelling errors 2015-11-06 13:43:45 +01:00
fakedirectorycreatetimes.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
followsymlinks.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
fssprunestale.xml docs: fix funny typo in smb.conf manpage wrt Samba's FSRVP server. 2016-11-24 16:30:13 +01:00
fsssequencetimeout.xml docs: fix funny typo in smb.conf manpage wrt Samba's FSRVP server. 2016-11-24 16:30:13 +01:00
fstype.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
homedirmap.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
include.xml docs:smbdotconf: add handler info to smbdotconf docs where missing 2015-07-31 01:55:29 +02:00
kernelchangenotify.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
lockdirectory.xml docs: Clarify description for cache, lock and state directory settings 2016-08-19 09:36:19 +02:00
logwriteablefilesonexit.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
magicoutput.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
magicscript.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
messagecommand.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
nbtclientsocketaddress.xml docs:smbdotconf: add deprecated flags where missing. 2015-07-31 01:55:31 +02:00
ncalrpcdir.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
nishomedir.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
nmbdbindexplicitbroadcast.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
panicaction.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
perfcountmodule.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
piddirectory.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
postexec.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
preexec.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
preexecclose.xml docs:smbdotconf: remove swat-specific flags. 2015-05-02 00:56:31 +02:00
registryshares.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
remoteannounce.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
remotebrowsesync.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
resetonzerovc.xml docs: Explain that "reset on zero vc" is an SMB1 feature 2016-08-31 07:09:26 +02:00
rootpostexec.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
rootpreexec.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
rootpreexecclose.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
rpcdaemon.xml Correct "follwing" typos. 2017-02-22 08:26:22 +01:00
rpcserver.xml Fix various spelling errors 2015-11-06 13:43:45 +01:00
smbdprofilinglevel.xml docs:smbdotconf: add enumlist property to parameters where missing 2015-07-31 01:55:29 +02:00
spotlight.xml Correct "seperate" typos. 2017-02-22 08:26:22 +01:00
statedirectory.xml docs: Clarify description for cache, lock and state directory settings 2016-08-19 09:36:19 +02:00
usershareallowguests.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
usersharemaxshares.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
usershareowneronly.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
usersharepath.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
usershareprefixallowlist.xml docs:smbdotconf: change type to cmdlist where needed. 2015-07-31 01:55:32 +02:00
usershareprefixdenylist.xml docs:smbdotconf: change type to cmdlist where needed. 2015-07-31 01:55:32 +02:00
usersharetemplateshare.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
utmp.xml docs:smbdotconf: remove swat-specific flags. 2015-05-02 00:56:31 +02:00
utmpdirectory.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
valid.xml docs:smbdotconf: add 'function' parameter to valid 2015-07-31 01:55:31 +02:00
volume.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00
widelinks.xml param: turn 'wide links' into a generated funcion 2015-07-31 01:55:30 +02:00
wtmpdirectory.xml docs:smbdotconf: make formatting of headers uniform. 2015-07-31 01:55:29 +02:00