Samba Was Written (2003)
https://download.samba.org/pub/tridge/misc/french_cafe.txt
#HackerNews #Samba #Samba2003 #OpenSource #Technology #Networking
Samba Was Written (2003)
https://download.samba.org/pub/tridge/misc/french_cafe.txt
#HackerNews #Samba #Samba2003 #OpenSource #Technology #Networking
If you’re using macOS Time Machine to a NAS Time Machine server using Samba SMB services, beware Samba 4.22:
“As part of the backup TM tries to rename a directory while having an open file within the directory. Windows requires this to fail and this is what Samba also implements. There used to be a workaround for Macs by using fruit:posix_rename but that option was removed in 4.22 as it imposed an unreasonable development burden due to introducing hard to follow logic in very complex code. As part of implementing SMB3 UNIX Extensions in Samba, this part of the code has to be modified and this was only sensibly possible after removing the fruit:posix_rename code.
As an alternative, fruit shuld be extended to internally make macOS clients POSIX clients so they can benefit from the existing logic in Samba that allows such renames if all opens (recursively) are POSIX opens.
Have patch, need bugnumber.”
https://bugzilla.samba.org/show_bug.cgi?id=15926
Also:
“fruit:posix_rename
This option of the vfs_fruit VFS module that could be used to enable POSIX directory rename behaviour for OS X clients has been removed as it could result in severe problems for Windows clients.
As a possible workaround it is possible to prevent creation of .DS_Store files (a Finder thingy to store directory view settings) on network mounts by running
$ defaults write com.apple.desktopservices DSDontWriteNetworkStores true
on the Mac.”
https://wiki.samba.org/index.php/Samba_4.22_Features_added/changed#fruit:posix_rename
If you’re using macOS Time Machine to a NAS Time Machine server using Samba SMB services, beware Samba 4.22:
“As part of the backup TM tries to rename a directory while having an open file within the directory. Windows requires this to fail and this is what Samba also implements. There used to be a workaround for Macs by using fruit:posix_rename but that option was removed in 4.22 as it imposed an unreasonable development burden due to introducing hard to follow logic in very complex code. As part of implementing SMB3 UNIX Extensions in Samba, this part of the code has to be modified and this was only sensibly possible after removing the fruit:posix_rename code.
As an alternative, fruit shuld be extended to internally make macOS clients POSIX clients so they can benefit from the existing logic in Samba that allows such renames if all opens (recursively) are POSIX opens.
Have patch, need bugnumber.”
https://bugzilla.samba.org/show_bug.cgi?id=15926
Also:
“fruit:posix_rename
This option of the vfs_fruit VFS module that could be used to enable POSIX directory rename behaviour for OS X clients has been removed as it could result in severe problems for Windows clients.
As a possible workaround it is possible to prevent creation of .DS_Store files (a Finder thingy to store directory view settings) on network mounts by running
$ defaults write com.apple.desktopservices DSDontWriteNetworkStores true
on the Mac.”
https://wiki.samba.org/index.php/Samba_4.22_Features_added/changed#fruit:posix_rename
#Homelab 2022 Part 2 - #Samba on #SmartOS #Illumos using delegated datasets : https://thetooth.name/blog/homelab-2022-part-2-samba-on-smartos-using-delegated-datasets/
#Homelab 2022 Part 2 - #Samba on #SmartOS #Illumos using delegated datasets : https://thetooth.name/blog/homelab-2022-part-2-samba-on-smartos-using-delegated-datasets/
SAMBA requires me to create user accounts on my host machine - something I’m not keen to do on my server. If it was just me, then SAMBA would be fine.
Unless there’s a way to do that in a container…
Anyone?
Boosts appreciated.