Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #229647 > unrolled thread

Guest Samba shares

Started byPaul M Foster <paulf@quillandmouse.com>
First post2020-12-11 00:00 +0100
Last post2020-12-12 00:20 +0100
Articles 13 on this page of 33 — 10 participants

Back to article view | Back to linux.debian.user


Contents

  Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-11 00:00 +0100
    Re: Guest Samba shares deloptes <deloptes@gmail.com> - 2020-12-11 01:30 +0100
      Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-11 03:50 +0100
        Re: Guest Samba shares Stefan Monnier <monnier@iro.umontreal.ca> - 2020-12-11 04:20 +0100
          Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-11 04:50 +0100
          Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-11 05:50 +0100
            Re: Guest Samba shares john doe <johndoe65534@mail.com> - 2020-12-11 06:20 +0100
        Re: Guest Samba shares Keith Bainbridge <ke1thozgroups@gmx.com> - 2020-12-11 07:40 +0100
          Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-11 13:20 +0100
            [OT] Re: Guest Samba shares David <bouncingcats@gmail.com> - 2020-12-11 23:20 +0100
              Re: [OT] Re: Guest Samba shares Joe <joe@jretrading.com> - 2020-12-12 10:10 +0100
        Re: Guest Samba shares Andrei POPESCU <andreimpopescu@gmail.com> - 2020-12-11 10:20 +0100
          Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-11 13:30 +0100
            Re: Guest Samba shares Andrei POPESCU <andreimpopescu@gmail.com> - 2020-12-11 15:20 +0100
              Re: Guest Samba shares deloptes <deloptes@gmail.com> - 2020-12-11 16:20 +0100
                Re: Guest Samba shares "Andrew M.A. Cater" <amacater@einval.com> - 2020-12-11 18:20 +0100
                  Re: Guest Samba shares deloptes <deloptes@gmail.com> - 2020-12-11 20:30 +0100
                    Re: Guest Samba shares Keith Bainbridge <ke1thozgroups@gmx.com> - 2020-12-12 00:10 +0100
                      Re: Guest Samba shares Keith Bainbridge <ke1thozgroups@gmx.com> - 2020-12-12 00:20 +0100
                Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-11 19:20 +0100
                  Re: Guest Samba shares deloptes <deloptes@gmail.com> - 2020-12-11 20:20 +0100
                    Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-11 22:40 +0100
                      Re: Guest Samba shares Joe <joe@jretrading.com> - 2020-12-11 22:50 +0100
                        Re: Guest Samba shares Dan Ritter <dsr@randomstring.org> - 2020-12-11 23:00 +0100
                          Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-12 00:00 +0100
                            Re: Guest Samba shares Andrei POPESCU <andreimpopescu@gmail.com> - 2020-12-12 09:40 +0100
                      Re: Guest Samba shares Keith Bainbridge <ke1thozgroups@gmx.com> - 2020-12-12 00:50 +0100
                        Re: Guest Samba shares Dan Ritter <dsr@randomstring.org> - 2020-12-12 15:20 +0100
                          Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-12 17:50 +0100
                        Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-12 17:40 +0100
                          Re: Guest Samba shares Andrei POPESCU <andreimpopescu@gmail.com> - 2020-12-12 20:00 +0100
                      Re: Guest Samba shares deloptes <deloptes@gmail.com> - 2020-12-13 00:40 +0100
                  Re: Guest Samba shares Keith Bainbridge <ke1thozgroups@gmx.com> - 2020-12-12 00:20 +0100

Page 2 of 2 — ← Prev page 1 [2]


#229669

Fromdeloptes <deloptes@gmail.com>
Date2020-12-11 20:20 +0100
Message-ID<BkW7o-9s-1@gated-at.bofh.it>
In reply to#229668
Paul M Foster wrote:

> On Fri, Dec 11, 2020 at 04:14:15PM +0100, deloptes wrote:
>> 
>> There is too much level of complexity in this issue from what I read
>> already:
>> 
>> 1. it is RaspberryPI OS (based on debian but there is also dedicated list
>> where it could be answered more efficiently)
> 
> I have my doubts that there is an active RPi list on which such a
> question could be answered. But it is, after all, Samba, and you've
> already seen the smb.conf.
> 

I don't because I am subscribed there - it is hosted on
eternal-september.org. The group is comp.sys.raspberry-pi
It could be also another one somewhere else. I do not guarantee this is the
only one.

>> 2. The actual user plugging the external disk is paulf but disk mounts as
>> default user pi
> 
> Not true. The disk mounts automatically on startup. I don't manually
> mount this disk.
What happens if you unmount, unplug and plug again + restart samba 

