Latest interface: 0.3.1
Latest system: 010
karmantyu
User

131 posts

Posted on 18 December 2016 @ 19:10edited 19:12 30s
I have a serious problem with SAMBA and Windows 10 for a while but Christmas is coming and need urgently use storage on the file-server for the (UPLAY, ORIGIN..) services to install the Games for the kids.
I'm using pretty much default Windows 10 an ZFSGuru 11.0.008 installations and have a Public share on my server for game file storage reasons. The kids have several terabyte games from Steam, Uplay, Origin accounts so this is necessary when playing from different computers. The share has users with full access - Guest and Everyone. The Samba has share-level security, TDB SAM authentication backend and 666/777 file permissions. The permissions are 777, the Owner-share, the Group-share are on the ZFSGuru share.
Everything is working all right with the share, everything is nicely writable for everyone except when running either Origin or Uplay clients and trying to install or update a game located on the share. I've tried a lot of registry mods on Windows and some mods on Samba but nothing helped. The clients can't write to the share.
So anybody has a good suggestion for the solution I will be happy to try.

Some log from /var/log/samba

log.winbindd-idmap
[2016/12/18 18:19:01.460857, 1] winbindd/idmap.c:201(idmap_init_domain)
idmap range not specified for domain *

log.wb-ZFSGURU
[2016/12/18 18:20:16.420641, 2] winbindd/winbindd_rpc.c:320(rpc_name_to_sid)
name_to_sid: failed to lookup name: NT_STATUS_NONE_MAPPED

log.myIP
gabor opened file Ubisoft Game Launcher/games/Prince of Persia Sands of Time/uplay_install.state read=No write=Yes (numopen=1)
[2016/12/18 18:27:05.872423, 2] smbd/close.c:696(close_normal_file)
gabor closed file Ubisoft Game Launcher/games/Prince of Persia Sands of Time/uplay_install.state (numopen=0) NT_STATUS_OK
[2016/12/18 18:27:05.882446, 2] smbd/open.c:753(open_file)
gabor opened file Ubisoft Game Launcher/games/Prince of Persia Sands of Time/uplay_install.state read=No write=Yes (numopen=1)
[2016/12/18 18:27:05.884098, 2] smbd/close.c:696(close_normal_file)
gabor closed file Ubisoft Game Launcher/games/Prince of Persia Sands of Time/uplay_install.state (numopen=0) NT_STATUS_OK
[2016/12/18 18:27:07.824299, 2] smbd/open.c:753(open_file)
gabor opened file Ubisoft Game Launcher/games/Prince of Persia Sands of Time/uplay_install.state read=No write=No (numopen=2)
[2016/12/18 18:27:07.827097, 2] smbd/close.c:696(close_normal_file)
gabor closed file Ubisoft Game Launcher/games/Prince of Persia Sands of Time/uplay_install.state (numopen=1) NT_STATUS_OK
[2016/12/18 18:27:07.830411, 2] smbd/posix_acls.c:2856(set_canon_ace_list)
set_canon_ace_list: sys_acl_set_file type file failed for file Ubisoft Game Launcher/games/Prince of Persia Sands of Time (Invalid argument).
[2016/12/18 18:27:08.388817, 2] smbd/open.c:753(open_file)
gabor opened file Ubisoft Game Launcher/games/Prince of Persia Sands of Time/uplay_install.state read=No write=No (numopen=2)
[2016/12/18 18:27:08.391365, 2] smbd/close.c:696(close_normal_file)
gabor closed file Ubisoft Game Launcher/games/Prince of Persia Sands of Time/uplay_install.state (numopen=1) NT_STATUS_OK
[2016/12/18 18:27:08.392342, 2] smbd/posix_acls.c:2856(set_canon_ace_list)
set_canon_ace_list: sys_acl_set_file type file failed for file Ubisoft Game Launcher/games/Prince of Persia Sands of Time (Invalid argument).
bitmap
User

26 posts

Posted on 19 December 2016 @ 02:50edited 02:51 10s
I had quite a bit of trouble when I initially added by ZFSguru's Samba to my AD domain with lots of acl issues, so I'm thinking the error might be resolved using module vfs_zfsacl, to directly use zfs acls rather than emulating POSIX acls.

