[Samba] can i send win popup msg from any computer in the same subnet ?

James.Q.L shijialeee at yahoo.com
Fri Oct 24 06:40:13 GMT 2003


Dear all,

i want to send windows popup message from a redhat 9.0 box in the same
subnet.
the receivers are on group of 'ECON'.
does this redhat machine have to be the samba server to send win msg ?

error i got is "Connection to econ02 failed"

econ02 is a XP pro machine and a popup service is running.

#nmblookup econ02 can resolve the correct ip.

querying econ02 on 130.63.230.255
130.63.230.42 econ02<00>
192.168.0.1 econ02<00>
192.168.61.1 econ02<00>

#nmblookup -M -- -
querying __MSBROWSE__ on 130.63.230.255
130.63.230.242 __MSBROWSE__<01>
130.63.230.132 __MSBROWSE__<01>
130.63.230.87 __MSBROWSE__<01>
130.63.230.90 __MSBROWSE__<01>


#echo 'hello' | /usr/local/samba/bin/smbclient -M econ02 -d 10   shows:


[2003/10/24 01:39:21, 5] lib/util.c:init_names(270)
  Netbios name list:-
  my_netbios_names[0]="DEV"
[2003/10/24 01:39:21, 3] client/client.c:main(2954)
  Client started (version 3.0.0).
[2003/10/24 01:39:21, 10] libsmb/namequery.c:internal_resolve_name(989)
  internal_resolve_name: looking up econ02#3
[2003/10/24 01:39:21, 5] lib/gencache.c:gencache_init(59)
  Opening cache file at /var/cache/samba/gencache.tdb
[2003/10/24 01:39:21, 10] lib/gencache.c:gencache_get(286)
  Cache entry with key = NBT/ECON02#03 couldn't be found
[2003/10/24 01:39:21, 5] libsmb/namecache.c:namecache_fetch(195)
  no entry for econ02#03 found.
[2003/10/24 01:39:21, 10] lib/gencache.c:gencache_del(214)
  Deleting cache entry (key = NBT/ECON02#03)
[2003/10/24 01:39:21, 3] libsmb/namequery.c:resolve_lmhosts(850)
  resolve_lmhosts: Attempting lmhosts lookup for name econ02<0x3>
[2003/10/24 01:39:21, 4] libsmb/namequery.c:getlmhostsent(598)
  getlmhostsent: lmhost entry: 127.0.0.1 localhost
[2003/10/24 01:39:21, 3] libsmb/namequery.c:resolve_wins(748)
  resolve_wins: Attempting wins lookup for name econ02<0x3>
[2003/10/24 01:39:21, 3] libsmb/namequery.c:resolve_wins(751)
  resolve_wins: WINS server resolution selected and no WINS servers listed.
[2003/10/24 01:39:21, 3] libsmb/namequery.c:name_resolve_bcast(690)
  name_resolve_bcast: Attempting broadcast lookup for name econ02<0x3>
[2003/10/24 01:39:21, 10] lib/util_sock.c:open_socket_in(655)
  bind succeeded on port 0
[2003/10/24 01:39:21, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_KEEPALIVE = 0
[2003/10/24 01:39:21, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_REUSEADDR = 1
[2003/10/24 01:39:21, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_BROADCAST = 1
[2003/10/24 01:39:21, 5] lib/util_sock.c:print_socket_options(103)
  Could not test socket option TCP_NODELAY.
[2003/10/24 01:39:21, 5] lib/util_sock.c:print_socket_options(105)
  socket option IPTOS_LOWDELAY = 0
[2003/10/24 01:39:21, 5] lib/util_sock.c:print_socket_options(105)
  socket option IPTOS_THROUGHPUT = 0
[2003/10/24 01:39:21, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_SNDBUF = 65535
[2003/10/24 01:39:21, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_RCVBUF = 65535
[2003/10/24 01:39:21, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_SNDLOWAT = 1
[2003/10/24 01:39:21, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_RCVLOWAT = 1
[2003/10/24 01:39:21, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_SNDTIMEO = 0
[2003/10/24 01:39:21, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_RCVTIMEO = 0
[2003/10/24 01:39:21, 5] libsmb/nmblib.c:send_udp(744)
  Sending a packet of len 50 to (130.63.230.255) on port 137
[2003/10/24 01:39:22, 5] libsmb/nmblib.c:send_udp(744)
  Sending a packet of len 50 to (130.63.230.255) on port 137
[2003/10/24 01:39:22, 5] libsmb/nmblib.c:send_udp(744)
  Sending a packet of len 50 to (130.63.230.255) on port 137
[2003/10/24 01:39:22, 10] intl/lang_tdb.c:lang_tdb_init(135)
Connection to econ02 failed


what should i look into here ?


Many Thanks!


Qiang


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com



More information about the samba mailing list