How do I turn off the samba3 errors?

Aaron Solochek aarons-samba at aberrant.org
Thu Oct 27 07:54:51 MDT 2011


On 10/26/2011 08:52 PM, Andrew Bartlett wrote:
> On Wed, 2011-10-26 at 19:27 -0400, Aaron Solochek wrote:
>> There are some parameters in my smb.conf, such as "server role" that I need for
>> samba4, but are causing errors like this in my samba log, which grows to over a
>> hundred MB in only a couple of days:
>>
>> [2011/10/26 19:21:04,  0] ../source3/param/loadparm.c:7356(lp_do_parameter)
>>   Ignoring unknown parameter "server role"
>> [2011/10/26 19:21:04,  0] ../source3/param/loadparm.c:7356(lp_do_parameter)
>>   Ignoring unknown parameter "tls enabled"
>> [2011/10/26 19:21:04,  0] ../source3/param/loadparm.c:7356(lp_do_parameter)
>>   Ignoring unknown parameter "tls keyfile"
>> [2011/10/26 19:21:04,  0] ../source3/param/loadparm.c:7356(lp_do_parameter)
>>   Ignoring unknown parameter "tls certfile"
>>
>>
>> How do I prevent that crap from being logged?
> 
> Until we get the server role stuff in common (a TODO) the only think you
> can do is edit the code or use separate smb.conf files for samba3 and
> samba4.
> 
> Andrew Bartlett
> 

How do I specify the samba3 config file?  Or, is it possible to turn off samba3
completely?  I don't know what it's getting me, since I was using samba4 by
itself before the builds were combined.

-Aaron


More information about the samba-technical mailing list