Zeros Subs

DAMN samba cache

Aug 12
DAMN samba cache

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:

This is a captcha-picture. It is used to prevent mass-access by robots.

Please enter the characters from the image above. (case insensitive)

Comments, Trackbacks, Pingbacks:

Comment from: Alexander Voß [Visitor] Email
Thanks!
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
PermalinkPermalink 2007-11-05 @ 11:40
Comment from: valshare [Visitor] Email
Hi,

helps me too. Thanx for the hint.

Regards,

Valshare
PermalinkPermalink 2008-12-26 @ 12:06

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))
This is a captcha-picture. It is used to prevent mass-access by robots.

Please enter the characters from the image above. (case insensitive)

Wer ist online?

  • Gäste: 2

Sonstiges