[Bugs] [Bug 1315422] New: GlusterFS Samba VFS
bugzilla at redhat.com
bugzilla at redhat.com
Mon Mar 7 16:58:17 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1315422
Bug ID: 1315422
Summary: GlusterFS Samba VFS
Product: GlusterFS
Version: 3.6.9
Component: gluster-smb
Severity: medium
Assignee: bugs at gluster.org
Reporter: stuartjames at kaycero.com
CC: bugs at gluster.org
External Bug ID: Samba Project 11647
Description of problem:
Version-Release number of selected component (if applicable):
Centos 7 latest
glusterfs-api-3.6.9-1.el7.x86_64
glusterfs-server-3.6.9-1.el7.x86_64
glusterfs-libs-3.6.9-1.el7.x86_64
glusterfs-3.6.9-1.el7.x86_64
glusterfs-cli-3.6.9-1.el7.x86_64
glusterfs-fuse-3.6.9-1.el7.x86_64
samba-vfs-glusterfs-4.2.3-11.el7_2.x86_64
samba-libs-4.2.3-11.el7_2.x86_64
samba-client-libs-4.2.3-11.el7_2.x86_64
samba-vfs-glusterfs-4.2.3-11.el7_2.x86_64
samba-common-tools-4.2.3-11.el7_2.x86_64
samba-common-libs-4.2.3-11.el7_2.x86_64
samba-4.2.3-11.el7_2.x86_64
samba-common-4.2.3-11.el7_2.noarch
How reproducible:
On demand
Steps to Reproduce:
1.Setup GlusterFS / Samba configuration as per documentation provided for
Gluster 3.0 / 3.1
https://access.redhat.com/documentation/en-US/Red_Hat_Storage/3/html/Administration_Guide/sect-SMB.html
2. Attempt to mount samba share from client (mount -t cifs -o guest,sec=none
//gluster2/gluster-mythinvol1 /mnt/samba/mythinvol1)
Actual results:
Samba share is not mountable due to error between samba and gluster
[root at glusterclient1 ~]# mount -t cifs -o guest,sec=none
//gluster2/gluster-mythinvol1 /mnt/samba/mythinvol1/
mount error(13): Permission denied
Expected results:
Samba share is mounted
Additional info:
Error log
==> /var/log/samba/log.glusterclient1 <==
[2016/03/07 16:37:08.250984, 0]
../source3/modules/vfs_glusterfs.c:257(vfs_gluster_connect)
mythinvol1: Initialized volume from server localhost
[2016/03/07 16:37:08.260580, 2]
../source3/smbd/service.c:862(make_connection_snum)
glusterclient1 (ipv4:192.168.0.121:39139) connect to service
gluster-mythinvol1 initially as user nobody (uid=99, gid=99) (pid 28656)
[2016/03/07 16:37:10.848514, 2] ../source3/smbd/vfs.c:1240(check_reduced_name)
check_reduced_name: Bad access attempt: * is a symlink outside the share path
conn_rootdir =/
resolved_name=/./*
[2016/03/07 16:39:25.076492, 2] ../source3/smbd/service.c:1138(close_cnum)
glusterclient1 (ipv4:192.168.0.121:39139) closed connection to service
gluster-mythinvol1
To fix this error i added global configuration to /etc/samba/smb.conf and
restarted smb
follow symlinks = yes
wide links = yes
unix extensions = no
After which following command works
[root at glusterclient1 ~]# mount -t cifs -o guest,sec=none
//gluster2/gluster-mythinvol1 /mnt/samba/mythinvol1/
└─/mnt/samba/mythinvol1 //gluster2/gluster-mythinvol1
cifs
rw,relatime,vers=1.0,cache=strict,domain=GLUSTER2,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.0.112,file_mode=0755,dir_mode=0755,nounix,serverino,rsi
Additionally i found an error information describing this from Samba
https://attachments.samba.org/attachment.cgi?id=11744
Seems to me without these parameters either documented or defaults and
according to documentation the functionality does not work.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list