[Samba] Windows link in linux share...

Marco Gaiarin
Tue, 05 May 2020 09:12:17 -0000

Sorry, quick messages without clue.


Here we use roaming profiles, with quota, and thunderbird.
Thunderbird put IMAP Cache and global search index (ImapMail and
global-messages-db.sqlite) in 'roaming' folder, while they are cache,
so can be put in 'local' folder, out of roaming part.

I've fund:
> 	https://bugzilla.mozilla.org/show_bug.cgi?id=517425#c49

and setup a logon script that, amongs other things, do finally:

	mklink /D "%APPDATA%\Thunderbird\Profiles\!profile!\ImapMail"
"%LOCALAPPDATA%\Thunderbird\Profiles\!profile!\ImapMail"

	mklink
"%APPDATA%\Thunderbird\Profiles\!profile!\global-messages-db.sqlite"
"%LOCALAPPDATA%\Thunderbird\Profiles\!profile!\global-messages-db.sqlite"

and works as expected. But if i logoff and logon:

1) folder link 'ImapMail' is not present server side.

2) file link 'global-messages-db.sqlite' is the linked file, not the
link.

eg:

 root at vdmsv1:~# ls -la
/srv/samba/profiles/gaio.V2/AppData/Roaming/Thunderbird/Profiles/zba90t8v.default/
| egrep -i '(ImapMail|global-messages-db.sqlite)'
 -rwxrwx---+  1 gaio domain users 44597248 mag  5 11:05
global-messages-db.sqlite

My profile folder definition is:

 [profiles]
	browseable = No
	comment = Network Profiles Share
	csc policy = disable
	map acl inherit = Yes
	path = /srv/samba/profiles
	read only = No
	store dos attributes = Yes
	vfs objects = acl_xattr


So, there's some way to let the 'windows link' done via MKLINK
''survive'' in samba share?

Thanks.

--
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)