From owner-freebsd-questions Tue Aug 19 08:09:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA11939 for questions-outgoing; Tue, 19 Aug 1997 08:09:46 -0700 (PDT) Received: from axl.iafrica.com (root@axl.iafrica.com [196.31.1.167]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA11917 for ; Tue, 19 Aug 1997 08:09:21 -0700 (PDT) Received: from axl.iafrica.com (sheldonh@localhost [127.0.0.1]) by axl.iafrica.com (8.8.7/8.8.7) with ESMTP id RAA11833 for ; Tue, 19 Aug 1997 17:09:02 +0200 (SAT) X-Mailer: exmh version 2.0zeta 7/24/97 From: Sheldon Hearn To: questions@freebsd.org Subject: Samba & Workgroup WinPopups Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 19 Aug 1997 17:09:00 +0200 Message-ID: <11829.872003340@axl.iafrica.com> Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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