This Server will die !!
Please link to this URL instead:
http://config.zerosub.de/index.php/Samba_Cache
After having changed the ip address of my NIC, i constantly (every 15 minutes) had an error in /var/log/messages
from nmbd:
nmbd/nmbd_browsesync.c:get_domain_master_name_node_status_fail(488)
Aug 12 14:01:55 zerosub nmbd[27437]: get_domain_master_name_node_status_fail:
Aug 12 14:01:55 zerosub nmbd[27437]: Doing a node status request to the domain master browser at IP 192.168.5.1 failed.
Aug 12 14:01:55 zerosub nmbd[27437]: Cannot get workgroup name.
The strange thing was:
there were no settings in smb.conf or anywhere in /etc/ for this IP anymore.
After debugging the whole process i finally found a solution:
shut down samba (usually /etc/init.d/smb stop)
if nmb is not shut down by this command do it manually (/etc/init.d/nmb stop)
do
grep -sIR "192.168.5.1" /var/cache/samba/
usually , the problem is that there are entrys left in
/var/cache/samba/wins.dat
/var/cache/samba/namelist.debug
erase those entrys , but be careful to not mess the syntax of the rest of the entrys.
After restarting SAMBA , the stupid messages should be gone.
Trackback address for this post:
Comments, Trackbacks, Pingbacks:
This helped me a lot. Only thing to look out for: If you are using Debian the file is located at
/var/lib/samba
I simply moved the file away, touched a new one and everything is working fine again ^^
Thanks again,
Alexander
helps me too. Thanx for the hint.
Regards,
Valshare