Path: bga.com!news.sprintlink.net!hookup!swrinde!cs.utexas.edu!uwm.edu!msuinfo!
harbinger.cc.monash.edu.au!newshost.anu.edu.au!newshost!tridge
From: tri...@cs.anu.edu.au (Andrew Tridgell)
Newsgroups: comp.protocols.smb
Subject: browsing support in Samba
Date: 13 Oct 1994 14:24:46 GMT
Organization: Australian National University
Lines: 18
Distribution: world
Message-ID: <TRIDGE.94Oct14002447@cs.anu.edu.au>
Reply-To: Andrew.Tridg...@anu.edu.au
NNTP-Posting-Host: 150.203.148.81

I've just released 1.8.00alpha4. This has browsing support, so you can
connect to a Samba service using the "browse" button in WfWg.

It doesn't appear to work with NT, and for all I know it only works on
my home network. It is very rough.

The smbclient program can also browse any WfWg, NT (or Samba!) machine
using the -L option. This is useful for knowing what shares are
available.

I plan to release 1.8.00 tomorrow sometime.

I would appreciate any feedback about any aspect of 1.8.00alpha4 before
then, if possible.

Thanks,

Andrew

Path: bga.com!news.sprintlink.net!hookup!news.kei.com!news.mathworks.com!
europa.eng.gtefsd.com!howland.reston.ans.net!swrinde!ihnp4.ucsd.edu!
network.ucsd.edu!coast!dnl
From: d...@coast.ucsd.edu (Dan Larsen)
Newsgroups: comp.protocols.smb,comp.os.ms-windows.networking.tcp-ip
Subject: Samba 1.8.xx browsing support
Date: 19 Oct 1994 18:17:09 GMT
Organization: Center for Coastal Studies, SIO
Lines: 23
Sender: d...@coast.ucsd.edu
Distribution: world
Message-ID: <383nr5$2qu@network.ucsd.edu>
References: <TRIDGE.94Oct15012212@cs.anu.edu.au>
NNTP-Posting-Host: coast.ucsd.edu

Does anyone know the entry I need to place in the system.ini
file to make a WFWG machine the browse master for a workgroup?

I can browse my SUN running Samba only by prompting it by 
entering //coast <return>. It doesn't show up automatically in the
list. I've looked at the debug logs and it says something about not finding
a browse master in the workgroup.

Also,
Has anyone successfully got printing to work on a SunOS 4.1.3 system?
I'm close, but not quite there yet, I'd like to see your smb.conf

