output of mount command on client 192.168.1.173: //192.168.1.116/maps on /mnt/share/mainpc/maps type cifs (rw,relatime,vers=2.0,sec=ntlmssp,cache=strict,username=patrick,domain=MAINPC,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.116,file_mode=0755,dir_mode=0755,nounix,serverino,mapposix,rsize=65536,wsize=65536,actimeo=1,user=patrick)
192.168.1.116 is the server of course On 12/07/17 01:05, Andreas Hasenack wrote: > Thanks for filing this bug in Ubuntu. > > Could you please share your /etc/samba/smb.conf on that 17.10 server? > The output of "testparm -s" would be best. > > I tried the same here and could mount the share just fine from xenial. > Maybe you restricted the smb protocol to higher versions? mount.cifs > will use SMB1 by default, whereas windows 10 will use SMB2 or 3 (can't > recall now). > > You can check with "smbstatus" on the server which protocol the connected > client is using: > root@15-89:~# smbstatus > > Samba version 4.5.8-Ubuntu > PID Username Group Machine > Protocol Version Encryption Signing > ---------------------------------------------------------------------------------------------------------------------------------------- > 14179 ubuntu ubuntu 10.0.5.1 (ipv4:10.0.5.1:57260) > NT1 - - > > Service pid Machine Connected at > Encryption Signing > --------------------------------------------------------------------------------------------- > data 14179 10.0.5.1 Tue Jul 11 12:59:32 PM 2017 UTC - > - > IPC$ 14179 10.0.5.1 Tue Jul 11 12:59:32 PM 2017 UTC - > - > > No locked files > > To specify a different version, mount the cifs fileysystem like this: > root@nsn7:~# mount //10.0.5.55/data /data -o user=ubuntu,vers=2.0 > Password for ubuntu@//10.0.5.55/data: ****** > > root@nsn7:~# cd /data > > root@nsn7:/data# ls -l > total 1024 > -rwxr-xr-x 1 root root 38 Jul 11 09:57 welcome.txt > > root@nsn7:/data# cat welcome.txt > Welcome to the data share, developer. > > root@nsn7:/data# echo bye > bye.txt > root@nsn7:/data# ls -la > total 2052 > drwxr-xr-x 2 root root 0 Jul 11 10:02 . > drwxr-xr-x 34 root root 4096 Jul 11 09:59 .. > -rwxr-xr-x 1 root root 4 Jul 11 10:02 bye.txt > -rwxr-xr-x 1 root root 38 Jul 11 09:57 welcome.txt > > > And smbstatus on the server in this case (showing only the relevant line, for > brevity): > 14182 ubuntu ubuntu 10.0.5.1 (ipv4:10.0.5.1:57720) > SMB2_02 - - > > In any case, I can read and write to the share. This is my smb.conf. All > default except for the removal of printer shares, and the addition of the > [data] share: > [global] > server string = %h server (Samba, Ubuntu) > log file = /var/log/samba/log.%m > max log size = 1000 > syslog = 0 > panic action = /usr/share/samba/panic-action %d > usershare allow guests = Yes > map to guest = Bad User > obey pam restrictions = Yes > pam password change = Yes > passwd chat = *Enter\snew\s*\spassword:* %n\n > *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . > passwd program = /usr/bin/passwd %u > server role = standalone server > unix password sync = Yes > dns proxy = No > idmap config * : backend = tdb > > [data] > comment = Data share > path = /data > read only = no > browseable = true > guest ok = no > > > ** Changed in: samba (Ubuntu) > Status: New => Incomplete > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs