[Samba] Intermittent problems with roaming profiles

Marco Gaiarin gaio at sv.lnf.it
Thu Mar 11 13:21:02 UTC 2021


Mandi! Anders Östling via samba
  In chel di` si favelave...

> Not sure if this is samba related at all, but I have an issue with roaming profiles, specifically for a client that uses two computers, a laptop and a workstation, running on the same account in a domain with a Samba 4.11-6.  Clients computers are both Windows 10, fully updated.
> He get the dreaded 1521, Unable to access profile during logon a couple of times per week. Sometimes logging off works, sometimes a full restart is required. I have read uncountable postings regarding profile problems, and some posts talks about pending oplocks, files not closed properly on the server. Most of these post probably talks about Windows file servers, not Samba. Is anyone aware of similar issues on Samba?

Users get a message about 'tempoary profile' usage? Linux (not samba)
default socket reapup are a bit lazy, try to add to [globals] in your
smb.conf:

	# Performance.
	# TCP_NODELAY, che si tova in letteratura, è il default da samba 2.0. Per scrupolo lo lascio.
	# I default per TCP_KEEPIDLE, TCP_KEEPCNT e TCP_KEEPINTVL sono rispettivamente in /proc/sys/net/ipv4/{tcp_keepalive_time,tcp_keepalive_probes,tcp_keepalive_intvl}.
	# Modifico questi valori per evitare lock sui file.
	#
	socket options = TCP_NODELAY TCP_KEEPIDLE=240 TCP_KEEPCNT=4 TCP_KEEPINTVL=15

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the samba mailing list