September 9, 20205 yr share can not be accessed when set to private. did i put too long of a password in for the user account? using SMB with case sensitive yes and have EXPLICITLY assigned one single user RW. what am i missing?
September 9, 20205 yr You are probably already connected to the server using a different account. Windows will only allow one set of credentials to be used at a time, and even though it asks for a username and password, it'll never try it. To confirm, temporarily set ALL exported shares to private, restart your client computer, and see what happens when you enter those credentials.
September 10, 20205 yr Author 15 hours ago, jonathanm said: You are probably already connected to the server using a different account. Windows will only allow one set of credentials to be used at a time, and even though it asks for a username and password, it'll never try it. To confirm, temporarily set ALL exported shares to private, restart your client computer, and see what happens when you enter those credentials. would this also cause problem for an ubuntu machine trying to connect? could i make a second service account and give it access to the share?
September 10, 20205 yr 32 minutes ago, cdoublejj said: would this also cause problem for an ubuntu machine trying to connect? could i make a second service account and give it access to the share? It shouldn't. What command are you using to mount it? Have you tried what I said with the windows machine?
September 10, 20205 yr Author i don't need it connect with a windows machine. i have this in my fstab //192.168.1.123/NextCloud /mnt/NextCloud cifs username=<user>,password=<password>,uid=1000,gid=100, 0 0 sudo -a gives permission denied error. even though the user name is spelled right the PW copy and pasted. HOWEVER if i set it to public it will work.
September 10, 20205 yr Try //<serverIP>/<share> <local mount point> cifs file_mode=0777,dir_mode=0777,_netdev,username=<user>,password=<password>,uid=1000,gid=1000 0 0 Be sure your local mount point has the correct permissions as well.
September 10, 20205 yr Author 13 minutes ago, jonathanm said: Try //<serverIP>/<share> <local mount point> cifs file_mode=0777,dir_mode=0777,_netdev,username=<user>,password=<password>,uid=1000,gid=1000 0 0 Be sure your local mount point has the correct permissions as well. do i want the brackets in there just like that over the ip and share?
September 10, 20205 yr 1 minute ago, cdoublejj said: do i want the brackets in there just like that over the ip and share? No. The brackets are just to designate things you need to customize.
September 10, 20205 yr Author 9 minutes ago, jonathanm said: No. The brackets are just to designate things you need to customize. maybe i should take the brackets off of the credentials in the current line i have now!?
September 10, 20205 yr 13 minutes ago, cdoublejj said: maybe i should take the brackets off of the credentials in the current line i have now!? If your credentials don't use brackets, yes. Brackets are perfectly legal characters in a password.
September 10, 20205 yr Author huh i can't LS even as sudo, nor mkdir EDIT: rebooted and ran. sudo mount -a i've had issue binding ubuntu 20.04 on other computers to smb as well. and NFS in unraid is broke and has been. LimeTech said the solution is to stop using it. EDIT: i think SMB is broken on Ubuntu 20.04 LTS and NFS is broken on unRaid 6.8 so i'm screwed. Edited September 10, 20205 yr by cdoublejj
September 10, 20205 yr Try putting the local mount point inside your home directory instead of /mnt cd to your Documents folder, and mkdir Nextcloud there, don't use sudo. Then change the fstab local folder to /home/<ubuntu user>/Documents/Nextcloud and see how you get on. P.S. Please replace <ubuntu user> with the correct characters. Like /home/owner/Documents/Nextcloud, if your Ubuntu username was owner.
Archived
This topic is now archived and is closed to further replies.