1. Subscriptions
  2. Services
  3. Hardware
  4. Support

ClearFoundation

Forums
Welcome, Guest
Log file filling with nss_wins messages with 5.2
(1 viewing) 1 Guest
Go to bottomPage: 1
TOPIC: Log file filling with nss_wins messages with 5.2
#15331
Log file filling with nss_wins messages with 5.2 1 Year, 6 Months ago  
Hi,

I upgraded to 5.2 at the weekend and since then I have noticed the following in /ver/log/messages:
Code:

Aug  4 11:36:10 server nss_wins[5322]: awakened at Wed 04 Aug 2010 11:36:10 AM BST 
Aug  4 11:36:15 server nss_wins[5322]: sleeping at Wed 04 Aug 2010 11:36:15 AM BST for 60 seconds


I'm getting these (as it implies) every 60 seconds. My weekly log file is already 5 times greater than a week's old log file. Is there any reason for this or anything I can do?

Samba is set up for simple file sharing on a home workgroup (and also via a VPN using remote-announce)

Nick
Nick Howitt
Platinum Boarder
Posts: 2380
graphgraph
User Online Now Click here to see the profile of this user
Last Edit: 2010/08/12 13:48 By NickH.Reason: Solved
The administrator has disabled public write access.
 
#15369
Re:Log file filling with nss_wins messages with 5.2 1 Year, 6 Months ago  
Hi Nick,

Have you integrated WINS authentication on your ClearOS system?
Peter Baldwin
Developer
Posts: 978
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#15377
Re:Log file filling with nss_wins messages with 5.2 1 Year, 6 Months ago  
If you mean is WINS Support enabled, yes it is. If you don't mean that, can you please elaborate?
Nick Howitt
Platinum Boarder
Posts: 2380
graphgraph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#15378
Re:Log file filling with nss_wins messages with 5.2 1 Year, 6 Months ago  
Hi Nick,

You can store username/password information in a bunch of different places. In the old days, ClarkConnect used the standard /etc/passwd, /etc/shadow, /etc/group, etc files. As you know, ClearOS uses LDAP for username/password information these days. There's a module on the system called nss_ldap that manages this LDAP username/password magic. For example, if you run:

ls -al /home

The username and group information that you see is coming from LDAP via the nss_ldap provider.

You can also store username/password information in the Windows/Samba world too (e.g. a remote Windows Server). The nss_wins provider handles but it is not enabled on ClearOS.
Peter Baldwin
Developer
Posts: 978
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#15383
Re:Log file filling with nss_wins messages with 5.2 1 Year, 6 Months ago  
Hi Peter,

I think I follow. I don't think I have done anything to allow connection to a remote windows server. I've turned off "remote anounce" and "remote browser sync" as they did not appear to achieve anything anyway, but it makes no difference.

Is there anything I can check?

Nick
Nick Howitt
Platinum Boarder
Posts: 2380
graphgraph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#15498
Re:Log file filling with nss_wins messages with 5.2 1 Year, 6 Months ago  
Have you made any changes to the web proxy (NTLM authentication)? Windows, WINS and Samba are out of my league. I know enough to be dangerous, but I don't know nearly enough to be helpful beyond the basics.
Peter Baldwin
Developer
Posts: 978
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#15523
Re:Log file filling with nss_wins messages with 5.2 1 Year, 6 Months ago  
I did make some changes to the Win7 registry try to get round an automatic login issue when the PC started, but I reversed the changes when they did nothing. The registry changes I tried were done about a month ago and were along the lines of disabling NTLMv2 authentication. This change to the log file only happened when I upgraded ClearOS. a week ago. The log file finished 10x bigger than it used to!
Nick Howitt
Platinum Boarder
Posts: 2380
graphgraph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#15606
Re:Log file filling with nss_wins messages with 5.2 1 Year, 6 Months ago  
I've compared my smb.conf with the one I have on a VM which is pretty much a clean installation which started as CC5.0. My production box started as CC4.3. The files are much the same apart from the VM one points to the production one as the WINS server and the following lines in the production box:
Code:

log file = /var/log/samba/%m
hosts allow = 127.0.0.0/24 192.168.2.0/24 192.168.3.0/24 192.168.10.0/24 192.168.20.0/24 10.8.0.0/24
socket options = IPTOS_THROUGHPUT TCP_NODELAY IPTOS_LOWDELAY
include = /etc/samba/smb.nick.conf


/etc/samba/smb.nick.conf just contains 3 share definitions.

I don't think there is anything relevant in the above and the VM smb.conf has never been hand edited, so I don't see any obvious configuration problem.

I think the Win7 thing of mine is a red herring as I get the messages in the log 24/7, even when the Win7 box is off.

I am puzzled!
Nick Howitt
Platinum Boarder
Posts: 2380
graphgraph
User Online Now Click here to see the profile of this user
Last Edit: 2010/08/10 16:52 By NickH.
The administrator has disabled public write access.
 
#15686
[Solved] Log file filling with nss_wins messages 1 Year, 6 Months ago  
I've found the solution - restart fetchmail! I found another bug report here. My solution may not be permanent but I do not plan to restart the server any time soon.
Nick Howitt
Platinum Boarder
Posts: 2380
graphgraph
User Online Now Click here to see the profile of this user
Last Edit: 2010/08/12 13:46 By NickH.
The administrator has disabled public write access.
 
Go to topPage: 1
  get the latest posts directly to your desktop
Notice
  • The administrator has disabled public write access.
  • Only logged-in/registered users are allowed to contribute to the forum.