can't create Avahi share on Mint Mate 21 [SOLVED]

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
CliveMcCarthy
Level 3
Level 3
Posts: 156
Joined: Mon Jul 29, 2013 1:05 pm
Location: San Francisco
Contact:

can't create Avahi share on Mint Mate 21 [SOLVED]

Post by CliveMcCarthy »

I went through my normal sequence to create a network share that I have often used with Avahi on Mate 20.3 and it failed with Mate 21.0. Here is the error displayed:
Screenshot at 2022-08-08 08-07-41.png
The filename is fine, with no illegal characters.

As a side note, it seems that /etc/samba/smb.conf no longer likes
client min protocal = NT1
server min protocal = NT1

Which were fudge fixes to open up the share in 20.3 I have removed these.

How do I now make an Avahi share ?
Last edited by LockBot on Wed Feb 08, 2023 11:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
First program written in Algol for a KDF9 (just look up KDF9 on Wikipedia).
altair4
Level 20
Level 20
Posts: 11453
Joined: Tue Feb 03, 2009 10:27 am

Re: can't create Avahi share on Mint Mate 21

Post by altair4 »

It's a bug in MATE: https://github.com/mate-desktop/caja-ex ... issues/111

I recommend creating shares using samba directly: PART 2: Creating a Samba Share Using Samba Directly
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
CliveMcCarthy
Level 3
Level 3
Posts: 156
Joined: Mon Jul 29, 2013 1:05 pm
Location: San Francisco
Contact:

Re: can't create Avahi share on Mint Mate 21 [SOLVED]

Post by CliveMcCarthy »

Thank you Altair. You always rescue me ! :D

One of the reasons I gave up on Cinnamon 21 was I couldn't make an Avahi share.

The bug requiring:
client min protocal = NT1
server min protocal = NT1
is gone.

So now we have a new one !

Your note on setting up a shared folder slightly confused me because I didn't realize that the [Public] section delimiter was part of the naming for the share. Mine needed to look like this:

Code: Select all

[shared]
path = /home/clive/Desktop/shared
read only = no
force user = clive
guest ok = yes
First program written in Algol for a KDF9 (just look up KDF9 on Wikipedia).
altair4
Level 20
Level 20
Posts: 11453
Joined: Tue Feb 03, 2009 10:27 am

Re: can't create Avahi share on Mint Mate 21

Post by altair4 »

The share in the HowTo was an example but yes the [XXX] header would be the name of the share the client would access.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
CliveMcCarthy
Level 3
Level 3
Posts: 156
Joined: Mon Jul 29, 2013 1:05 pm
Location: San Francisco
Contact:

Re: can't create Avahi share on Mint Mate 21

Post by CliveMcCarthy »

It only slightly confused me. I thought Public was some kind of section reserved word.
First program written in Algol for a KDF9 (just look up KDF9 on Wikipedia).
RowlandP
Level 4
Level 4
Posts: 238
Joined: Tue Jan 26, 2021 7:30 am

Re: can't create Avahi share on Mint Mate 21

Post by RowlandP »

CliveMcCarthy wrote: Mon Aug 08, 2022 3:44 pm It only slightly confused me. I thought Public was some kind of section reserved word.
No, you can have a share called 'Public', I think you are confusing it with the synonym of 'guest ok' which is 'public', just to explain this:

Code: Select all

public = yes
And

Code: Select all

guest ok = yes
Both mean the same and allow guest access, provided that 'map to guest = bad user' is set in [global].

Samba still allows 'client min protocol = NT1' and 'server min protocol = NT1', though they both now default to 'SMB2' if not set. This may change from Samba 4.17.0 when you will be able to turn off SMBv1 at compile time.
Locked

Return to “Networking”