[Bug 1703490] Re: Unable to mount network volume on 17.10 Samba server

Andreas Hasenack andreas at canonical.com
Tue Jul 11 15:03:17 UTC 2017


I tried your shares, and they seem to work as expected. Note that
[Homes] is read only (default for "read only" is "yes"), so you won't be
able to write to Homes or even Maps under it while connected to Homes,
but if you connect to Maps, then you can:

oot at nsn7:~# for d in Home Maps Media; do mount //10.0.5.55/$d /patrick/$d -o user=patrick,password=patrick,vers=1.0; done
root at nsn7:~# cd /patrick/Home/
root at nsn7:/patrick/Home# touch hello-there
touch: cannot touch 'hello-there': Permission denied
root at nsn7:/patrick/Home# cd Maps
root at nsn7:/patrick/Home/Maps# touch hello-there
touch: cannot touch 'hello-there': Permission denied
root at nsn7:/patrick/Home/Maps# cd /patrick/Maps/
root at nsn7:/patrick/Maps# touch hello-there
root at nsn7:/patrick/Maps# cd /patrick/Home/Maps/
root at nsn7:/patrick/Home/Maps# ll
total 0
drwxr-xr-x+ 2 1001 1002 0 Jul 11 11:53 ./
drwxr-xr-x+ 4 1001 1002 0 Jul 11 11:50 ../
-rw-r--r--+ 1 1001 1002 0 Jul 11 11:53 hello-there


Note that Home is listed as rw, but it's read-only enforced on the server:
root at nsn7:~# mount -t cifs
//10.0.5.55/Home on /patrick/Home type cifs (rw,relatime,vers=1.0,cache=strict,username=patrick,domain=15-89,uid=0,noforceuid,gid=0,noforcegid,addr=10.0.5.55,unix,posixpaths,serverino,mapposix,acl,rsize=1048576,wsize=65536,actimeo=1,user=patrick)
//10.0.5.55/Maps on /patrick/Maps type cifs (rw,relatime,vers=1.0,cache=strict,username=patrick,domain=15-89,uid=0,noforceuid,gid=0,noforcegid,addr=10.0.5.55,unix,posixpaths,serverino,mapposix,acl,rsize=1048576,wsize=65536,actimeo=1,user=patrick)
//10.0.5.55/Media on /patrick/Media type cifs (rw,relatime,vers=1.0,cache=strict,username=patrick,domain=15-89,uid=0,noforceuid,gid=0,noforcegid,addr=10.0.5.55,unix,posixpaths,serverino,mapposix,acl,rsize=1048576,wsize=65536,actimeo=1,user=patrick)

A few more questions:

a) I don't understand your mentioning of "run/user/1000/gvfs", how is
that involved?

b) do you have usershares set? try:
sudo net usershare list -l

c) have you tried smbclient?

d) are there other filesystems involved in these shares and their
mountpoints?

e) Can we narrow down which shares are not working, out of your 3? Home,
Maps, Media? Or all of them, when contacted with a xenial samba cifs (or
smbclient)?

My cifs-utils package on xenial is at version 2:6.4-1ubuntu1.1, and my samba packages are:
# dpkg-query -W samba-common samba-common-bin samba-libs smbclient
samba-common	2:4.3.11+dfsg-0ubuntu0.16.04.8
samba-common-bin	2:4.3.11+dfsg-0ubuntu0.16.04.8
samba-libs:amd64	2:4.3.11+dfsg-0ubuntu0.16.04.8
smbclient	2:4.3.11+dfsg-0ubuntu0.16.04.8

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1703490

Title:
  Unable to mount network volume on 17.10 Samba server

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1703490/+subscriptions



More information about the Ubuntu-server-bugs mailing list