Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 1997 17:09:00 +0200
From:      Sheldon Hearn <axl@iafrica.com>
To:        questions@freebsd.org
Subject:   Samba & Workgroup WinPopups
Message-ID:  <11829.872003340@axl.iafrica.com>

next in thread | raw e-mail | index | archive | help

Disclaimer:

One can't expect sucky blowz pushovers to speak to BSD boxen properly.
So one does one's best to have the BSD boxen patronize the blowz
pushovers in a language the blowz pushovers can understand.

End of disclaimer. Now the question...

I'm trying to get my Samba-enabled (crippled?) FreeBSD 2.2-STABLE box 
to "listen" for Winpopup messages sent to the local netbios workgroup.

I've configured my inetd to launch smbd (wrapped by tcpd) to respond to
tcp connections to port 139 (service netbios-ssn). This seems to work
well and I'm able to receive WinPopup messages directed at my box.

However, from what I can see, Winpopups sent to an entire workgroup are
different. My experimentation with tcpdump indicates that these are
broadcast using a UDP service referred to in /etc/services as
netbios-dgm (port 138).

Of course, this is where I had to start guessing as the Microsoft
networking doumentation our NT administrator is detail-free (the price
of being easy-to-read).

I added this line to /etc/inetd.conf:

netbios-dgm dgram udp wait nobody /usr/local/libexec/tcpd /usr/local/sbin/smbd

Needless to say, this didn't work. However, when I tried to work out 
why, I realized I don't have a clue what I'm doing as I can't even work 
out where to start debugging. *duh*

So what I really want is for someone to say something like:

1) There's no canned solution, you can't receive Winpopups sent to your 
   Workgroup.

2) Have you tried doing foo / you've forgotten to do blah ?

3) Read the following docs.

A nudge would be greatly appreciated.

Regards,
Sheldon.

-- 
Sheldon Hearn                                   http://axl.iafrica.com/
Training Officer                                        +XX-XX-XXX-XXXX
UUNET Internet Africa			    http://iafrica.com/iafrica/
National Dial Support Centre				+XX-XX-XXX-XXXX





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11829.872003340>