Z
Z
zehil2020-01-23 16:29:50
Samba
zehil, 2020-01-23 16:29:50

How to get to a network drive via Samba in Ubuntu?

Ran into trouble. For a long time, there was a wish to make a file dump at home, so that media data could be pulled from there without clogging the main memory of devices. Buying a NAS was frankly zapadlo, and the topic was shelved. And then I remembered that I have a USB port in my router from Asus (RT-AC750), and from my school years there was a removable screw from SiliconPower on 1TV. The idea was implemented instantly, since the web-muzzle of the router is extremely friendly and intuitive. This means that the "File Server" with the Samba network environment was created by means of the router itself. In the list of users, I created several pieces with different rights to different directories (I created them on the drive in advance). Everything works on all devices and a variety of platforms, but not on Ubuntu.
More specifically, the fleet of devices from which the disk was logged in consists of:
1 - PC with Windows 7 Prof. - SUCCESS
2 - Laptop with stripped down Windows Vista SP2 - SUCCESS
3 - Main laptop with Ubuntu 16.04 - FAIL
4 - Android devices (from smartphone to TV) - SUCCESS
What is the login error from under Ubuntu (as well as from under LMDE 3) - when you try to enter one of the directories of the drive, the authentication window pops up, as expected. On Ubuntu it consists of 3 input fields, 1 - username, 2 - working group (by default, WORKGROUP is written both in the input field itself and in the router) 3 - user password. When you enter, identical to Windows, login and password, the cherished NOTHING happens. The window becomes inactive, you cannot re-enter the data, you can only close the window. That's all. However, if you enable "Guest Login" in the router settings, then for some reason it's already possible to enter the disk from Linux.However, this method is unacceptable in my case for the reason that there are directories with valuable files that other family members should not have access to, or with read-only restrictions (such as a family photo archive).
To be honest, Linux file sharing has always been a bit of a mystery to me. sometimes everything worked out of the box, and sometimes, even when editing the samba config by hand, nothing burned out.
Where to dig in this case? I suspect that in the direction of Samba on Linux itself, but I don’t know what to look at first.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hint000, 2020-01-23
@zehil

Try it from the smbclient command line, maybe he will say that he does not like it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question