Here are a few lines from my samba config which might be relevant.

vfs objects = zfsacl
ea support = yes
store dos attributes = yes
map archive = no
map hidden = no
map system = no
map readonly = no
hide files = /.zfs/$*/MSOCACHE/Thumbs.db/thumbs.db/
dont descend = /.zfs/
dos filemode = yes
acl group control = yes
inherit permissions = yes
inherit owner = yes
inherit acls = yes
map acl inherit = Yes
#default: nt acl support = yes
#default: acl map full control = true
#nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = yes

veto oplock files = /*.xls/*.XLS/*.xlsx/*.XLSX/*.doc/*.DOC/*.docx/*.DOCX/*.xlt/*.XLT/*.dbf/*.DBF/*.ntx/*.NTX/~$*/
veto files = /.zfs/

create mask = 2666
force create mode = 2664
directory mask = 2777
force directory mode = 2775
kernel change notify = no

CiPHER
Developer

1199 posts

Posted on 19 December 2016 @ 08:57
Can i see your smb.conf please? You can also link to pastebin if you like.
karmantyu
User

131 posts

Posted on 19 December 2016 @ 09:10edited 09:33 55s
Thank You Bitmap,
I've made the suggested modifications restarted the samba service only not the whole server. Some things have changed but the result with the clients are the same they can't/will not write to the share for some unexplainable reason. This winbindd id problem below seem to me unhealthy too.
** Interesting thing is for example the Uplay client is creating the \Far Cry3 directory and writing a uplay_install.state file in it but fails to go on with the install.

log.winbindd-idmap
[2016/12/19 08:53:43.620028, 1] winbindd/idmap.c:201(idmap_init_domain)
idmap range not specified for domain *

log.wb-ZFSGURU
[2016/12/19 08:54:02.851998, 2] winbindd/winbindd_rpc.c:320(rpc_name_to_sid)
name_to_sid: failed to lookup name: NT_STATUS_NONE_MAPPED

