Friday, September 29, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  4] [ 0]  / answers: 1 / hits: 8291  / 2 Years ago, sun, october 10, 2021, 10:48:01

First of all, i wanna quickly say, that i have no experience with linux or their cmds so it is okay to tell me stuff like i am stupid. cause i am.

So, i have a problem with my linux project i am currently working on.

At the moment, i have a pc with ubuntu linux server 20.04, a pc with ubuntu desktop and a windows 10, and i need to sambashare from the server to the windows and ubuntu machines, so each user has their designated folders with the right restrictions so only the right people can look in which folder.

I have indubitably done so with the windows pc, since all users have their folders, and the admins can see all folders, as specified in my project. The only problem is that i can't get access to the ubuntu server on the ubuntu desktop.

i've tried basically everything i could think of. not sure how to get on.

image of ubuntu server making an user

and yet, when i restart the nmbd and smbd, restart the client, i can't access the server to see the folders, all i get is:

image of ubuntu desktop error

so far i haven't been able to find someone with a solution to my problem, so any of you guys have an idea?

also forgot to include this, for those who wanted to see it, but i have set up the /etc/samba/smb.conf and for some of the users, it is basically this:

picture of samba conf file

More From » 20.04


So, i've found out that apparently when you have ubuntu 20.04 you can't just set up samba and ssh and just connect to your samba shares, but you need to implement a single line of code which is:

just below the workgroup = WORKGROUP tag, you have to write the code, server min protocol = NT1

after that, you have to restart the service with: sudo service smbd restart

Now i can access the folder, but i have yet to see my folders, but that is next step.

Good luck everyone

[#2472] Sunday, October 10, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 489
Total Questions: 107
Total Answers: 115

Location: Iraq
Member since Fri, Jun 5, 2020
3 Years ago