Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > alt.os.linux.mint > #43886

Re: Sharing Folders

From Bob Henson <bob.henson@outlook.com>
Newsgroups alt.os.linux.mint
Subject Re: Sharing Folders
Date 2025-01-23 09:33 +0000
Organization Home
Message-ID <lvegmpFnodpU1@mid.individual.net> (permalink)
References <lvcp4cFavvpU5@mid.individual.net> <vmrrfn$18692$1@dont-email.me>

Show all headers | View raw


On 22/1/25 10:29 pm, Paul wrote:
> On Wed, 1/22/2025 12:44 PM, Bob Henson wrote:
>> Having partially fixed my network I now need to share some Linux Mint 22.1 Mate folders with Windows 11. I can see my windows shares OK from the Linux laptop. I tried using Caja to share them and even installed caja-share which I read might help, but can find no share tab in the folder properties page. What do I need to do to share the folders?
>> 
>> Regards,
>> 
>> Bob
> 
> sudo apt install synaptic
> sudo apt install wsdd
> sudo apt install samba
> 
> ullwinkle@MINTMATE:/var/lib/samba$ ls -al
> total 1368
> drwxrwxrwx  6 root       root         4096 Jan 22 16:44 .
> drwxr-xr-x 71 root       root         4096 Jan 22 16:17 ..
> -rw-------  1 root       root       421888 Jan 22 16:44 account_policy.tdb
> -rw-------  1 root       root          696 Jan 22 16:44 group_mapping.tdb
> drwxr-xr-x 10 root       root         4096 Jan 22 16:44 printers
> drwxr-xr-x  2 root       root         4096 Jan 22 16:44 private
> -rw-------  1 root       root       528384 Jan 22 16:45 registry.tdb
> -rw-------  1 root       root       421888 Jan 22 16:45 share_info.tdb
> 
> drwxrwx--T  2 root       sambashare   4096 Jan 22 16:44 usershares    <=== made by the automation, complete with T flag
> 
> bullwinkle@MINTMATE:/var/lib/samba$ groups
> bullwinkle adm cdrom sudo dip plugdev users lpadmin sambashare <=== some earlier step did a groupadd
> bullwinkle@MINTMATE:/var/lib/samba$
> 
> Bullwinkle@MINTMATE:~/Downloads/share$ ls -al
> total 8
> drwxrwxrwx 2 bullwinkle bullwinkle 4096 Jan 22 16:38 .    <=== my share is smashed flat, but I'm getting
> drwxrwxrwx 3 bullwinkle bullwinkle 4096 Jan 22 16:38 ..        a permission error from Windows. I'm auto-logged
>                                                                 (because I clicked the allow Guest button) but
>                                                                 it could be that Windows does not like that mode.
> 
> I cleared the two option boxes in the share definition, so that
> Windows would be asked for a password. Password was NOT accepted,
> which means we have to resort to the secondary password system.
> 
> bullwinkle@MINTMATE:~/Downloads/share$ sudo smbpasswd -a bullwinkle
> [sudo] password for bullwinkle:
> New SMB password:
> Retype new SMB password:
> Added user bullwinkle.
> 
> And... I'm in. As in... exhausted :-)
> 
> *******
> 
> I looked at my notes now, to see how well I managed to discover
> all this crap again. I swore I would not be editing this file
> but I'll give you a flavour of this anyway. This may also require
> some systemd activity. Normally systemd would be smbd or nobd or
> something. I don't know where "wins" comes from.
> 
> workgroup = WORKGROUP   # /etc/samba/smb.conf
> server min protocol = NT1
> server max protocol = smb3
> client min protocol = NT1
> client max protocol = smb3
> ntlm auth = yes
> 
> wins support = yes        \
> local master = yes         \
> preferred master = yes     /
> 
> You may have to mess with that material, in the case of
> Win98 comms or WinXP comms, and wishing the Network Neighbourhood to work.
> 
> *******
> 
> Final config
> 
>     [Picture]
> 
>      https://i.postimg.cc/8CRh5hSX/LM221-M-Linux-SAMBA-share.gif
> 
That's all a tad technical for me, but I'll work my way through it. I've 
already installed synaptic and samba (why they are not included in the 
Mint installer beats me) - I'll add the other and work from there.

Thanks for the message.

-- 
Tetbury, Gloucestershirel, UK

The early bird may get the worm, but the second mouse gets the cheese.

Back to alt.os.linux.mint | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Sharing Folders Bob Henson <bob.henson@outlook.com> - 2025-01-22 17:44 +0000
  Re: Sharing Folders Paul <nospam@needed.invalid> - 2025-01-22 17:29 -0500
    Re: Sharing Folders Bob Henson <bob.henson@outlook.com> - 2025-01-23 09:33 +0000
      Re: Sharing Folders Edmund <nomail@hotmail.com> - 2025-01-23 11:19 +0100
        Re: Sharing Folders Bob Henson <bob.henson@outlook.com> - 2025-01-23 10:41 +0000
          Re: Sharing Folders Edmund <nomail@hotmail.com> - 2025-01-23 12:49 +0100
      Re: Sharing Folders "Alan K." <alan@invalid.com> - 2025-01-23 07:27 -0500
        Re: Sharing Folders Bob Henson <bob.henson@outlook.com> - 2025-01-23 13:50 +0000
          Re: Sharing Folders Paul <nospam@needed.invalid> - 2025-01-23 09:20 -0500
            Re: Sharing Folders Bob Henson <bob.henson@outlook.com> - 2025-01-23 14:59 +0000
      Re: Sharing Folders Gordon <Gordon@leaf.net.nz> - 2025-01-24 02:39 +0000
        Re: Sharing Folders Paul <nospam@needed.invalid> - 2025-01-24 00:46 -0500

csiph-web