Setting Up and Sharing Files on the Network - Not fixed but solved  [Solved]

Message
Author
User avatar
FullScale4Me
Posts: 1167
Joined: Fri Jan 08, 2021 11:30 pm

Re: Setting Up and Sharing Files on the Network

#11 Post by FullScale4Me »

Falcon wrote: Sun Nov 19, 2023 1:37 pm Now I try to enter another network user to give them access:
Samba on Linux desktops has no concept of 'network' users.

So, the primary user of computer2 and computer3 also need a User Account on computer1 via MX User Manager.

They will then show up on the share tab as users that can be given permissions.
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10

User avatar
CharlesV
Administrator
Posts: 8101
Joined: Sun Jul 07, 2019 5:11 pm

Re: Setting Up and Sharing Files on the Network

#12 Post by CharlesV »

FullScale4Me wrote: Sun Nov 19, 2023 3:57 pm
Falcon wrote: Sun Nov 19, 2023 1:37 pm Now I try to enter another network user to give them access:
Samba on Linux desktops has no concept of 'network' users.

So, the primary user of computer2 and computer3 also need a User Account on computer1 via MX User Manager.

They will then show up on the share tab as users that can be given permissions.
That is not correct. Computer2 and computer 3 users ONLY need a valid login of a user on computer1 ( with share rights), to use the share.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
CharlesV
Administrator
Posts: 8101
Joined: Sun Jul 07, 2019 5:11 pm

Re: Setting Up and Sharing Files on the Network

#13 Post by CharlesV »

@Falcon If computer2 or computer3 browse computer1 - do they SEE network shares ? (

They should be able too, they ONLY need to login to USE or connect to that share.)
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
FullScale4Me
Posts: 1167
Joined: Fri Jan 08, 2021 11:30 pm

Re: Setting Up and Sharing Files on the Network

#14 Post by FullScale4Me »

CharlesV wrote: Sun Nov 19, 2023 4:13 pm
FullScale4Me wrote: Sun Nov 19, 2023 3:57 pm
Falcon wrote: Sun Nov 19, 2023 1:37 pm Now I try to enter another network user to give them access:
Samba on Linux desktops has no concept of 'network' users.

So, the primary user of computer2 and computer3 also need a User Account on computer1 via MX User Manager.

They will then show up on the share tab as users that can be given permissions.
That is not correct. Computer2 and computer 3 users ONLY need a valid login of a user on computer1 ( with share rights), to use the share.
Yes, in the case of giving these other users identical rights as computer1's primary user. The remote users would then have knowledge of computer1's primary user password.

To give the computer2 and computer3 users LESS rights (Read Only) would require a second ID.

In the F100 Corp IT world sharing passwords is a big no no. A grounds for termination offense at some. Me having spent 25+ years living in such culture advocating differently never comes to mind....
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10

User avatar
CharlesV
Administrator
Posts: 8101
Joined: Sun Jul 07, 2019 5:11 pm

Re: Setting Up and Sharing Files on the Network

#15 Post by CharlesV »

I am not talking about 'sharing passwords'... nor is there anything in this thread that is talking about 'lessor rights'.

The fact is, that this statement is not correct. THAT is not how samba works.
So, the primary user of computer2 and computer3 also need a User Account on computer1 via MX User Manager.
And that has nothing to do with "25+ years in that culture" . A single created user, which would be used to share files is a totally normal method of doing this. ( F100 or not! ) And having other machines, connect as such is and has never been a 'security' issue. ( And when we talk about HOME environments, there is no reason to adhere to super strict, corporate security measures. There ARE other security measures.)
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
CharlesV
Administrator
Posts: 8101
Joined: Sun Jul 07, 2019 5:11 pm

Re: Setting Up and Sharing Files on the Network

#16 Post by CharlesV »

@Falcon try restarting samba from a CLI and watch for errors. (It sounds to me like samba is not running on computer1 )

Code: Select all

sudo service smbd restart

*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
Falcon
Posts: 478
Joined: Mon Apr 22, 2019 9:34 pm

Re: Setting Up and Sharing Files on the Network

#17 Post by Falcon »

Guys,
Sorry that it's taken me so long to reply. I didn't notice that it had gone to a second page.

Concerning computer #1, if I browse the network on computer #2 or computer #3, computer #1 does not appear. Both computer #2 and computer #3 show up, but computer #1 does not.

Also, as I showed in Post #10, above, when I try to share the folder on computer #1, with computer #2 or #3, an error is generated stating that the user name is not valid, even though when I browse the network on computer #1, both of them appear in the list.

User avatar
Falcon
Posts: 478
Joined: Mon Apr 22, 2019 9:34 pm

Re: Setting Up and Sharing Files on the Network

#18 Post by Falcon »

MX Samba Config states that Samba is running.

Here is the output of the sudo service command.

Code: Select all

warthog@mx:~
$ sudo service smbd restart
[sudo] password for warthog: 
Stopping SMB/CIFS daemon: smbd.
Starting SMB/CIFS daemon: smbd.
warthog@mx:~

User avatar
CharlesV
Administrator
Posts: 8101
Joined: Sun Jul 07, 2019 5:11 pm

Re: Setting Up and Sharing Files on the Network

#19 Post by CharlesV »

Perfect, and on computer1 disable the firewall for a test. (make sure all three profiles are off! )
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
Falcon
Posts: 478
Joined: Mon Apr 22, 2019 9:34 pm

Re: Setting Up and Sharing Files on the Network

#20 Post by Falcon »

Which "profiles" are you referring to. I just want to be sure that I do this right.

Locked

Return to “Software / Configuration”