log.myIP
[2016/12/19 08:54:00.799889, 2] smbd/dosmode.c:91(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3/uplay_install.state) inheriting from Ubisoft Game Launcher/games/Far Cry 3
[2016/12/19 08:54:00.800124, 2] smbd/dosmode.c:114(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3/uplay_install.state) inherit mode 40777
[2016/12/19 08:54:00.800545, 2] smbd/open.c:753(open_file)
gabor opened file Ubisoft Game Launcher/games/Far Cry 3/uplay_install.state read=No write=Yes (numopen=1)
[2016/12/19 08:54:00.804062, 2] smbd/close.c:696(close_normal_file)
gabor closed file Ubisoft Game Launcher/games/Far Cry 3/uplay_install.state (numopen=0) NT_STATUS_OK
[2016/12/19 08:54:00.818089, 2] smbd/dosmode.c:91(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3/uplay_install.state) inheriting from Ubisoft Game Launcher/games/Far Cry 3
[2016/12/19 08:54:00.818283, 2] smbd/dosmode.c:114(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3/uplay_install.state) inherit mode 40777
[2016/12/19 08:54:00.818680, 2] smbd/open.c:753(open_file)
gabor opened file Ubisoft Game Launcher/games/Far Cry 3/uplay_install.state read=No write=Yes (numopen=1)
[2016/12/19 08:54:00.821473, 2] smbd/close.c:696(close_normal_file)
gabor closed file Ubisoft Game Launcher/games/Far Cry 3/uplay_install.state (numopen=0) NT_STATUS_OK
[2016/12/19 08:54:02.853087, 2] smbd/dosmode.c:91(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3) inheriting from Ubisoft Game Launcher/games
[2016/12/19 08:54:02.853251, 2] smbd/dosmode.c:114(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3) inherit mode 40777
[2016/12/19 08:54:02.857403, 2] smbd/dosmode.c:91(unix_mode)
unix_mode(Ubisoft Game Launcher/games) inheriting from Ubisoft Game Launcher
[2016/12/19 08:54:02.857599, 2] smbd/dosmode.c:114(unix_mode)
unix_mode(Ubisoft Game Launcher/games) inherit mode 40777
[2016/12/19 08:54:02.863805, 2] smbd/dosmode.c:91(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3) inheriting from Ubisoft Game Launcher/games
[2016/12/19 08:54:02.863987, 2] smbd/dosmode.c:114(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3) inherit mode 40777
[2016/12/19 08:54:02.867873, 2] smbd/dosmode.c:91(unix_mode)
unix_mode(Ubisoft Game Launcher/games) inheriting from Ubisoft Game Launcher
[2016/12/19 08:54:02.868047, 2] smbd/dosmode.c:114(unix_mode)
unix_mode(Ubisoft Game Launcher/games) inherit mode 40777
[2016/12/19 08:54:02.873697, 2] smbd/dosmode.c:91(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3) inheriting from Ubisoft Game Launcher/games
[2016/12/19 08:54:02.873878, 2] smbd/dosmode.c:114(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3) inherit mode 40777
[2016/12/19 08:54:02.874895, 2] smbd/dosmode.c:91(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3) inheriting from Ubisoft Game Launcher/games
[2016/12/19 08:54:02.875117, 2] smbd/dosmode.c:114(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3) inherit mode 40777
[2016/12/19 08:54:03.417304, 2] smbd/dosmode.c:91(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3) inheriting from Ubisoft Game Launcher/games
[2016/12/19 08:54:03.417480, 2] smbd/dosmode.c:114(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3) inherit mode 40777
[2016/12/19 08:54:03.421268, 2] smbd/dosmode.c:91(unix_mode)
unix_mode(Ubisoft Game Launcher/games) inheriting from Ubisoft Game Launcher
[2016/12/19 08:54:03.421470, 2] smbd/dosmode.c:114(unix_mode)
unix_mode(Ubisoft Game Launcher/games) inherit mode 40777
[2016/12/19 08:54:03.427337, 2] smbd/dosmode.c:91(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3) inheriting from Ubisoft Game Launcher/games
[2016/12/19 08:54:03.427508, 2] smbd/dosmode.c:114(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3) inherit mode 40777
[2016/12/19 08:54:03.431101, 2] smbd/dosmode.c:91(unix_mode)
unix_mode(Ubisoft Game Launcher/games) inheriting from Ubisoft Game Launcher
[2016/12/19 08:54:03.431250, 2] smbd/dosmode.c:114(unix_mode)
unix_mode(Ubisoft Game Launcher/games) inherit mode 40777
[2016/12/19 08:54:03.436620, 2] smbd/dosmode.c:91(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3) inheriting from Ubisoft Game Launcher/games
[2016/12/19 08:54:03.436774, 2] smbd/dosmode.c:114(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3) inherit mode 40777
[2016/12/19 08:54:03.437671, 2] smbd/dosmode.c:91(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3) inheriting from Ubisoft Game Launcher/games
[2016/12/19 08:54:03.437835, 2] smbd/dosmode.c:114(unix_mode)
unix_mode(Ubisoft Game Launcher/games/Far Cry 3) inherit mode 40777

[2016/12/19 08:57:56.922662, 2] smbd/dosmode.c:91(unix_mode)
unix_mode(Origin/Games/Dragon Age/__Installer/installerdata.xml) inheriting from Origin/Games/Dragon Age/__Installer
[2016/12/19 08:57:56.922828, 2] smbd/dosmode.c:114(unix_mode)
unix_mode(Origin/Games/Dragon Age/__Installer/installerdata.xml) inherit mode 40777
[2016/12/19 08:57:56.922976, 2] smbd/open.c:753(open_file)
gabor opened file Origin/Games/Dragon Age/__Installer/installerdata.xml read=Yes write=No (numopen=1)
[2016/12/19 08:58:07.506862, 2] smbd/close.c:696(close_normal_file)
gabor closed file Origin/Games/Dragon Age/__Installer/installerdata.xml (numopen=0) NT_STATUS_OK
[2016/12/19 08:58:24.687225, 2] auth/auth.c:309(check_ntlm_password)
check_ntlm_password: authentication for user [gabor] -> [gabor] -> [gabor] succeeded
karmantyu
User

131 posts

Posted on 19 December 2016 @ 09:15
CiPHER wrote: Can i see your smb.conf please? You can also link to pastebin if you like.
http://pastebin.com/snA46Jtz

Appreciate, the important part is there.
Last Page

Valid XHTML 1.1