[Samba] Win2k/WinXP and Samba Instant Messaging

Tinus Kotzé 13596128 at sun.ac.za
Tue Sep 3 12:21:01 GMT 2002


I am running Debian on a LAN. I am trying to send popup messages(Winpopup 
protocol) but just get the same error over and over. We have a 
WinXP machine named "Mindelessdemon"(He is actually a very nice guy, don't get 
foolled by the demon stuff),
a Win2k machine called "Whitehead" and a 
win98 machine called "Wyrm". 

I cant connect to the WinXP or Win2k machine with the messages, but I can 
connect to the Win98 machine. The programs they are running is the 
same(RealPopup 2.3 Build 047, compatible with WinPopup and therefore linux) 
and I got it to work right at the beginning, but I seemed to have changed 
something somewhere. I am still learning the inns and outs of linux. 

My machine info
samba 2.999+3.0cvs20020827-1
Debian Unstable(up to date as in current dist)
Linpopup to interface with smbclient for receaving/sending message

Here is the ourput.
****************************************************
** Here I can see him and connect
****************************************************
jmak:/home/jmak# smbclient -L mindlessdemon
added interface ip=146.232.176.120 bcast=146.232.179.255 nmask=255.255.252.0
added interface ip=172.16.136.1 bcast=172.16.136.255 nmask=255.255.255.0
added interface ip=172.16.30.1 bcast=172.16.30.255 nmask=255.255.255.0
Got a positive name query response from 146.232.176.11 ( 146.232.176.11 )
Password:
Doing spnego session setup (blob length=16)
OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Sharename      Type      Comment
        ---------      ----      -------
        IPC$           IPC       Remote IPC
        D$             Disk      Default share
        ADMIN$         Disk      Remote Admin
        C$             Disk      Default share

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
****************************************************
*** Now I try to send a message, but get my console back with an error
****************************************************
jmak:/home/jmak# smbclient -M mindlessdemon
added interface ip=146.232.176.120 bcast=146.232.179.255 nmask=255.255.252.0
added interface ip=172.16.136.1 bcast=172.16.136.255 nmask=255.255.255.0
added interface ip=172.16.30.1 bcast=172.16.30.255 nmask=255.255.255.0
Got a positive name query response from 146.232.176.11 ( 146.232.176.11 )
read_socket_with_timeout: timeout read. read error = Connection reset by peer.
message start: SUCCESS - 0
****************************************************
*** I do the same I did to mindlessdemon, but since I don't 
*** know the password I cant browse his shares. It still seems 
*** I can connect to him and get information from his network.
****************************************************
jmak:/home/jmak# smbclient -L whitehead
added interface ip=146.232.176.120 bcast=146.232.179.255 nmask=255.255.252.0
added interface ip=172.16.136.1 bcast=172.16.136.255 nmask=255.255.255.0
added interface ip=172.16.30.1 bcast=172.16.30.255 nmask=255.255.255.0
Got a positive name query response from 146.232.176.10 ( 146.232.176.10 )
Password:
Doing spnego session setup (blob length=16)
Anonymous login successful
Domain=[MAJUBA] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

        Sharename      Type      Comment
        ---------      ----      -------
Error returning browse list: NT_STATUS_ACCESS_DENIED

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
****************************************************
*** Once again I get problems sending messages.
****************************************************
jmak:/home/jmak# smbclient -M whitehead
added interface ip=146.232.176.120 bcast=146.232.179.255 nmask=255.255.252.0
added interface ip=172.16.136.1 bcast=172.16.136.255 nmask=255.255.255.0
added interface ip=172.16.30.1 bcast=172.16.30.255 nmask=255.255.255.0
Got a positive name query response from 146.232.176.10 ( 146.232.176.10 )
read_socket_with_timeout: timeout read. read error = Connection reset by peer.
message start: SUCCESS - 0
****************************************************
*** Looking at the 98 machine, everything works fine and 
*** message is sent and * received at the other end
****************************************************
jmak:/home/jmak# smbclient -L wyrm
added interface ip=146.232.176.120 bcast=146.232.179.255 nmask=255.255.252.0
added interface ip=172.16.136.1 bcast=172.16.136.255 nmask=255.255.255.0
added interface ip=172.16.30.1 bcast=172.16.30.255 nmask=255.255.255.0
Got a positive name query response from 146.232.176.190 ( 146.232.176.190 )

error connecting to 146.232.176.190:445 (Connection refused)
Password:

        Sharename      Type      Comment
        ---------      ----      -------
        IPC$           IPC       Remote Inter Process Communication

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
jmak:/home/jmak# smbclient -M wyrm
added interface ip=146.232.176.120 bcast=146.232.179.255 nmask=255.255.252.0
added interface ip=172.16.136.1 bcast=172.16.136.255 nmask=255.255.255.0
added interface ip=172.16.30.1 bcast=172.16.30.255 nmask=255.255.255.0
Got a positive name query response from 146.232.176.190 ( 146.232.176.190 )
error connecting to 146.232.176.190:445 (Connection refused)
Connected. Type your message, ending it with a Control-D
Test, please ignore
sent 21 bytes
jmak:/home/jmak#



More information about the samba mailing list