[Samba] Mysterious changes to smb.conf file

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Jul 1 23:03:30 MDT 2014


On Tue, Jul 01, 2014 at 09:11:37PM -0500, Steve Bergman wrote:
> Hi,
> 
> At 06:25AM yesterday morning (which was the time of the log file
> rotation) several of my shares became unavailable. In several places
> in the /etc/samba/smb.conf file, the following lines had been added,
> *outside* of the stanzas defining the shares.
> 
> available = no
> browsable = no
> public = no
> 
> I did not add these. smbd also restarted at that time. I'm still
> Googling for answers. But I wanted to ask here ASAP due to security
> considerations. This machine is not Internet-facing, but still I'm
> concerned.
> 
> -Steve Bergman
> 
> 
> ==========
> 
> I take it, then, that no one sees any obvious reason that:
> 
> available = no
> browsable = no
> public = no
> 
> should be inserted into several places in my smb.conf file without
> my doing it myself? Does smbd itself ever make changes to the
> smb.conf file? I've never observed it to. But this situation is a
> bit... odd.

No, smbd does not change smb.conf.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba mailing list