[Samba] The wisdom - or otherwise - of replacing outright rather than merely appending to the example smb.conf file shipped with SAMBA during new server commissioning?

L.P.H. van Belle belle at bazuin.nl
Tue Apr 16 11:12:52 UTC 2019


Hai, 

There is nothing wrong with replacing the smb.conf files. 
So do you thing, just try to filter out the server type and its specific settings

For example, a AD-domain member smb.conf is NOT AD-DC compliant! 


Greetz, 

Louis


> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> Stephen via samba
> Verzonden: dinsdag 16 april 2019 12:40
> Aan: samba at lists.samba.org
> Onderwerp: [Samba] The wisdom - or otherwise - of replacing 
> outright rather than merely appending to the example smb.conf 
> file shipped with SAMBA during new server commissioning?
> 
> I have a general question regarding smb.conf and I was hoping 
> that some 
> of the rather more knowledgeable and experienced people here could 
> please comment please?
> 
> I am currently setting my various SAMBA systems up via some 
> shell-scripts. Within these scripts, I remove the stock 
> smb.conf shipped 
> with Samba and replace this with an empty smb.conf file to 
> which I add 
> my own configuration options afterwards. Obviously I COULD instead 
> simply append my changes to the existing file. However 
> currently i just 
> remove the existing smb.conf and start again with a blank 
> file because 
> the alternative seemed like more hassle!
> 
> Am I potentially risking the security of my systems by replacing the 
> stock smb.conf shipped with Samba in this way? Obviously doing what I 
> have just described will erase all the default configuration settings 
> shipped in the installation.
> Are any of the shipped default configuration parameters essential to 
> have from a security perspective? Am I doing something stupid here?
> 
> Thanks
> Stephen Ellwood
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 
> 




More information about the samba mailing list