> 
>> 3. Who knows how is exactly samba pre-configured
> 
> I already posted the smb.conf file.

I saw, but you never shared parts from the log file, hence we are looking in
the crystal ball here.
I mentioned I do not know about the guest permissions. I just remember that
there was something regarding mapping unknown users to nobody etc. Who
knows how it works in raspberry - they customize a lot there.
Respectively when I use the Samba as domain controller here it works
perfectly well including directories, printers and permissions.
Unfortunately I can't help with the guest OK. If you share relevant
portions from the log, somebody could come up with something more useful.

[toc] | [prev] | [next] | [standalone]


#229674

FromPaul M Foster <paulf@quillandmouse.com>
Date2020-12-11 22:40 +0100
Message-ID<BkYiS-1oI-3@gated-at.bofh.it>
In reply to#229669
On Fri, Dec 11, 2020 at 08:19:00PM +0100, deloptes wrote:

> Paul M Foster wrote:
> 
> > On Fri, Dec 11, 2020 at 04:14:15PM +0100, deloptes wrote:
> >> 
> >> There is too much level of complexity in this issue from what I read
> >> already:
> >> 
> >> 1. it is RaspberryPI OS (based on debian but there is also dedicated list
> >> where it could be answered more efficiently)
> > 
> > I have my doubts that there is an active RPi list on which such a
> > question could be answered. But it is, after all, Samba, and you've
> > already seen the smb.conf.
> > 
> 
> I don't because I am subscribed there - it is hosted on
> eternal-september.org. The group is comp.sys.raspberry-pi
> It could be also another one somewhere else. I do not guarantee this is the
> only one.

OMG. That's not an email list. It's a newsgroup. I didn't know anyone
used these anymore. I'll have to figure out how to even read/post there.
It's been decades since I had anything to do with newsgroups.

Anyway, thanks for the tip. I'll check it out.

[snip]

> 
> I saw, but you never shared parts from the log file, hence we are looking in
> the crystal ball here.
> I mentioned I do not know about the guest permissions. I just remember that
> there was something regarding mapping unknown users to nobody etc. Who
> knows how it works in raspberry - they customize a lot there.
> Respectively when I use the Samba as domain controller here it works
> perfectly well including directories, printers and permissions.
> Unfortunately I can't help with the guest OK. If you share relevant
> portions from the log, somebody could come up with something more useful.

I made various minor changes (like changing the mount to /music) and now
the problem appears to be resolved. As is sometimes the case, the
problem gets solved without you knowing how you solved it.

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

[toc] | [prev] | [next] | [standalone]


#229675

FromJoe <joe@jretrading.com>
Date2020-12-11 22:50 +0100
Message-ID<BkYsy-1sx-13@gated-at.bofh.it>
In reply to#229674
On Fri, 11 Dec 2020 16:34:24 -0500
Paul M Foster <paulf@quillandmouse.com> wrote:


> 
> OMG. That's not an email list. It's a newsgroup. I didn't know anyone
> used these anymore. I'll have to figure out how to even read/post
> there. It's been decades since I had anything to do with newsgroups.
> 

Claws-mail can do it, as can Thunderbird. Pan is a newsreader, but you
probably don't have that handy. 

These are the ones I know, there are many others. I'm not trying to
start a war here.

-- 
Joe

[toc] | [prev] | [next] | [standalone]


#229676

FromDan Ritter <dsr@randomstring.org>
Date2020-12-11 23:00 +0100
Message-ID<BkYCd-1vM-3@gated-at.bofh.it>
In reply to#229675
Joe wrote: 
> On Fri, 11 Dec 2020 16:34:24 -0500
> Paul M Foster <paulf@quillandmouse.com> wrote:
> 
> 
> > 
> > OMG. That's not an email list. It's a newsgroup. I didn't know anyone
> > used these anymore. I'll have to figure out how to even read/post
> > there. It's been decades since I had anything to do with newsgroups.
> > 
> 
> Claws-mail can do it, as can Thunderbird. Pan is a newsreader, but you
> probably don't have that handy. 
> 
> These are the ones I know, there are many others. I'm not trying to
> start a war here.

If you use mutt, slrn is particularly good.

If you don't use mutt, maybe you want to use slrn anyway.


-dsr-

[toc] | [prev] | [next] | [standalone]


#229680

FromPaul M Foster <paulf@quillandmouse.com>
Date2020-12-12 00:00 +0100
Message-ID<BkZyi-25C-3@gated-at.bofh.it>
In reply to#229676
On Fri, Dec 11, 2020 at 04:52:02PM -0500, Dan Ritter wrote:

