<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 19, 2018, at 06:37, Anoop C S &lt;<a href="mailto:anoopcs@autistici.org" class="">anoopcs@autistici.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">On Wed, 2018-09-12 at 10:37 -0600, Terry McGuire wrote:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" class="">Can you please attach the output of `testparm -s` so as to look through how Samba is setup?<br class=""></blockquote></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">I have a setup where I could browse and work with a GlusterFS volume share made available to Windows</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">via vfs_glusterfs module on CentOS 7.5.1804 with glusterfs-3.10.12-1.el7 and samba-4.7.1-9.el7_5.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">What am I missing? Are there any specific operation that leads to abnormal behaviours?</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote><div><br class=""></div><div>It seems that, when using smbclient to keep things simple, the first command in the share’s root works, even if it’s a write. &nbsp;The following commands, even if it’s just an ls, fails.</div><div><br class=""></div><div>One difference that might be making the difference is that my gluster volume is distributed-dispersed. &nbsp;This seems also to break the vfs_fruit module.</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">From our test server (“nomodule-nofruit” is currently the only well-behaved share):<br class=""><br class="">root@mfsuat-01 ~]#testparm -s<br class="">Load smb config files from /etc/samba/smb.conf<br class="">rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)<br class="">Processing section "[share1]"<br class="">Processing section "[share2]"<br class="">Processing section "[nomodule]"<br class="">Processing section "[nomodule-nofruit]"<br class="">Processing section "[module]"<br class="">Processing section "[IPC$]"<br class="">WARNING: No path in service IPC$ - making it unavailable!<br class="">NOTE: Service IPC$ is flagged unavailable.<br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">On an unrelated note:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">I don't think your intention to make [IPC$] unavailable using the 'available' parameter would work</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">at all.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote><div><br class=""></div><span class="">I assume this IPC$ stuff is just an artifact of how I built my smb.conf file. &nbsp;I put "vfs objects = glusterfs” into the global stanza, so it didn’t need to be added to each share stanza, but I&nbsp;discovered that this broke IPC$ in such a way as to make no share accessible. &nbsp;To fix this, I added a share&nbsp;stanza for IPC$ that&nbsp;includes only&nbsp;“vfs objects =". &nbsp;Maybe that’s dumb, but it worked, and, I guess, results in what we see here.<br class=""></span><span class=""><br class=""></span><br class=""><blockquote type="cite" class=""><div class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">Loaded services file OK.<br class="">idmap range not specified for domain '*'<br class="">ERROR: Invalid idmap range for domain *!<br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">On an unrelated note:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Why haven't you specified range for default configuration? I think it is a must to set range for the</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">default configuration.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote><div><br class=""></div><div>I guess because I’m clueless enough not to know that I should. &nbsp;We’re authenticating samba users from Windows Active Directory, and I’m really clueless about that. &nbsp;We got things to the point that they were working, and called it a day.</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">WARNING: You have some share names that are longer than 12 characters.<br class="">These may not be accessible to some older clients.<br class="">(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)<br class="">WARNING: some services use vfs_fruit, others don't. Mounting them in conjunction on OS X clients<br class="">results in undefined behaviour.<br class=""><br class="">Server role: ROLE_DOMAIN_MEMBER<br class=""><br class=""># Global parameters<br class="">[global]<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>log file = /var/log/samba/log.%m<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>map to guest = Bad User<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>max log size = 50<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>realm = XXXX.AD.UALBERTA.CA<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>security = ADS<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>workgroup = STS<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>glusterfs:volume = mfs1<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>idmap config * : backend = tdb<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>access based share enum = Yes<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>force create mode = 0777<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>force directory mode = 0777<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>include = /mfsmount/admin/etc/mfs/smb_shares.conf<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>kernel share modes = No<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>read only = No<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>smb encrypt = desired<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>vfs objects = glusterfs<br class="">[share1]<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>path = /share1<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>valid users = @<a href="mailto:mfs-sa1@xxxx.ad.ualberta.ca" class="">mfs-sa1@xxxx.ad.ualberta.ca</a><br class="">[share2]<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>path = /share2<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>valid users = @<a href="mailto:mfs-test-group@xxxx.ad.ualberta.ca" class="">mfs-test-group@xxxx.ad.ualberta.ca</a><br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Oh.. you are sharing sub-directories which is also fine.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote><div><br class=""></div><div>We *only* share subdirs of the gluster volume, never the volume itself.</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">[nomodule]<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>kernel share modes = Yes<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>path = /mfsmount/share1<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>valid users = @<a href="mailto:mfs-sa1@xxxx.ad.ualberta.ca" class="">mfs-sa1@xxxx.ad.ualberta.ca</a><br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>vfs objects = fruit streams_xattr<br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Interesting..</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Even this FUSE mounted GlusterFS share is not behaving normal? What errors do you see in glusterfs</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">fuse mount log(/var/log/glusterfs/mfsmount-.log) while accessing this share?</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote><div><br class=""></div><div>This one isn’t affected by the current samba issue, but it’s affected by another issue. &nbsp;(I actually posted about it a while ago - subject “vfs_fruit and extended attributes”- and I think you responded, but it didn’t go anywhere.) &nbsp;We discovered that the vfs_fruit module seems to interact poorly with our distributed-dispersed gluster volume. &nbsp;To learn this, we made a test replicated volume and it worked fine.</div><div><br class=""></div><div>Ironically, we decided we could live without vfs_fruit when we discovered vfs_glusterfs. &nbsp;Now we have neither. &nbsp;:-(</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">[nomodule-nofruit]<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>kernel share modes = Yes<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>path = /mfsmount/share1<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>valid users = @<a href="mailto:mfs-sa1@xxxx.ad.ualberta.ca" class="">mfs-sa1@xxxx.ad.ualberta.ca</a><br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>vfs objects =<span class="Apple-converted-space">&nbsp;</span><br class=""><br class=""><br class="">[module]<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>path = /share1<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>valid users = @<a href="mailto:mfs-sa1@xxxx.ad.ualberta.ca" class="">mfs-sa1@xxxx.ad.ualberta.ca</a><br class="">[IPC$]<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>available = No<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>vfs objects =<span class="Apple-converted-space">&nbsp;</span><br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">You may remove the whole [IPC$] section.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote><div><br class=""></div><div>IPC$ stuff explained above.</div><br class="">Terry</div><div><br class=""></div></body></html>