<div dir="auto">Create a non-gluster share in a local drive. Make sure you can access that share to confirm whether or not the problem is gluster and the vfs plugin or actually a samba authentication problem.<div dir="auto"><br></div><div dir="auto">Is the machine tied to a domain or standalone samba server?</div><div dir="auto"><br></div><div dir="auto">Diego</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 10, 2018, 06:57 Christos Tsalidis &lt;<a href="mailto:chtsalid@gmail.com">chtsalid@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I recreated as you said, but problem remains. Any other suggestion to make? <br></div><div><br></div><div>Thanks in advance!<br></div></div><br><div class="gmail_quote"><div dir="ltr">Στις Τετ, 10 Οκτ 2018 στις 12:48 μ.μ., ο/η Ji-Hyeon Gim &lt;<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a>&gt; έγραψε:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">My configuration is same too :)<br>
<br>
Did you try to restart samba again?<br>
<br>
If that doesn&#39;t work, I suggest re-create volume freshly.<br>
<br>
When I met this problem, I guess I&#39;ve deleted my volume and create it again.<br>
<br>
<br>
On 10/10/18 7:41 PM, Christos Tsalidis wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; yes this package is also downgraded, you can see it here.<br>
&gt;<br>
&gt;<br>
&gt; [root@servera ~]# rpm -qa | egrep &#39;samba|vfs&#39;<br>
&gt; samba-common-libs-4.7.1-6.el7.x86_64<br>
&gt; samba-client-libs-4.7.1-6.el7.x86_64<br>
&gt; samba-common-tools-4.7.1-6.el7.x86_64<br>
&gt; samba-vfs-glusterfs-4.7.1-6.el7.x86_64<br>
&gt; samba-common-4.7.1-6.el7.noarch<br>
&gt; samba-libs-4.7.1-6.el7.x86_64<br>
&gt; samba-4.7.1-6.el7.x86_64<br>
&gt;<br>
&gt; And here also my smb.conf<br>
&gt;<br>
&gt;<br>
&gt; [gluster-mastervol]<br>
&gt; comment = For samba share of volume mastervol<br>
&gt; vfs objects = glusterfs<br>
&gt; glusterfs:volume = mastervol<br>
&gt; glusterfs:logfile = /var/log/samba/glusterfs-mastervol.%M.log<br>
&gt; glusterfs:loglevel = 7<br>
&gt; path = /<br>
&gt; read only = no<br>
&gt; kernel share modes = No<br>
&gt;<br>
&gt; Can you show me your smb.conf? Does it look like the same?<br>
&gt;<br>
&gt; Thanks in advance!<br>
&gt;<br>
&gt; Στις Τετ, 10 Οκτ 2018 στις 12:38 μ.μ., ο/η Ji-Hyeon Gim<br>
&gt; &lt;<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a> &lt;mailto:<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a>&gt;&gt; έγραψε:<br>
&gt;<br>
&gt;     Oh, Did you downgraded with samba-vfs-glusterfs package?<br>
&gt;<br>
&gt;     On 10/10/18 7:34 PM, Christos Tsalidis wrote:<br>
&gt;     &gt; Hi,<br>
&gt;     &gt;<br>
&gt;     &gt; I downgraded from 4.7.1-9.el7_5 to 4.7.1-6.el7 and still problem<br>
&gt;     &gt; hasn&#39;t been resolved.<br>
&gt;     &gt; Which is the version that you used to downgrade?<br>
&gt;     &gt;<br>
&gt;     &gt; Thanks in advance!<br>
&gt;     &gt;<br>
&gt;     &gt; Στις Τετ, 10 Οκτ 2018 στις 12:20 μ.μ., ο/η Christos Tsalidis<br>
&gt;     &gt; &lt;<a href="mailto:chtsalid@gmail.com" target="_blank" rel="noreferrer">chtsalid@gmail.com</a> &lt;mailto:<a href="mailto:chtsalid@gmail.com" target="_blank" rel="noreferrer">chtsalid@gmail.com</a>&gt;<br>
&gt;     &lt;mailto:<a href="mailto:chtsalid@gmail.com" target="_blank" rel="noreferrer">chtsalid@gmail.com</a> &lt;mailto:<a href="mailto:chtsalid@gmail.com" target="_blank" rel="noreferrer">chtsalid@gmail.com</a>&gt;&gt;&gt; έγραψε:<br>
&gt;     &gt;<br>
&gt;     &gt;     Hi,<br>
&gt;     &gt;<br>
&gt;     &gt;     thanks for your reply! What is the version which you used to<br>
&gt;     &gt;     downgrade?<br>
&gt;     &gt;<br>
&gt;     &gt;     Thanks in advance!<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;     Στις Τετ, 10 Οκτ 2018 στις 11:40 π.μ., ο/η Ji-Hyeon Gim<br>
&gt;     &gt;     &lt;<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a> &lt;mailto:<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a>&gt;<br>
&gt;     &lt;mailto:<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a> &lt;mailto:<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a>&gt;&gt;&gt;<br>
&gt;     έγραψε:<br>
&gt;     &gt;<br>
&gt;     &gt;         Hello!<br>
&gt;     &gt;<br>
&gt;     &gt;         When I downgraded samba and samba-vfs-gluster, It worked<br>
&gt;     well.<br>
&gt;     &gt;<br>
&gt;     &gt;         If you are in a hurry, I recommend you to downgrade these<br>
&gt;     &gt;         packages.<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;         On 10/10/18 5:58 PM, Christos Tsalidis wrote:<br>
&gt;     &gt;         &gt; Hi all,<br>
&gt;     &gt;         &gt;<br>
&gt;     &gt;         &gt; I am testing the glusterfs 3.12.14 version on CentOS Linux<br>
&gt;     &gt;         release<br>
&gt;     &gt;         &gt; 7.5.1804 and when I try to write a file using a samba<br>
&gt;     client<br>
&gt;     &gt;         I get<br>
&gt;     &gt;         &gt; &#39;Permission denied&#39;. Below I give the output and my<br>
&gt;     &gt;         configuration.<br>
&gt;     &gt;         &gt;<br>
&gt;     &gt;         &gt;<br>
&gt;     &gt;         &gt; [root@workstation ~]# df<br>
&gt;     &gt;         &gt; Filesystem                            1K-blocks    Used<br>
&gt;     &gt;         Available Use%<br>
&gt;     &gt;         &gt; Mounted on<br>
&gt;     &gt;         &gt; /dev/mapper/centos-root                 6486016 1199008  <br>
&gt;     &gt;         5287008  19% /<br>
&gt;     &gt;         &gt; devtmpfs                                 495892       0   <br>
&gt;     &gt;         495892   0%<br>
&gt;     &gt;         &gt; /dev<br>
&gt;     &gt;         &gt; tmpfs                                    507736       0   <br>
&gt;     &gt;         507736   0%<br>
&gt;     &gt;         &gt; /dev/shm<br>
&gt;     &gt;         &gt; tmpfs                                    507736    6828   <br>
&gt;     &gt;         500908   2%<br>
&gt;     &gt;         &gt; /run<br>
&gt;     &gt;         &gt; tmpfs                                    507736       0   <br>
&gt;     &gt;         507736   0%<br>
&gt;     &gt;         &gt; /sys/fs/cgroup<br>
&gt;     &gt;         &gt; /dev/sda1                               1038336  161940   <br>
&gt;     &gt;         876396  16%<br>
&gt;     &gt;         &gt; /boot<br>
&gt;     &gt;         &gt; tmpfs                                    101548       0   <br>
&gt;     &gt;         101548   0%<br>
&gt;     &gt;         &gt; /run/user/1000<br>
&gt;     &gt;         &gt; //servera.lab.local/gluster-mastervol   2076672   66720  <br>
&gt;     &gt;         2009952   4%<br>
&gt;     &gt;         &gt; /mnt/smbdata<br>
&gt;     &gt;         &gt; [root@workstation ~]# ls /mnt/smbdata/<br>
&gt;     &gt;         &gt; file00  file01  file02  file03  file04  file05 <br>
&gt;     file06  file07 <br>
&gt;     &gt;         &gt; file08  file09  file10<br>
&gt;     &gt;         &gt;<br>
&gt;     &gt;         &gt; [root@workstation ~]# cat /mnt/smbdata/file00<br>
&gt;     &gt;         &gt;<br>
&gt;     &gt;         &gt; [root@workstation ~]# touch /mnt/smbdata/file11<br>
&gt;     &gt;         &gt; touch: cannot touch ‘/mnt/smbdata/file11’: Permission<br>
&gt;     denied<br>
&gt;     &gt;         &gt;<br>
&gt;     &gt;         &gt;<br>
&gt;     &gt;         &gt; [gluster-mastervol]<br>
&gt;     &gt;         &gt; comment = For samba share of volume mastervol<br>
&gt;     &gt;         &gt; vfs objects = glusterfs<br>
&gt;     &gt;         &gt; glusterfs:volume = mastervol<br>
&gt;     &gt;         &gt; glusterfs:logfile =<br>
&gt;     /var/log/samba/glusterfs-mastervol.%M.log<br>
&gt;     &gt;         &gt; glusterfs:loglevel = 7<br>
&gt;     &gt;         &gt; path = /<br>
&gt;     &gt;         &gt; read only = no<br>
&gt;     &gt;         &gt; kernel share modes = No<br>
&gt;     &gt;         &gt;<br>
&gt;     &gt;         &gt;<br>
&gt;     &gt;         &gt; [root@servera ~]# systemctl status smb<br>
&gt;     &gt;         &gt; ● smb.service - Samba SMB Daemon<br>
&gt;     &gt;         &gt;    Loaded: loaded<br>
&gt;     (/usr/lib/systemd/system/smb.service; enabled;<br>
&gt;     &gt;         &gt; vendor preset: disabled)<br>
&gt;     &gt;         &gt;    Active: active (running) since Wed 2018-10-10 10:51:42<br>
&gt;     &gt;         CEST; 5min ago<br>
&gt;     &gt;         &gt;  Main PID: 3078 (smbd)<br>
&gt;     &gt;         &gt;    Status: &quot;smbd: ready to serve connections...&quot;<br>
&gt;     &gt;         &gt;    CGroup: /system.slice/smb.service<br>
&gt;     &gt;         &gt;            ├─3078 /usr/sbin/smbd --foreground<br>
&gt;     --no-process-group<br>
&gt;     &gt;         &gt;            ├─3080 /usr/sbin/smbd --foreground<br>
&gt;     --no-process-group<br>
&gt;     &gt;         &gt;            ├─3081 /usr/sbin/smbd --foreground<br>
&gt;     --no-process-group<br>
&gt;     &gt;         &gt;            ├─3082 /usr/sbin/smbd --foreground<br>
&gt;     --no-process-group<br>
&gt;     &gt;         &gt;            └─3096 /usr/sbin/smbd --foreground<br>
&gt;     --no-process-group<br>
&gt;     &gt;         &gt;<br>
&gt;     &gt;         &gt; Oct 10 10:51:41 servera.lab.local systemd[1]: Starting<br>
&gt;     Samba<br>
&gt;     &gt;         SMB Daemon...<br>
&gt;     &gt;         &gt; Oct 10 10:51:42 servera.lab.local smbd[3078]: [2018/10/10<br>
&gt;     &gt;         &gt; 10:51:42.014539,  0]<br>
&gt;     &gt;         ../lib/util/become_daemon.c:124(daemon_ready)<br>
&gt;     &gt;         &gt; Oct 10 10:51:42 servera.lab.local systemd[1]: Started<br>
&gt;     Samba<br>
&gt;     &gt;         SMB Daemon.<br>
&gt;     &gt;         &gt; Oct 10 10:51:42 servera.lab.local smbd[3078]:  <br>
&gt;     &gt;         STATUS=daemon &#39;smbd&#39;<br>
&gt;     &gt;         &gt; finished starting up and ready to serve connections<br>
&gt;     &gt;         &gt; Oct 10 10:52:06 servera.lab.local smbd[3085]: [2018/10/10<br>
&gt;     &gt;         &gt; 10:52:06.741897,  0]<br>
&gt;     &gt;         ../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)<br>
&gt;     &gt;         &gt; Oct 10 10:52:06 servera.lab.local smbd[3085]:  <br>
&gt;     &gt;         vfs_gluster_connect:<br>
&gt;     &gt;         &gt; mastervol: Initialized volume from servers localhost<br>
&gt;     &gt;         &gt; Oct 10 10:52:09 servera.lab.local smbd[3096]: [2018/10/10<br>
&gt;     &gt;         &gt; 10:52:09.812596,  0]<br>
&gt;     &gt;         ../source3/modules/vfs_glusterfs.c:371(vfs_...nnect)<br>
&gt;     &gt;         &gt; Oct 10 10:52:09 servera.lab.local smbd[3096]:  <br>
&gt;     &gt;         vfs_gluster_connect:<br>
&gt;     &gt;         &gt; mastervol: Initialized volume from servers localhost<br>
&gt;     &gt;         &gt; Hint: Some lines were ellipsized, use -l to show in full.<br>
&gt;     &gt;         &gt;<br>
&gt;     &gt;         &gt;<br>
&gt;     &gt;         &gt;<br>
&gt;     &gt;         &gt; [root@servera ~]# rpm -qa | egrep -i &#39;gluster|samba&#39;<br>
&gt;     &gt;         &gt; glusterfs-client-xlators-3.12.14-1.el7.x86_64<br>
&gt;     &gt;         &gt; glusterfs-api-3.12.14-1.el7.x86_64<br>
&gt;     &gt;         &gt; glusterfs-fuse-3.12.14-1.el7.x86_64<br>
&gt;     &gt;         &gt; glusterfs-server-3.12.14-1.el7.x86_64<br>
&gt;     &gt;         &gt; samba-common-tools-4.7.1-9.el7_5.x86_64<br>
&gt;     &gt;         &gt; samba-vfs-glusterfs-4.7.1-9.el7_5.x86_64<br>
&gt;     &gt;         &gt; samba-winbind-4.7.1-9.el7_5.x86_64<br>
&gt;     &gt;         &gt; centos-release-gluster312-1.0-2.el7.centos.noarch<br>
&gt;     &gt;         &gt; glusterfs-libs-3.12.14-1.el7.x86_64<br>
&gt;     &gt;         &gt; glusterfs-3.12.14-1.el7.x86_64<br>
&gt;     &gt;         &gt; glusterfs-cli-3.12.14-1.el7.x86_64<br>
&gt;     &gt;         &gt; glusterfs-gnfs-3.12.14-1.el7.x86_64<br>
&gt;     &gt;         &gt; samba-common-4.7.1-9.el7_5.noarch<br>
&gt;     &gt;         &gt; samba-common-libs-4.7.1-9.el7_5.x86_64<br>
&gt;     &gt;         &gt; samba-client-libs-4.7.1-9.el7_5.x86_64<br>
&gt;     &gt;         &gt; samba-libs-4.7.1-9.el7_5.x86_64<br>
&gt;     &gt;         &gt; samba-4.7.1-9.el7_5.x86_64<br>
&gt;     &gt;         &gt; samba-winbind-modules-4.7.1-9.el7_5.x86_64<br>
&gt;     &gt;         &gt; samba-winbind-clients-4.7.1-9.el7_5.x86_64<br>
&gt;     &gt;         &gt;<br>
&gt;     &gt;         &gt;<br>
&gt;     &gt;         &gt; Any idea how I can solve this problem?<br>
&gt;     &gt;         &gt;<br>
&gt;     &gt;         &gt; Thanks in advance!<br>
&gt;     &gt;         &gt;<br>
&gt;     &gt;         &gt; _______________________________________________<br>
&gt;     &gt;         &gt; Gluster-users mailing list<br>
&gt;     &gt;         &gt; <a href="mailto:Gluster-users@gluster.org" target="_blank" rel="noreferrer">Gluster-users@gluster.org</a><br>
&gt;     &lt;mailto:<a href="mailto:Gluster-users@gluster.org" target="_blank" rel="noreferrer">Gluster-users@gluster.org</a>&gt;<br>
&gt;     &lt;mailto:<a href="mailto:Gluster-users@gluster.org" target="_blank" rel="noreferrer">Gluster-users@gluster.org</a> &lt;mailto:<a href="mailto:Gluster-users@gluster.org" target="_blank" rel="noreferrer">Gluster-users@gluster.org</a>&gt;&gt;<br>
&gt;     &gt;         &gt; <a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt;     &gt;<br>
&gt;     &gt;         Best regards.<br>
&gt;     &gt;<br>
&gt;     &gt;         --<br>
&gt;     &gt;<br>
&gt;     &gt;         Ji-Hyeon Gim<br>
&gt;     &gt;         Research Engineer, Gluesys<br>
&gt;     &gt;<br>
&gt;     &gt;         Address. Gluesys R&amp;D Center, 5F, 11-31, Simin-daero<br>
&gt;     327beon-gil,<br>
&gt;     &gt;                  Dongan-gu, Anyang-si,<br>
&gt;     &gt;                  Gyeonggi-do, Korea<br>
&gt;     &gt;                  (14055)<br>
&gt;     &gt;         Phone.   +82-70-8787-1053<br>
&gt;     &gt;         Fax.     +82-31-388-3261<br>
&gt;     &gt;         Mobile.  +82-10-7293-8858<br>
&gt;     &gt;         E-Mail.  <a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a><br>
&gt;     &lt;mailto:<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a>&gt; &lt;mailto:<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a><br>
&gt;     &lt;mailto:<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a>&gt;&gt;<br>
&gt;     &gt;         Website. <a href="http://www.potatogim.net/" rel="noreferrer noreferrer" target="_blank">http://www.potatogim.net/</a><br>
&gt;     &gt;<br>
&gt;     &gt;         The time I wasted today is the tomorrow the dead man was<br>
&gt;     eager<br>
&gt;     &gt;         to see yesterday.<br>
&gt;     &gt;           - Sophocles<br>
&gt;     &gt;<br>
&gt;     Best regards.<br>
&gt;<br>
&gt;     --<br>
&gt;<br>
&gt;     Ji-Hyeon Gim<br>
&gt;     Research Engineer, Gluesys<br>
&gt;<br>
&gt;     Address. Gluesys R&amp;D Center, 5F, 11-31, Simin-daero 327beon-gil,<br>
&gt;              Dongan-gu, Anyang-si,<br>
&gt;              Gyeonggi-do, Korea<br>
&gt;              (14055)<br>
&gt;     Phone.   +82-70-8787-1053<br>
&gt;     Fax.     +82-31-388-3261<br>
&gt;     Mobile.  +82-10-7293-8858<br>
&gt;     E-Mail.  <a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a> &lt;mailto:<a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a>&gt;<br>
&gt;     Website. <a href="http://www.potatogim.net/" rel="noreferrer noreferrer" target="_blank">http://www.potatogim.net/</a><br>
&gt;<br>
&gt;     The time I wasted today is the tomorrow the dead man was eager to<br>
&gt;     see yesterday.<br>
&gt;       - Sophocles<br>
&gt;<br>
Best regards.<br>
<br>
--<br>
<br>
Ji-Hyeon Gim<br>
Research Engineer, Gluesys<br>
<br>
Address. Gluesys R&amp;D Center, 5F, 11-31, Simin-daero 327beon-gil,<br>
         Dongan-gu, Anyang-si,<br>
         Gyeonggi-do, Korea<br>
         (14055)<br>
Phone.   +82-70-8787-1053<br>
Fax.     +82-31-388-3261<br>
Mobile.  +82-10-7293-8858<br>
E-Mail.  <a href="mailto:potatogim@potatogim.net" target="_blank" rel="noreferrer">potatogim@potatogim.net</a><br>
Website. <a href="http://www.potatogim.net/" rel="noreferrer noreferrer" target="_blank">http://www.potatogim.net/</a><br>
<br>
The time I wasted today is the tomorrow the dead man was eager to see yesterday.<br>
  - Sophocles<br>
<br>
</blockquote></div>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank" rel="noreferrer">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a></blockquote></div>