Migrating from Ubuntu 12.04LTS to 16.04LTS also brokes cifs mount for
me. I was having following in my fstab file:

/192.168.10.1/server_share/ /mnt/my_point cifs
iocharacterset=utf8,sec=ntlm,credentials=/home/kruno/.smbcredentials,uid=1000,gid=1000
0 0

As I read elsewhere you need to separate username and domain in
credential file. I did that too. Still having permission denied errror
when try to use "mount -a" command

I also tried to put username, domain and password directly in fstab command. 
Same errror.
I'm sure that username and password is correct, because following command 
properly mount drive:

mount -t cifs //192.168.10.1/server_share/ /mnt/my_point -o username=my-
username,password=my-password,domain=MYDOMAIN

Finally, found elsewhere that "mount -a -v" command can give more data.
After that I got this response:

mount.cifs kernel mount options:
ip=192.168.10.1,unc=\\192.168.10.1\server_share,iocharacterset=utf8,sec=ntlmv,uid=1000,gid=1000,user
=my-username,,domain=MYDOMAIN,pass=********


Please note double "," between username and domain. Happens with both,
using credential files and direct input of username and password trough
fstab command line.

My server that I try to cennect to is still on ubuntu 12.04LTS while
client is 16.04

I hope that this bit of info can help to solve this bug

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1113395

Title:
  mount.cifs on 13.04 fails to mount a samba share with 13: Permission
  Denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1113395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to