24
6
I am using ubuntu and gnome on my computer.
When I open up File Browser, on the left hand rail, I see conveniently a folder called "Work Server". When I mouse over it, the following caption appears "smb://john@69.100.100.1". If I click on that folder, then I can see the contents of that folder. Everything is great.
So now when I open up a terminal/shell, I type in
cd smb://john@69.100.100.1
I get an error saying the directory doesn't exist. How do I enter this directory via shell/terminal?
1
smbmount is deprecated and not maintained any longer. mount.cifs (mount -t cifs) should be used instead of smbmount (smbmount Linux man page)
– Baumann – 2016-03-15T13:55:48.287how does one do an anonymous access with cifs? Is it just a matter of setting
user=anonymous
? – Mike 'Pomax' Kamermans – 2018-12-15T21:07:03.747Just don't use 'user' at all for guest access. – Shadok – 2019-03-08T17:38:28.577
am I supposed to replace USERNAME with the name of my current shell user? And SHARENAME with the directory name i want to cd into? When i tried I got the following error:
Connection to john@69.100.100.1 failed (Error NT_STATUS_BAD_NETWORK_NAME)
– John – 2012-10-02T15:10:35.773yep, you have to specify an 'endpoint' ("SHARENAME") which is the name of the share you can see in your GUI file browser and adapt "USERNAME" (maybe even add your domain before that) to be able to mount the share. – Shadok – 2012-10-02T15:39:39.320