[Samba] SWAT connecting to wrong IP

Jules Colding jules at tdcadsl.dk
Wed Apr 21 06:13:50 GMT 2004


Hi,

I am having a problem with swat. Everything works, except the status
page. Looking in the swat log it says:

############### START #################

[2004/04/21 08:08:32, 5] lib/gencache.c:gencache_init(59)
  Opening cache file at /var/cache/samba/gencache.tdb
[2004/04/21 08:08:32, 5] tdb/tdbutil.c:tdb_log(724)
  tdb(unnamed): tdb_brlock failed (fd=7) at offset 4 rw_type=1 lck_type=13: Resource temporarily unavailable
[2004/04/21 08:08:32, 10] lib/gencache.c:gencache_get(264)
  Returning valid cache entry: key = NBT/LINUX-1#20, value = 10.0.0.1:0,192.168.1.19:0, timeout = Wed Apr 21 08:17:45 2004
   
[2004/04/21 08:08:32, 5] libsmb/namecache.c:namecache_fetch(201)
  name LINUX-1#20 found.
[2004/04/21 08:08:32, 3] lib/util_sock.c:open_socket_out(710)
  Connecting to 10.0.0.1 at port 445

############### END #################

Now, 10.0.0.1 does not even exist in our subnet which is 192.168.1.*.
There was once a time where our subnet for a brief period of time was
10.0.0.* but not anymore. 

Which cache file do I have to delete to make swat forget the 10.0.0.1
address?


Thanks in advance,
  jules



More information about the samba mailing list