[Samba] User shares do not appear anymore

Gabriele Bulfon gbulfon at sonicle.com
Fri Jan 27 15:21:45 UTC 2023


Thanks, the update was available this morning and the problem was solved.
 
Gabriele
 
 
Sonicle S.r.l. : http://www.sonicle.com
Music: http://www.gabrielebulfon.com
eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets
 




----------------------------------------------------------------------------------

Da: Rowland Penny via samba <samba at lists.samba.org>
A: samba at lists.samba.org
Cc: Rowland Penny <rpenny at samba.org>
Data: 26 gennaio 2023 19.42.53 CET
Oggetto: Re: [Samba] User shares do not appear anymore

On 26/01/2023 17:44, Gabriele Bulfon via samba wrote:> Hi, I have an Ubuntu system with samba 4 that did work perfectly until this morning.> Normal shares in smb.conf appeared as always, while user shares included with %U did not anymore.> This is the global part of smb.conf:> >          security = user>          username map = /etc/samba/smbusers>          include = /etc/samba/smb.conf.%U>          include = /etc/samba/smb.conf.%m>   > There are then various smb.conf.[username] with custom shares for the user.> They always did work, but now they're completely ignored.> I find this in the log:>   > [2023/01/26 18:35:35.817936,  0] ../../source3/param/loadparm.c:3431(process_usershare_file)>    process_usershare_file: stat of /var/lib/samba/usershares/p failed. Permission denied>   > And /var/lib/samba/usershares is fine:> > drwxrwx--T 2 root sambashare 4096 Jan 26 16:44 usershares>   > And all the path to both usershares and the real user share dir has normal permissions, never changed.>   > No update to the system, nothing.> No user, no windows version, not even smbclient can list the user shares.>   > Can you help?> Gabriele>   > Sonicle S.r.l. : http://www.sonicle.com> Music: http://www.gabrielebulfon.com> eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets>   > This has been fixed in 4.17.5 (just released).See: https://bugzilla.samba.org/show_bug.cgi?id=15243It has been backported to 4.16 and presumably Ubuntu will back port it to their supported Samba versions (where relevant)Rowland-- To unsubscribe from this list go to the following URL and read theinstructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list