Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nmbd dumping into /var/log/messages instead of nmbd.log
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Fri Apr 27, 2018 2:23 am    Post subject: nmbd dumping into /var/log/messages instead of nmbd.log Reply with quote

This was working properly before updating samba. Thhe only log lines in /etc/samba/smb.conf are:
Code:
   log file = /var/log/samba/log.%m
   max log size = 50
/var/log/messages is filling up with junk like:
Code:
Apr 26 21:18:40 MSI nmbd[4462]: [2018/04/26 21:18:40.813664,  0] ../source3/nmbd/nmbd_namequery.c:109(query_name_response)
Apr 26 21:18:40 MSI nmbd[4462]:   query_name_response: Multiple (2) responses received for a query on subnet 192.168.0.104 for name GREENGABLES<1d>.
Apr 26 21:18:40 MSI nmbd[4462]:   This response was from IP 192.168.0.102, reporting an IP address of 192.168.0.102.
Repeated over and over.
GREENGABLES is the LAN name. samba-4.7.7
Back to top
View user's profile Send private message
gerdesj
l33t
l33t


Joined: 29 Sep 2005
Posts: 621
Location: Yeovil, Somerset, UK

PostPosted: Wed May 09, 2018 11:39 pm    Post subject: Re: nmbd dumping into /var/log/messages instead of nmbd.log Reply with quote

Do you have a line that states "logging = file"?

Anyway, we need to see the output of:

Code:

$ testparm -slv | grep log


testparm -slv shows you all settings that are in use including defaults and passing it through "grep log" helps cover today's conundrum.
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Tue May 15, 2018 11:51 pm    Post subject: Reply with quote

Reverted to 4.5.16 and all is well.

Sorry for the late reply. I've been out of town and just got back.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum