After having changed the ip address of my NIC, i constantly (every 15 minutes) had an error in /var/log/messages from nmbd:
Aug 12 14:01:55 nmbd: get_domain_master_name_node_status_fail:
Aug 12 14:01:55 nmbd: Doing a node status request to the domain master browser at IP 192.168.5.1 failed.
Aug 12 14:01:55 nmbd: 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
- 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.