You are not logged in.
Hello,
I'm having trouble getting access to my Samba share on my LAN. The Samba share is on a Ubuntu 16.04.x server, with Samba installed from the Ubuntu repositories. I can see the shares from my computer: (I've obscured the usernames/hostname)
~ smbclient -L MyCloud -U%
Domain=[CLOUD] OS=[Windows 6.1] Server=[Samba 4.3.11-Ubuntu]
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
IPC$ IPC IPC Service (MyCloud server (Samba, Ubuntu))
dropbox Disk Dropbox
myuser Disk
Domain=[CLOUD] OS=[Windows 6.1] Server=[Samba 4.3.11-Ubuntu]
Server Comment
--------- -------
Workgroup Master
--------- -------
WORKGROUP MYCLOUDHowever, I can't connect to it:
~ smbclient //MyCloud/myuser
Enter myuser's password:
Domain=[MYCLOUD] OS=[Windows 6.1] Server=[Samba 4.3.11-Ubuntu]
tree connect failed: NT_STATUS_ACCESS_DENIEDThis also hints to my actual issue: when I try to connect to my share from Nautilus, I get to enter my credentials, however the dialog comes back in it's initial state: without the credentials I had entered previously. It does not show any other warnings or messages.
(Note: Initially smbclient complained that /etc/samba/smb.conf did not exist, I found that very odd. I installed samba and copied over smb.conf.default to smb.conf and changed the workgroup to match the one on my server.)
Last edited by ctown.myth (2016-11-14 21:59:58)
AKA MyCookie!
Offline
On the smb server, did you add your user with smbpasswd?
Last edited by arshesney (2016-11-14 13:37:34)
Offline
The best way is to find out what messages is the server throwing on the Ubuntu.
If no messages - probably some firewall or the port is not active
If there are some messages then put them here, because NT_STATUS_ACCESS_DENIED is always thrown if the server has some objections.
for SMB connection I personally use Nautilus.
2020 ASUS Zephyrus G14
2025 HP ZBook Ultra G1A with Strix Halo
Offline
On the smb server, did you add your user with smbpasswd?
I used Webmin to create all the shares on the server, following this wiki: http://doxfer.webmin.com/Webmin/Samba_W … file_share.
Thank you for pointing it out though, using smbpasswd to change the password showed that there was no Samba user with that name. That's odd since the Samba wiki implied that Samba can share a Unix user's home directory without any other details required. I used Webmin to convert an existing user to a Samba one, and it seems that everything is working.
Thank you all for your help!
AKA MyCookie!
Offline