> Joe wrote: 
> > On Fri, 11 Dec 2020 16:34:24 -0500
> > Paul M Foster <paulf@quillandmouse.com> wrote:
> > 
> > 
> > > 
> > > OMG. That's not an email list. It's a newsgroup. I didn't know anyone
> > > used these anymore. I'll have to figure out how to even read/post
> > > there. It's been decades since I had anything to do with newsgroups.
> > > 
> > 
> > Claws-mail can do it, as can Thunderbird. Pan is a newsreader, but you
> > probably don't have that handy. 
> > 
> > These are the ones I know, there are many others. I'm not trying to
> > start a war here.
> 
> If you use mutt, slrn is particularly good.
> 
> If you don't use mutt, maybe you want to use slrn anyway.
> 
> 
> -dsr-
> 

= grin =

I do use mutt, and have downloaded nn, trn4, tin and slrn to try them
out. I'll pay special attention to slrn. Thanks.

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

[toc] | [prev] | [next] | [standalone]


#229691

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2020-12-12 09:40 +0100
Message-ID<Bl8Bz-7MS-1@gated-at.bofh.it>
In reply to#229680

[Multipart message — attachments visible in raw view] — view raw

On Vi, 11 dec 20, 17:52:03, Paul M Foster wrote:
> 
> I do use mutt, and have downloaded nn, trn4, tin and slrn to try them
> out. I'll pay special attention to slrn. Thanks.

Neomutt has built-in NNTP support.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#229684

FromKeith Bainbridge <ke1thozgroups@gmx.com>
Date2020-12-12 00:50 +0100
Message-ID<Bl0kG-2Cv-3@gated-at.bofh.it>
In reply to#229674
On 12/12/20 8:34 am, Paul M Foster wrote:
> I made various minor changes (like changing the mount to /music) and now
> the problem appears to be resolved. As is sometimes the case, the
> problem gets solved without you knowing how you solved it.


Perhaps the restart of samba?   Or do you mean you re-named tthe mount
point on the mac?

Pleased it's solved.


For what it's worth, I drafted this last night but couldn't send it -
kicking self as I knew most of you would be active whilst I was asleep:

This article seems to confirm my thought that macOS supports sshfs:

https://igppwiki.ucsd.edu/plugins/servlet/mobile?contentId=6063930#content/view/6063930

I'm sure it does nfs if you prefer.

It's been ages since I used samba, but I recall that users needed a
smbpasswd set. I see you have no passwd, but I'm not sure that cuts it.

Another suggestion: try mounting the 'music' partition somewhere else on
your Pi, and maybe give it a userid and groupid at fstab. And maybe add
your wife to that group?

Anyhow, there are lots of other suggestions now, and you have it
working, so what the heck.

I just finished my morning coffee, it's Saturday and te sun is shining I
a clear sky. It can only get better. Ah, I've got only 3 family
birthdays between now and Christmas.

--
Keith Bainbridge

ke1thozgroups@gmx.com

[toc] | [prev] | [next] | [standalone]


#229703

FromDan Ritter <dsr@randomstring.org>
Date2020-12-12 15:20 +0100
Message-ID<BldUC-2Dv-5@gated-at.bofh.it>
In reply to#229684
Keith Bainbridge wrote: 
> On 12/12/20 8:34 am, Paul M Foster wrote:
> For what it's worth, I drafted this last night but couldn't send it -
> kicking self as I knew most of you would be active whilst I was asleep:
> 
> This article seems to confirm my thought that macOS supports sshfs:
> 
> https://igppwiki.ucsd.edu/plugins/servlet/mobile?contentId=6063930#content/view/6063930
> 
> I'm sure it does nfs if you prefer.

It also does Apple File Protocol, or whatever they're calling it these
days, which is well-supported in Debian with the netatalk
package. This is also the best way of getting a Mac to believe
your server is a Time Machine backup device.

-dsr-

[toc] | [prev] | [next] | [standalone]


#229709

FromPaul M Foster <paulf@quillandmouse.com>
Date2020-12-12 17:50 +0100
Message-ID<BlgfM-3Vo-9@gated-at.bofh.it>
In reply to#229703
On Sat, Dec 12, 2020 at 09:15:22AM -0500, Dan Ritter wrote:

