Jump to content

Working with shared folders on Ubuntu


Go to solution Solved by Frank1940,

Recommended Posts

Posted

Hello there,

 

I was trying to open shared drives from my server on an Ubuntu laptop.

While the folders do show up, I'm not quite sure what to enter in the displayed fields:

  • Username
  • Domain
  • Password

 

Username usually has my laptop username prewritten whereas

Domain comes with 'WORKGROUP' prefilled.

Those prefilled credentials do not work however.

 

While I did try it with the users I have created on my server, it seems that I'm missing (at least) the 'Domain' information.

 

Does anyone know where I could find that information?
I'd be happy to be able to access the shared folders from my laptop as well.

 

Thank you!

shared-folder_.png

Posted (edited)

username/password need to be the one of the user you set up and gave access to those shares to on unraid (cannot be root). Ignore domain.

Edited by Kilrah
  • Solution
Posted

I am not a Linux OS client user/expert but I have helped a lot with Windows SMB problems.

 

Let me point you to a document about setting SMB/SAMBA for Unraid/Windows. 

 

      https://forums.unraid.net/topic/110580-security-is-not-a-dirty-word-unraid-windows-1011-smb-setup/ 

 

Your login screen looks a lot like a Windows login screen combined with Windows Credential Manager. Read the document first - a skim is fine as much of the material is specific to Windows but your Linux system will be dealing with the same Samba on your Unraid server.   So try this:

 

  1. Set up a Share Access user on your Unraid server.  Be sure you write down that password!!!! 
  2. Now get to that Ubuntu login screen that is in your screenshot.
  3. Select ' 'Registered user'
  4. Username should be the one that you used to setup the Share Access user.
  5. Domain--  leave WORKGROUP alone.
  6. Password is the one you assigned to the Share Access user.  (remember writing it down...)
  7. If you want to work like Windows Credential Manager, Select 'Remember forever'.   Otherwise, you will have to remember that password.

Since you are probably in a reasonably secure LAN environment without malicious users, you can use common user names and simple passwords.  That is also the reason for the 'Remember forever' choice.  But having a Share Access user does allow you to protect sensitive files from other authorized LAN users.  Many folks visitors to their home to access their WiFi and which may give access to the server.

 

Hope this helps...

 

  • Thanks 1
Posted

Thanks both of you for the quick and elaborate answers!

 

I always deleted the 'Domain' aspect which automatically greyed-out the connect button.

Leaving WORKGROUP set and resetting the password to be sure it's the correct one worked in the end.

 

Much appreciated.

  • 2 weeks later...
Posted (edited)

Hello!

As a matter of fact I am actually in an identical situation on Fedora with Nautilus (Filemanager). Just wanted to provide "pictures"
Trying to connect to my smb://192.168.20.10/data_vault I have to login as I set the SMB permissions as such:
image.thumb.png.8666dc1fcd17de981a85799cc492e50b.png

image.png.b136a6b6423a2fb16b880d1e7280cb65.png

image.png.e42036d5e1de363e49d4cc5e450335c5.pngimage.png.463ee2bc73bcce1e3f1b148e4c3438e7.png

 

If I enter credentials and connect it just returns me to the login form again as it was first. This only happens if the Username/PW do not match.
Now I actually use a PW-Manager so this surprised me. I set the password again and then it worked.
The Domain can be totally ignored in this instance. Just leave what is entered by default.
This can be done under user settings.

image.thumb.png.fe12856497bdbbb4043cd195757de0e2.png
I thought I would leave this here. Such a silly mistake.
The thread name should be more searchable and contain Linux and maybe Nautilus.
I just saw it because it was recent.

Edited by Legion495
Added a sentence

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...