Thanks, and kudos to Andrew for his fine work,
[============]..
.-===_ Dan Larsen | |____| |__\\. 
.' ./ \ d...@coast.ucsd.edu | | \__| |___/\\.
.' |\o ' (619)534-2210 (619)534-0300(fax) | | | | |--| |-\\.
.' |.#\ University of California, San Diego | | | | | | | |\\
\7 Scripps Institution of Oceanography | | | | | | | |||
~~ \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| |~(| | |~(| |)~~~~~~
~~~~~~ `~~~~~~~ Center for Coastal Studies ~~~~~~| |~~~~| |~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~((| |)~~(| |))~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Path: bga.com!news.sprintlink.net!howland.reston.ans.net!swrinde!ihnp4.ucsd.edu!
munnari.oz.au!newshost.anu.edu.au!dubhe.anu.edu.au!dubhe.anu.edu.au!tridge
From: tri...@cs.anu.edu.au (Andrew.Tridgell)
Newsgroups: comp.protocols.smb,comp.os.ms-windows.networking.tcp-ip
Subject: Re: Samba 1.8.xx browsing support
Date: 20 Oct 1994 05:34:55 GMT
Organization: Australian National University
Lines: 17
Distribution: world
Message-ID: <TRIDGE.94Oct20153455@ra.cs.anu.edu.au>
References: <TRIDGE.94Oct15012212@cs.anu.edu.au> <383nr5$2qu@network.ucsd.edu>
NNTP-Posting-Host: ra.anu.edu.au
In-reply-to: dnl@coast.ucsd.edu's message of 19 Oct 1994 18:17:09 GMT

Does anyone know the entry I need to place in the system.ini
file to make a WFWG machine the browse master for a workgroup?

I can browse my SUN running Samba only by prompting it by 
entering //coast <return>. It doesn't show up automatically in the
list. I've looked at the debug logs and it says something about not finding
a browse master in the workgroup.

Just export a share. WfWg will allow itself to be a browse master if
it has a share exported.

Andrew
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Andrew Tridgell Dept. of Computer Science
Andrew.Tridg...@anu.edu.au Australian National University (x5691)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Path: nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!psuvax1!
uwm.edu!cs.utexas.edu!swrinde!pipex!demon!nexor.co.uk!a.brown
Newsgroups: comp.protocols.smb
From: a.br...@nexor.co.uk (Andrew Brown)
Subject: NT Print Manager cannot connect to Printer
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Original-Sender: a.br...@nexor.co.uk
Date: Thu, 24 Nov 1994 15:18:06 +0000
Message-ID: <Pine.SUN.3.90.941124151511.16947A-100000@vulcan.nexor.co.uk>
Sender: use...@demon.co.uk
Lines: 19

tml@ole (Todd M. Lauinger x2410) writes:

> I get the following error when I try to connect to SAMBA printers
> on a Solaris 2.3 machine from Windows NT 3.1:
>
>     Could not connect to the printer: The printer name is invalid.

I get exactly the same problem.  If anyone finds out the answer to this 
I'd be most grateful to hear from them.


Regards,

- Andy

+-------------------------------------------------------------------------+
| Andrew Brown  Internet <a...@nexor.co.uk>  Telephone +44 115 952 0585    |
| PGP 2.6ui fingerprint: EC 80 9C 96 54 63 CC 97  FF 7D C5 69 0B 55 23 63 |
+-------------------------------------------------------------------------+

Newsgroups: comp.protocols.smb
Path: nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!psuvax1!
uwm.edu!news.moneng.mei.com!hookup!nic.hookup.net!metrics.com!daemon
From: beve...@datacube.com (Beverly Brown X3092)
Subject: Re: comp.protocols.smb digest: 94-11-26
Sender: mail...@metrics.com
Organization: None
Date: Mon, 28 Nov 1994 15:09:11 GMT
X-Gateway: mailnews_...@metrics.com
Message-ID: <Czzu1J.IJJ@metrics.com>
Lines: 42

>
>tml@ole (Todd M. Lauinger x2410) writes:
>
>> I get the following error when I try to connect to SAMBA printers
>> on a Solaris 2.3 machine from Windows NT 3.1:
>>
>>     Could not connect to the printer: The printer name is invalid.
>
>I get exactly the same problem.  If anyone finds out the answer to this 
>I'd be most grateful to hear from them.
>
>
>Regards,
>
>- Andy
>
>+-------------------------------------------------------------------------+
>| Andrew Brown  Internet <a...@nexor.co.uk>  Telephone +44 115 952 0585    |
>| PGP 2.6ui fingerprint: EC 80 9C 96 54 63 CC 97  FF 7D C5 69 0B 55 23 63 |
>+-------------------------------------------------------------------------+
>

This is what I found out about it. I posted it to the Samba mailing list
and got no response. This time I'm cc'ing it to Andrew.


I just installed 1.8.05 and was pleased to see that I can now browse my 
printers in print manager form NT 3.1. Unfortunatley, that's all I can do
with them. When I try to connect I get "Could not connect to the printer:
The printer name is invalid." After examing the log and the sources, I found 
that NT is trying to open 2 named pipes. /tmp/pipe/srvsvc and 
/tmp/pipe/spoolss. The open_file() function calls check_for_pipe() and 
returns an error. What gives? I thought named pipe operations were working 
now.

--
Beverly Brown					beve...@datacube.com  
Datacube Inc.					Phone:(508)777-4200 x3092
300 Rosewood Drive				Fax:  (508)750-0938
Danvers, MA 01923-4505				#include <std/disclaimer.h>

Path: bga.com!news.sprintlink.net!pipex!uunet!munnari.oz.au!newshost.anu.edu.au!
dubhe.anu.edu.au!dubhe.anu.edu.au!tridge
From: tri...@cs.anu.edu.au (Andrew.Tridgell)
Newsgroups: comp.protocols.smb
Subject: Re: mounting printers in NT print manager
Date: 13 Dec 1994 04:58:27 GMT
Organization: Australian National University
Lines: 32
Distribution: world
Message-ID: <TRIDGE.94Dec13155827@rana.cs.anu.edu.au>
References: <Czzu1J.IJJ@metrics.com>
Reply-To: Andrew.Tridg...@anu.edu.au
NNTP-Posting-Host: rana.anu.edu.au
In-reply-to: beverly@datacube.com's message of Mon, 28 Nov 1994 15:09:11 GMT

In article <Czzu1J....@metrics.com> beve...@datacube.com (Beverly Brown X3092) writes:
   I just installed 1.8.05 and was pleased to see that I can now browse my 
   printers in print manager form NT 3.1. Unfortunatley, that's all I can do
   with them. When I try to connect I get "Could not connect to the printer:
   The printer name is invalid." After examing the log and the sources, I found 
   that NT is trying to open 2 named pipes. /tmp/pipe/srvsvc and 
   /tmp/pipe/spoolss. The open_file() function calls check_for_pipe() and 
   returns an error. What gives? I thought named pipe operations were working 
   now.

On every named pipe operation NT tries to do the operation first by
operating on a special file /tmp/pipe/????. This only succeeds when
talking to other NT systems. When this fails it then reverts to the
documented IPC method of named pipes, which Samba supports. The same
things happens with WfWg.

The problem with the "could not connect to printer" is actually in the
IPC routines. NT called the DosGetPrintQInfo IPC with a uLevel of 0
and I don't know how to handle it. It's annoying to debug as when I
try to guess how to handle it NT 3.1 crashes completely.

If someone wants to have a go then grab 1.8.06alpha1 and try to tweak
the uLevel=0 routines to do the right thing. I have shoved this to the
bottom of my pile of things to do after wasting two hours continually
reboting my NT system (a slow process as it only has 8Mb of ram).

Andrew
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Andrew Tridgell                 Dept. of Computer Science
Andrew.Tridg...@anu.edu.au      Australian National University (x5691)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-