> Keith Bainbridge wrote: 
> > On 12/12/20 8:34 am, Paul M Foster wrote:
> > For what it's worth, I drafted this last night but couldn't send it -
> > kicking self as I knew most of you would be active whilst I was asleep:
> > 
> > This article seems to confirm my thought that macOS supports sshfs:
> > 
> > https://igppwiki.ucsd.edu/plugins/servlet/mobile?contentId=6063930#content/view/6063930
> > 
> > I'm sure it does nfs if you prefer.
> 
> It also does Apple File Protocol, or whatever they're calling it these
> days, which is well-supported in Debian with the netatalk
> package. This is also the best way of getting a Mac to believe
> your server is a Time Machine backup device.
> 
> -dsr-
> 

I think it's called Bonjour on the Mac, and Netatalk on Linux. We used
it, but for unknown reasons, it would randomly break her connection with
the server. So now I'm trying Samba.

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

[toc] | [prev] | [next] | [standalone]


#229707

FromPaul M Foster <paulf@quillandmouse.com>
Date2020-12-12 17:40 +0100
Message-ID<Blg65-3S8-1@gated-at.bofh.it>
In reply to#229684
On Sat, Dec 12, 2020 at 10:45:01AM +1100, Keith Bainbridge wrote:

> On 12/12/20 8:34 am, Paul M Foster wrote:
> > I made various minor changes (like changing the mount to /music) and now
> > the problem appears to be resolved. As is sometimes the case, the
> > problem gets solved without you knowing how you solved it.
> 
> 
> Perhaps the restart of samba?   Or do you mean you re-named tthe mount
> point on the mac?
> 
> Pleased it's solved.
> 
> 
> For what it's worth, I drafted this last night but couldn't send it -
> kicking self as I knew most of you would be active whilst I was asleep:
> 
> This article seems to confirm my thought that macOS supports sshfs:
> 
> https://igppwiki.ucsd.edu/plugins/servlet/mobile?contentId=6063930#content/view/6063930
> 
> I'm sure it does nfs if you prefer.

As far as I know, there is no NFS in sight on the Mac. Dunno about
sshfs.

> 
> It's been ages since I used samba, but I recall that users needed a
> smbpasswd set. I see you have no passwd, but I'm not sure that cuts it.

My wife is connecting as a guest, which makes it easier on her. As she
would only be downloading mp3 files to play, she can be a "guest".

> 
> Another suggestion: try mounting the 'music' partition somewhere else on
> your Pi, and maybe give it a userid and groupid at fstab. And maybe add
> your wife to that group?

I changed the mount to /music, owned by root, but with 777 perms. As a
guest, samba won't permit her to write to the directory.

Paul


-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

[toc] | [prev] | [next] | [standalone]


#229714

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2020-12-12 20:00 +0100
Message-ID<BlihA-58L-9@gated-at.bofh.it>
In reply to#229707

[Multipart message — attachments visible in raw view] — view raw

On Sb, 12 dec 20, 11:39:26, Paul M Foster wrote:
> 
> I changed the mount to /music, owned by root, but with 777 perms. As a
> guest, samba won't permit her to write to the directory.

The permissions of the underlying directory are irrelevant, except to 
prevent regular users from writing by mistake to it if for some reason 
the filesystem to be mounted there is missing.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#229726

Fromdeloptes <deloptes@gmail.com>
Date2020-12-13 00:40 +0100
Message-ID<BlmEy-7T9-7@gated-at.bofh.it>
In reply to#229674
Paul M Foster wrote:

> OMG. That's not an email list. It's a newsgroup. I didn't know anyone
> used these anymore. I'll have to figure out how to even read/post there.
> It's been decades since I had anything to do with newsgroups.
> 
> Anyway, thanks for the tip. I'll check it out.
> 

you are posting here also to a newsgroup. You can get the mails in the
mailbox if you wish and answer - it is normal.

> [snip]
> 
>> 
[snip]
> 
> I made various minor changes (like changing the mount to /music) and now
> the problem appears to be resolved. As is sometimes the case, the
> problem gets solved without you knowing how you solved it.

Exactly what I recall that (might be udev) is using it mount under media.

Great that it worked.

[toc] | [prev] | [next] | [standalone]


#229683

FromKeith Bainbridge <ke1thozgroups@gmx.com>
Date2020-12-12 00:20 +0100
Message-ID<BkZRD-2s5-5@gated-at.bofh.it>
In reply to#229668
On 12/12/20 5:01 am, Paul M Foster wrote:
> I have my doubts that there is an active RPi list on which such a
> question could be answered. But it is, after all, Samba, and you've
> already seen the smb.conf.


Try here:

https://discourse.littlebird.com.au/

It is run by our local importer, and the tech people hopped in on 1
query I had.

--
Keith Bainbridge

ke1thozgroups@gmx.com

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | linux.debian.user


csiph-web