[Samba] Weird usershares attempted use

Jeremy Allison jra at samba.org
Tue Feb 18 17:22:52 UTC 2025


On Mon, Feb 17, 2025 at 07:19:37PM +0000, Rowland Penny via samba wrote:
>On Mon, 17 Feb 2025 19:02:11 +0000
>Stephen Brandli <steve at brandli.com> wrote:
>
>> Okay, I added that and the errors stopped.  I was hoping that this
>> was a symptom of my bigger problems, but it wasn't.
>>
>> 	Steve
>
>
>Sometime between Samba 4.6.5 and 4.7.6 the default for 'usershare max
>shares' was changed from '0' to '100' and as the debug level is to '0',
>it appears that any request for a usershare to a server that isn't
>using usershares will get that error messages.

In master, I get:

$ bin/testparm -s -v 2>&1 |grep "usershare max shares"
	usershare max shares = 0


Did this get changed in a release and then changed back ?



More information about the samba mailing list